2009年11月27日 星期五

Install FreeNX Server on OpenSUSE 11.2

openSUSE 11.2

The FreeNX package is no longer present in the official openSUSE 11.2 repositories. You can find the package in the Build Service.

  • Install NX and FreeNX rpms from here and here. The versions from the repository X11:RemoteDesktop/openSUSE_11.2 should work fine.

rpm -ivh http://download.opensuse.org/repositories/X11:/RemoteDesktop/openSUSE_11.2/x86_64/FreeNX-0.7.2-26.1.x86_64.rpm http://download.opensuse.org/repositories/X11:/RemoteDesktop/openSUSE_11.2/x86_64/NX-3.2.0-22.1.x86_64.rpm

    • As pre-requisite before installing the rpm above, you may need to install packages like expect and rdesktop. Install using YaST's Software Management or zypper on command line.
  • Run nxsetup --install --setup-nomachine-key --clean to install the server the first time
  • Use nxserver --status to check status of the server. The server runs on the ssh port, 22.
  • Test connecting using any NX client. Official No Machine client can be downloaded from www.nomachine.com which installs the client binary at /usr/NX/bin/nxclient See http://walter.deback.net/blog/archives/19 for using the NX client effectively.

Install FreeNX Server on OpenSUSE 11.2

openSUSE 11.2

The FreeNX package is no longer present in the official openSUSE 11.2 repositories. You can find the package in the Build Service.

  • Install NX and FreeNX rpms from here and here. The versions from the repository X11:RemoteDesktop/openSUSE_11.2 should work fine.

rpm -ivh http://download.opensuse.org/repositories/X11:/RemoteDesktop/openSUSE_11.2/x86_64/FreeNX-0.7.2-26.1.x86_64.rpm http://download.opensuse.org/repositories/X11:/RemoteDesktop/openSUSE_11.2/x86_64/NX-3.2.0-22.1.x86_64.rpm

    • As pre-requisite before installing the rpm above, you may need to install packages like expect and rdesktop. Install using YaST's Software Management or zypper on command line.
  • Run nxsetup --install --setup-nomachine-key --clean to install the server the first time
  • Use nxserver --status to check status of the server. The server runs on the ssh port, 22.
  • Test connecting using any NX client. Official No Machine client can be downloaded from www.nomachine.com which installs the client binary at /usr/NX/bin/nxclient See http://walter.deback.net/blog/archives/19 for using the NX client effectively.

2009年11月14日 星期六

在 Mac OS 10.6 安裝 git

  • Make sure your ports are up to date.
  • Install Git (You may want to include Subversion support if you want to import SVN repositories)
$sudo port selfupdate
$sudo port install git-core +svn

Reference: http://help.github.com/mac-git-installation

在 Mac OS 10.6 安裝 git

  • Make sure your ports are up to date.
  • Install Git (You may want to include Subversion support if you want to import SVN repositories)
$sudo port selfupdate
$sudo port install git-core +svn

Reference: http://help.github.com/mac-git-installation

2009年11月12日 星期四

Verilog: 避免 未定義 的 net 出錯

寫 Verilog時,
常常打錯字,
而被誤認為是一條新的net,而造成錯誤,

為了要避免這個惱人問題,

可在 Verilog file 裡加上

`default_nettype none



Mac OS X 10.6, MD5 checksum

由於 Mac OS X 10.6 並未內建 md5sum
所以先安裝 md5sum

sudo port install md5sha1sum

可以一次列出所有檔案的 MD5 Checksum,包含子目錄

find . ! -type d -print0 | xargs -0 md5sum

檢查所有檔案的 MD5 Checksum,包含子目錄

find . ! -type d -print0 | xargs -0 md5sum -c check.md5


Verilog: 避免 未定義 的 net 出錯

寫 Verilog時,
常常打錯字,
而被誤認為是一條新的net,而造成錯誤,

為了要避免這個惱人問題,

可在 Verilog file 裡加上

`default_nettype none