2011年7月19日 星期二

dd command

dd if=VMware-VMvisorXXXX.dd of=dev/sdb bs=500MB

if=輸入來源 此為VMware DD檔案
of=輸出目的 此為我的隨身碟裝置
bs=同時設定 ibs, obs(in block size & out block size)

2011年7月15日 星期五

Use the wbemcli to check the IMM status on VMWare ESXi V4.1

http://sourceforge.net/projects/sblim/files/
download wbemcli:sblim-wbemcli-1.6.1.tar.bz2
and put copy it to your linux OS
unzip and install
# tar -xjvf sblim-wbemcli-1.6.1.tar.bz2
# cd sblim-wbemcli-1.6.1
# ./configure prifix=/usr
# make install
finish install and check it
#wbemcli --help
wbemcli: Invalid invocation syntax
usage:  wbemcli gc|gcd|dc|ec|ecn|gi|ci|mi|di|ei|ein|ain|ai|rin|ri|gp|sp|cm|cmx
                [-nl] [-dx] [-t] [-cte] [-h] [-v]
                [-noverify] [-cacert ] [-clientcert ] [-clientkey ]
                [-ac ] [-arc ] [-ar ] [-arr ]
                objectPath [prop=value,[...]] [props[,...]]

        example: wbemcli gi 'http://localhost:5988/root/cimv2:rpm_package.name="glibc"'

        Use man wbemcli for details


check CIM list command:
# wbemcli ecn -nl -noverify 'https://root:@:5989/root/cimv2'

check the IMM command :
# wbemcli ei -noverify 'https://root:password@xxx.xxx.xxx.xxx:5989/ibm/imm0/cimv2:CIM_SoftwareIdentity'

2011年7月7日 星期四

Xcode 學習筆記(二)iphone Application Developer(2009~2010 winter)

2.Objective-C and Foundation Framework (January 7,2010)

這個影片的前面字幕
時間軸非常不準
所以一開始的時候要好好練習一下自己的聽力
當然前面都是在提醒stanford的學生 有關選課確定要注意的事項
所以如果前面很無聊的請從 07:20 左右開始觀看影片即可!

所以學習的內容主要就是自己先看完完整的上課投影片
再來開始看影片 會比較容易

以下為我整理的筆記