gen tokens with apple script

 

set tokens to ""
tell application "System Events" to tell process "SofToken II"
	tell application "SofToken II" to activate
	delay 1
	keystroke "***"
	delay 1
	repeat 10 times
		keystroke return
		set token to the clipboard
		set tokens to tokens & "\r" & token
		delay 1
	end repeat
end tell

tokens

 

mac tips

  • 刷新DNS sudo dscacheutil -flushcache

  • 在终端中打开当前文件夹 open .

 

 

disable vmware compile each time

 

Set VSOCK_CONFED = "no" in /etc/vmware/config

via http://resalxh.wordpress.com/2010/09/09/vmware-player-3-1-1-on-ubuntu-10-10-maverick-meerkat/