日语生词

伴う(ともなう) 伺う(うかがう) 疑う(うたがう)
発展(はってん)
掲げる(かかげる)
道化(どうけ) おどける
竜巻(たつまき)
通常(つうじょう)
俗語(ぞくご)
妥当(だとう) 例え(たとえ)
不細工(ぶさいく)
苦手(にがて)
償い(つぐない) 尽(つ)くす 少ない(すくない)
奢る(おごる) 起こす(おこす)
浮気(うわき)
掴める(つかめる)
網(あみ)
出鱈目(でたらめ)
凍(こご)える
曾(かつ)て
偉(えら)がる
支(つか)え
絶(た)える 绝望(ぜつぼう) 希望(きぼう)
慰(なぐさ)める
殴(なぐ)る
語(かた)る
蛍(ほたる)
貪(むさぼ)る
妖(およずれ)
争(あらそ)う
逆(さか)らい
競(くら)
刺激(しげき)
あり得(え)る			- maybe
ならない			- 决不
教(おそ)わる
呆(あき)れる
いきなり
くわえる
やけに				- very
微(かす)かに			- slightly
お似合(おにあ)い		- fit you
さり気(げ)ない		- 若无其事
やり取(と)り			- 交谈
呼(び)戻(もど)す
何もかも			- totally
やすらぎ【安らぎ】		- peace
足(あし)を運(はこ)ぶ	- visit
束(つか)の間(ま)		- 一刹那
脆(もろ)い
役員の務(つ)める
劣(おと)る
食あたり
汚染(おせん)
汚(よご)れ
衛星(えいせい)
占(うらな)う
煙(けむり)
 
無駄			浪费,徒劳
自慢			自夸,自大,骄傲,得意
我慢			我慢,自高,傲慢;忍耐,忍受,容忍,自制;饶恕,原谅;将就,克服,让步;顽固
勝手(かって) 	任意;随便,为所欲为,只顾个人方便;专断;厨房;情况;生活;方便
怪我			伤,受伤,负伤,过错,过失;伤害
無茶			毫无道理,岂有此理『成』。胡乱,胡来,乱来,离谱,格外。(坏的)程度不寻常
左様			然様
 
人の分まで食べる。
いつまで追いかけるの?
海のよりもまだ深く。
 
子供が母親に甘える。
慣(な)れ親(した)しんで人懐(なつ)こくする。
あて处なく火をつけた昼花火。
 
文句言うなよ?
 
ほろよい
 
はなします
お話しします
 
弟は新しい靴を欲しがっている。
弟は新しい靴を欲しがらない。
 
その子供はジュースを飲みたがっていた。
その子供はジュースを飲みたがらない。
 
李さんはその本が欲しいらしい(ようだ・と言っています)。
 
いつも聞こえてた
いつも聞かせてくれてた
 
帰れない
帰らない
 
不思議なくらい
このままでは終らんぞ

refer to:
毛毛酱呀 riyu0122
https://www.zhihu.com/question/508707156/answer/2361329391

Garden Path Sentence Collection

Time flies like an arrow.
Fruit flies like a banana.

A: Time flies.
B: You can't. They go too fast.

The old man the boat.

With the right selections, future capital gains, helped by the power of compounding, can be very substantial indeed.

Investment is the art of the specific and selection is far more important than timing.

It is no mean achievement.
这不是平均业绩。

This book owes its existence to many people.
这本书的存在归功于许多人。

As it is tradition, I try limit changes of the host operating system to a minimum, but provide enough details, that even Linux rookies are able to participate.

I scream, you scream, everybody screams for ice cream.

I'm out of my mind, on the left side of my brain, nothing is right, on the right side of my brain, nothing is left.

The widely-shared meme at the top of this article not too subtly likens the uniforms to Pelikan erasers.

He only cried bitterly all day; and, when the long, dismal night came on, spread his little hands before his eyes to shut out the darkness, and crouching in the corner, tried to sleep: ever and anon waking with a start and tremble, and drawing himself closer and closer to the wall, as if to feel even its cold hard surface were a protection in the gloom and loneliness which surrounded him.

Tell you what, if I did have tits, I wouldn't mind letting someone have a go on them for a ride in a helicopter.

