2011/02/12

Mac: Print screen key






Windows 鍵

Mac 鍵

用途



Alt

Option

輸入特殊字元,如 é。



Control

Command (⌘)

執行動作或快速鍵。例如,按下 ⌘ + S,通常會儲存文件或檔案。



Num Lock

Num Lock

Shift + Clear

在某些應用程式中,控制是否按下數字鍵盤的按鍵來輸入數字或移動游標。



Scoll Lock

Control + F14

在某些應用程式中,控制是否按下方向鍵來移動游標或在視窗中捲視。



Print Screen

⌘ + Shift + 3
⌘ + Shift + 4

拍攝螢幕照片。⌘ + Shift + 3 會擷取整個螢幕的畫面。⌘ + Shift + 4 會擷取您螢幕所選區域的畫面。


On Windows 7, use those combo keys:
Shift + Fn + F11: Print Screen
Alt + Shift + Fn + F11: Print Active Window

http://docs.info.apple.com/article.html?path=Mac/10.5/yh/cdb_winkeys.html

2011/02/10

Building HandBrakeCLI for CentOS

Problem with CentOS & other RHEL is that it's packages are updated slowly. Building software like Handbrake needs additional steps.

1. First of all, you need to have the essential development tools:
yum groupinstall "Development Tools" "Development Libraries" \
"X Software Development" "GNOME Software Development"

yum install yasm zlib-devel bzip2-devel \
dbus-glib-devel libgudev1-devel webkitgtk-devel libnotify-devel \
gstreamer-devel gstreamer-plugins-base-devel


2. Build Autoconf 2.61 (stock is 2.59) and install to /opt
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2
tar xjf autoconf-2.61.tar.bz2
cd autoconf-2.61
./configure --prefix=/opt
make
sudo make install


3. Use the 2.61 version
export PATH=/opt/bin:$PATH

4. Greb latest source from subversion or download from Handbrake source.
Here we assume you download the tar source:
wget http://handbrake.fr/rotation.php?file=HandBrake-0.9.5.tar.bz2
tar zxvf HandBrake-0.9.5.tar.gz


5. Config & build
GUI version is no supported according to the Handbrake forum. --disable-gtk option will generate CLI build.
cd HandBrake-0.9.5
./configure --disable-gtk --launch

it's gonna take awhile depending on your hardware...

-------------------------------------------------------------------------------
time end: Thu Feb 10 12:57:49 2011
duration: 20 minutes, 2 seconds (1202.42s)
result: SUCCESS
-------------------------------------------------------------------------------
Build is finished!

6. Install
If no other trouble, you get the success build result. Now install it:
cd build
make install

This will copy the build to /usr/local/bin/HandBrakeCLI and now enjoy the work!
HandBrakeCLI --help

Reference:
  1. https://trac.handbrake.fr/wiki/CompileOnLinux
  2. https://forum.handbrake.fr/viewtopic.php?f=13&t=19479
  3. http://linuxtoolkit.blogspot.com/2010/10/installing-handbrake-on-fedora-13.html

Mercury簡易改裝

有同好有一樣的困擾 - 如何使用自己的data logging軟體,因此寫了這篇來分享我的簡易改裝。 Background 雲豆子 MERCURY roaster 烘豆機的設計是使用自行開發的軟體,來:1. 操控風門/火力; 2. data logging/自動烘焙。 ...