http://wiki.osslab.org.tw/Hardware/Storage/Restore
How do we "copy" an entire virtual machine?
http://communities.vmware.com/thread/91685
http://vimeo.com/1698937?hd=1
2010年4月25日 星期日
2010年4月24日 星期六
2010年4月23日 星期五
Tunnelblick Configurations path
/Users/neil/Library/Application Support/Tunnelblick/Configurations
neilteki-MacBook-Pro:Configurations neil$
neilteki-MacBook-Pro:Configurations neil$
Updating the locate database in Mac OS X
One of my favorite commands in Unix is "locate". It's useful to help find files through terminal - fast! After freshly installing Leopard, I realised that the database for the command had not been built.
`/var/db/locate.database': No such file or directory
No problem. To fix this simply run the command:
sudo /usr/libexec/locate.updatedb
After a few minutes the database will be created, and you can continue using terminal efficiently.
2010年4月22日 星期四
在 Mac 中要如何使用 page up/down 呢??
A great tip submitted by Kev: A quicker page down and page up! This is especially faster on portables and the new wireless iMac keyboard where you have to press "Function - down arrow" or "Function - up arrow" as a page down/page up. It works in a lot of applications, as long as you are not currently in a text box (it doesn't work in Pages for that reason). I tried it in Mail, Safari, Firefox and Camino and it was all fine. To go down, you can simply hit "Space Bar" and you can go up with "Shift - Space Bar". It works very well and it is, nearly all the time, so much faster. I actually use it on my full size keyboard. Thanks for the tip Kev!
2010年4月21日 星期三
Exposé includes three separate features for organizing windows:
- The "All windows" feature shows all open and unhidden windows, shrinking their appearance so they all fit on a single screen. By default, this can be activated on older keyboards using the F9 key or by pressing F3 key on the newer Apple aluminum keyboards and the Macbook keyboard.
- The "Application windows" feature shows all open and unhidden windows for the currently active application. Again, the windows shrink to appear on the screen together, but generally they shrink less because there are fewer windows in a single application compared to the system as a whole. During this mode, the user can conveniently cycle through windows of different applications by pressing the tab key. In the default preferences, this can be activated using the F10 key on older keyboards or by pressing Control F3on newer Apple aluminum keyboards and the Macbook keyboard.
- The "Desktop" feature moves all windows off the screen, with just the edges of the windows visible at the side of the screen, giving the user clear access to the desktop. In the default preferences, this can be activated using the F11 key or by pressing Command F3on newer Apple aluminum keyboards and the Macbook keyboard.
how to install openvpn on mac ?
http://code.google.com/p/tunnelblick/wiki/UsingTunnelblick
來這裡看看就知道了. configuration file 跟 openvpn 的一樣喔!!
client.pfx 也是相同的
來這裡看看就知道了. configuration file 跟 openvpn 的一樣喔!!
client.pfx 也是相同的
2010年4月20日 星期二
Mac 畫面截取
因為常常需要製作一些操作手冊之類的東西 會需要截圖來做說明~
這個時候發現…..怎麼沒有我們熟悉的”PRINTERSCREEN“按鍵咧??
這個時候心中出現了許多的OS…..
難道MAC截圖一定要裝軟體嗎?
MAC不是最人性化的嗎?
這個時候發現…..怎麼沒有我們熟悉的”PRINTERSCREEN“按鍵咧??
這個時候心中出現了許多的OS…..
難道MAC截圖一定要裝軟體嗎?
MAC不是最人性化的嗎?
嘿嘿~不用怕 什麼都沒裝 我們就來使用MAC內建的截圖功能吧~
以下有幾個快捷鍵可以幫助我們快速達到截圖的需求
1.蘋果鍵+Shift+3 可以把整個畫面截取
2.蘋果鍵+Shift+4 截取想要的畫面 會出現一個十字游標 再拖曳選取所要的範圍就行了
3.蘋果鍵+Shift+4+空白鍵 這時候會出現一台相機圖示 可以選擇所要截取的視窗 所選取的視窗會發亮
以下有幾個快捷鍵可以幫助我們快速達到截圖的需求
1.蘋果鍵+Shift+3 可以把整個畫面截取
2.蘋果鍵+Shift+4 截取想要的畫面 會出現一個十字游標 再拖曳選取所要的範圍就行了
3.蘋果鍵+Shift+4+空白鍵 這時候會出現一台相機圖示 可以選擇所要截取的視窗 所選取的視窗會發亮
呃…我都照上面說的做了 怎麼什麼事情都沒發生呢 到繪圖軟體跟文書軟體裡面貼圖都沒有東西呀??
哈~這就是CK被微軟的視窗系統所洗腦產生的邏輯~
趕快回到你的桌面上瞧瞧~系統已經自動將您剛剛的截圖存檔放在桌面了^^
哈~這就是CK被微軟的視窗系統所洗腦產生的邏輯~
趕快回到你的桌面上瞧瞧~系統已經自動將您剛剛的截圖存檔放在桌面了^^
接觸蘋果系統不久 尚在學習中 以上幾個指令希望可以幫助到跟CK一樣是蘋果初學者的人~
2010年4月17日 星期六
installed soft on my mbp at 20100418
eclipse
bittorrent (transmission)
terminal client
chickenvnc
ssh
openvpn (tunnelblick)
iLife
iWork
聯絡人(outlook export and import use mac standard 聯絡人匯入功能)
bittorrent (transmission)
terminal client
chickenvnc
ssh
openvpn (tunnelblick)
iLife
iWork
聯絡人(outlook export and import use mac standard 聯絡人匯入功能)
2010年3月15日 星期一
Android Debug Bridge
adb 叫做 android debug bridge (adb)
http://developer.android.com/guide/developing/tools/adb.html
Querying for Emulator/Device Instances
-- adb devices
Installing an Application
-- adb install
Copying Files to or from an Emulator/Device Instance
-- adb pull
-- adb push foo.txt /sdcard/foo.txt
Other Shell Commands
-- adb shell ls /system/bin
Enabling logcat Logging
--adb logcat
http://developer.android.com/guide/developing/tools/adb.html
Querying for Emulator/Device Instances
-- adb devices
Installing an Application
-- adb install
Copying Files to or from an Emulator/Device Instance
-- adb pull
-- adb push foo.txt /sdcard/foo.txt
Other Shell Commands
-- adb shell ls /system/bin
Enabling logcat Logging
--adb logcat
how to enable telnet in windows 7 platform?
W7 把 Telnet 預設是關掉,
所以想要用 Telnet 這個功能就要去把它打開才行!
底下就來說明如何在 W7 中使用 Telnet 功能啦!
1.到『控制台』>『所有控制台項目』>『程式和功能』>『開啟或關閉Windows功能』
找到 tenet client option and enable it !
所以想要用 Telnet 這個功能就要去把它打開才行!
底下就來說明如何在 W7 中使用 Telnet 功能啦!
1.到『控制台』>『所有控制台項目』>『程式和功能』>『開啟或關閉Windows功能』
找到 tenet client option and enable it !
how to install Sensor Simulator in the android emulator ?
how to enable emulator control
>> goto window > show view > emulator control
===
經過測試. 這個 sensor simulator 只能夠在 1.6 的版本下面work. android 2.1 看起來好像是沒有辦法用的.
http://code.google.com/p/openintents/wiki/SensorSimulator
http://blog.sina.com.cn/s/blog_63be4ef30100gcp1.html
啟動 android emulator (1.6)
1. 先去 c:\nelson 下面找一個 folder
C:\nelson\sensorsimulator-1.0.0-beta1\bin
2. 輸入 adb install SensorSimulatorSettings.apk 就可將apk安裝到 android emulator 中了
3. 啟動程式 (double clik sensorsimulator.jar 檔案).
4. 依照 sendorsimulator 中的 ip address andport number 輸入到 android 程式中. 就可以模擬 g sensor 的活動了
>> goto window > show view > emulator control
===
經過測試. 這個 sensor simulator 只能夠在 1.6 的版本下面work. android 2.1 看起來好像是沒有辦法用的.
http://code.google.com/p/openintents/wiki/SensorSimulator
http://blog.sina.com.cn/s/blog_63be4ef30100gcp1.html
啟動 android emulator (1.6)
1. 先去 c:\nelson 下面找一個 folder
C:\nelson\sensorsimulator-1.0.0-beta1\bin
2. 輸入 adb install SensorSimulatorSettings.apk 就可將apk安裝到 android emulator 中了
3. 啟動程式 (double clik sensorsimulator.jar 檔案).
4. 依照 sendorsimulator 中的 ip address andport number 輸入到 android 程式中. 就可以模擬 g sensor 的活動了
2010年3月13日 星期六
how to operat eclpise android development platform
http://code.google.com/p/androidbmi/wiki/AndroidUI
have you ever get into an error like this ?
project "XXX" is missing required source folder : "gen" .
on eclipse IDE, just right click and delete "gen" folder in your packaged explorer and build project again. it should fix the problem like this.
android SDK 1.5 project is no problem. but android SDK 2.1 project have problem.
==== question 2 about main.xml .
@string means the "real" string located at strings.xml under values folder
< main.xml >
android:text="@string/hello"
==== 要如何 debug/run android app ?
0.android create avd --target 1 --name eclair
1. android list target
2. android list avd (if it did output something means 模擬器已完成建置)
3. android delete avd --name XXXXX (刪除某個已經建置的 avd)
4. 移除程式 adb shell,
cd data/app
list (should see something here)
rm com.example.android.apis.apk
5. how to run avd ? please goto eclipse android SDK and AVD manager, pick AVD that you create and click start button to run it.
6. how to run android source code in AVD ? open eclipse project. right click project name, choose run as android application menu
have you ever get into an error like this ?
project "XXX" is missing required source folder : "gen" .
on eclipse IDE, just right click and delete "gen" folder in your packaged explorer and build project again. it should fix the problem like this.
android SDK 1.5 project is no problem. but android SDK 2.1 project have problem.
==== question 2 about main.xml .
@string means the "real" string located at strings.xml under values folder
< main.xml >
android:text="@string/hello"
==== 要如何 debug/run android app ?
0.android create avd --target 1 --name eclair
1. android list target
2. android list avd (if it did output something means 模擬器已完成建置)
3. android delete avd --name XXXXX (刪除某個已經建置的 avd)
4. 移除程式 adb shell,
cd data/app
list (should see something here)
rm com.example.android.apis.apk
5. how to run avd ? please goto eclipse android SDK and AVD manager, pick AVD that you create and click start button to run it.
6. how to run android source code in AVD ? open eclipse project. right click project name, choose run as android application menu
訂閱:
文章 (Atom)