I've actually been looking forward to seeing this.

Yeah? You wanna come round to mine?

Mine is broken but I think that maybe I'll just watch it...

Excellent, that's settled! I'll get my PA to phone you with my name and address.

Well, what's good for the goose is good for the gander.

Terrible isn't it? Every year it gets worse.

I wonder when they will decide just to get it over with and kill us.

He's long gone, although Roy's got a man date with him.

You'd willingly spend time with Douglas?

I really have to see this film soon.

The regret of no recent separation was fresh in his mind; the absence of no loved and well-remembered face sank heavily into his heart.

A lot of people'd be confused as to why I invited them up, then asked them to leave. Not you.

A person needs a lot of backbone to allow to be ordered around like that.

That was the old me. This is the new me.

I should say that I have problems processing big news.

I mean, you don't wanna be stuck here for the rest of your life.

Physically You are not the sort of man I go for.

Does grapes even go with Pizza?

You guys will probably be glad to see the back of me.

Ten minutes in and you're already paid for yourself.

I will handle it.

Unless he's so angry that he does it out of spite.

I'm going to taint her abode. I'm going to strain my personal potatoes throughout her premises.

Wanley lived on the edge of poverty all his life.

The biggest adventure you can ever take is to live the life of your dreams.

Maybe it'd be a good idea if you two contributed to this. I think it would give you experience in writing a speech for a public figure.

In our line of work that would be handy. But you know what, Jen? I'm actually snowed under here.

We should totally write that speech! Offer to write the speech for Jen. She'll know something's up if I do it. She will say anything we tell her to. We can put any old bollocks in that speech, and she shall repeat it. It's going to be hilarious.

We don't want to sound too smug.

why don't we do something to raise money for people live Dave?

food and kindred products

what he felt was more akin to pity than love.

He comes of good kin.

In a skirmish between two factions.

refer to:
侃哥侃英语
留学云水间

bad security of vmware guest isolation from host

1. without administrative privilege, only using guest os user password, we can copy any file from guest to host by

#startup win7.vmx first.
vmrun.exe -gu guest_os_user_name -gp guest_os_user_password copyFileFromGuestToHost "E:\vmimg\win7\win7.vmx" c:\windows\system32\notepad.exe e:\notepad.exe

2. example about communication between guest and host using vmware backdoor routines:
https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/services/plugins/dndcp

refer to:
n0nick

start tiny web server with current folder as http root path

httpd.py

1
2
3
4
5
6
7
8
9
10
from http.server import HTTPServer, SimpleHTTPRequestHandler
 
handler = SimpleHTTPRequestHandler
handler.extensions_map.update({
	".js": "application/javascript",
})
 
server_address = ("", 8008)
server = HTTPServer(server_address, handler)
server.serve_forever()

how to run

1
python3 ./httpd.py

unknown filesystem type 'vmhgfs'

because vmhgfs-fuse is not built,

1
apt install libfuse-dev

before compiling open-vm-tools.

following is the autorun scripts, e.g. open-vm-tools are installed in /home/work/vmware/open-vm-tools/open-vm-tools/installed.

  • /etc/xdg/autostart/vmware-user.desktop

    1
    2
    3
    4
    5
    6
    
    [Desktop Entry]
    Type=Application
    Encoding=UTF-8
    Exec=/home/work/vmware/open-vm-tools/open-vm-tools/installed/bin/vmware-user-suid-wrapper
    Name=VMware User Agent
    X-KDE-autostart-phase=1
  • /etc/rc.local

    1
    2
    3
    4
    5
    6
    7
    
    #!/bin/bash
    (
    cd /home/work/vmware/open-vm-tools/open-vm-tools/installed/bin/
    LD_LIBRARY_PATH=`pwd`/../lib:$LD_LIBRARY_PATH ./vmtoolsd &
    ./vmhgfs-fuse /mnt/hgfs/
    ./vmware-user
    )
1
2
chmod +x /etc/rc.local
reboot

日语词尾总结

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
さ		表程度		高さ、深さ、长さ
み		表样态		楽しみ、弱み、重み、おかしみ
あた(当)り	per
ずつ		均摊
ごと(毎)
ごと(共)
あて(宛)	to
あま(余)り
おき(置)	每隔
かえる		very
かけ(掛)	刚开始、穿戴、顺便、付出、折扣、倍数、座位
かげん(加減)	恰好
がましい	like
がる		feel
ぐむ		长出、含有
き(気)		感觉、性质
け/げ(気)	样子、情况、感觉
ごし(越)	隔着、经过
ごし(腰)	态度、姿势
だらけ		full of
づき(付)
づめ(詰)	装满、拥挤、一直
ばむ		微有
ぶり/っぷり(振)	样子、情况,时间经过
ぶ(振)る	摆……架子
ぽい/っぽい	有……状态,有……倾向
まる		渐趋于某种状态
め(目)		表顺序
やか		表状态

refer to:
https://wenda.so.com/q/1389366964064632
今川日语

One principle not suit everywhere

When Dante enters Hell, Minos asks him, "Did Beatrice give you a smile when she came across you in the street?"

Dante replies, "No."

Minos shouts, "You're foolish, you and she are in two different parallel worlds, your zealousness is useless!"

Then Minos turns to Rhadamanthus, "Put the repairing task to him."

What's the task? For people in Nephalem hacked the message channel between Hell and Heaven, residents in Hell need a more secure channel reporting to Zeus.

Dante is very confident about the job, has done it in a week.

While Rhadamanthus runs through the source code Dante has just compiled and tested, Aeacus shakes his head violently, "Why do you not check the variables? You shouldn't call a memory operation function with null pointer parameters. Look here and there, so many 'free' routines you invoked didn't obey this law."

"Must check?" Dante says with contempt and looks to Rhadamanthus for a reply.

"Yes." replies Rhadamanthus without hesitation.

This drops Dante in a situation that he needs to check himself first. He returns to his computer and begins to google the libc specifications, but he stops, and appeals to Minos, "Boss, are they right?"

"Of course! Because it's too dangerous without check, are you intending to ruin the Hell?" as is the deciding vote from Minos.

git备忘录

1
2
3
4
5
6
7
8
git branch -a
git fetch
git checkout
git remote -v
git remote set-url origin https://github.com/euhat/EuhatExpert.git
git reset --soft HEAD^
git clean -xfd
git submodule update --init --recursive

copy and paste between vmware centos guest and host failed

some centos distribution has no open-vm-tools package, so we need to compile it by hand:

yum install libmspack-devel pam-devel xmlsec1-devel libXext-devel libXinerama-devel libXrender-devel libXrandr-devel libXtst-devel gtk3-devel gtkmm30-devel libtirpc-devel rpcgen libtool-devel

git clone https://github.com/vmware/open-vm-tools.git
cd open-vm-tools/open-vm-tools
autoreconf -i
./configure
make
make install

vmware-user

ps. how to enable auto-fitting with resolution

#install driver
yum install xorg-x11-drv-vmware
#add option to configure open-vm-tools
./configure --enable-resolutionkms
make
make install
#startup two vmtoolsds, one for vmusr, one for vmsvc which serves auto-resizing
vmware-user
vmtoolsd

refer to:
https://docs.vmware.com/en/VMware-Tools/11.3.0/com.vmware.vsphere.vmwaretools.doc/GUID-8B6EA5B7-453B-48AA-92E5-DB7F061341D1.html

mysql备忘录

密码问题

1
2
3
#/etc/my.cnf
[mysqld]
skip-grant-tables=1
1
2
FLUSH privileges;
ALTER USER 'root'@'localhost' IDENTIFIED BY 'admin@123';

重启

1
systemctl restart mysqld

com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
Could not create connection to database server. Attempted reconnect 3

https://www.cnblogs.com/ianhuafeng/p/12403626.html
https://zhuanlan.zhihu.com/p/632935077

Install MySql in Windows, download zip file from https://dev.mysql.com/downloads/windows/installer/5.7.html

mysqld --initialize --console
mysqld --install mysql
net stop mysql
mysqld --skip-grant-tables
	mysql -u root -p
		use mysql;
		select * from user;
		update user set authentication_string=password("123456") where user="root";
		flush privileges;
net start mysql

refer to:
https://www.cnblogs.com/huaisn/articles/14149356.html