gitk python script will read rgb value from rgb.txt
Solution
1. Get rgb.txt from http://ftp.sunet.se/pub/www/utilities/www-tools_uni-karlsruhe/rgb.txt
2. Save to /usr/share/X11 folder
3. Create a link under /etc/X11
4. Restart vncserver
if somecolor is still missing, even cannot find in rgb.txt, please add it into the rgb.txt.
e.g.
128 128 128 darkgrey
哎呀哎呀
2010年9月25日星期六
2010年8月31日星期二
在cygwin下设置repo和同步
1. 安裝Cygwin,以及要安裝的packages如下:
# Filename: ~/bin/http-proxy-gw
# This script connects to an HTTP proxy using connect.c
connect -H mygate.at.com:1080 $@
gitproxy = /home/vettey/bin/http-proxy-gw for kernel.org
gitproxy = /home/vettey/bin/http-proxy-gw for omapzoom.org
gitproxy = /home/vettey/bin/http-proxy-gw for codeaurora.org
[color]
ui = auto
[user]
name = vettey
email = vettey.gxy@gmail.com
3. 同步
以上创建的文件必须是unix格式,否则会出错
.gitconfig and http-proxy-gw should be in unix format, otherwise it will cause error.
Reference:
1. http://ranger1976.blogspot.com/2009/07/windowsandroid.html
- Net -> curl
- Devel -> git* (git, git-completion, git-gui, gitk)
- Libs -> libreadline6, libiconv2
- Editors -> vim
- Python -> python
- openssh
- bzip2
- 先在使用者的家目錄新增bin目錄
$ cd ~
$ mkdir bin
- 下載Repo到bin目錄裡
$ curl http://android.git.kernel.org/repo >~/bin/repo
$ chmod a+x ~/bin/repo
- 下载http://bent.latency.net/bent/git/goto-san-connect-1.85/src/connect.html
- 可以直接下载connect.exe, 也可以自己build,只是需要在cygwin安装GCC
- 在~/bin下创建文件http-proxy-gw
# Filename: ~/bin/http-proxy-gw
# This script connects to an HTTP proxy using connect.c
connect -H mygate.at.com:1080 $@
- ~/.gitconfig配置,也可以用命令行设置
gitproxy = /home/vettey/bin/http-proxy-gw for kernel.org
gitproxy = /home/vettey/bin/http-proxy-gw for omapzoom.org
gitproxy = /home/vettey/bin/http-proxy-gw for codeaurora.org
[color]
ui = auto
[user]
name = vettey
email = vettey.gxy@gmail.com
3. 同步
- $ cd ~
$ mkdir mydroid
$ cd mydroid
$ ~/bin/repo init -u git://android.git.kernel.org/platform/manifest.git
- $ repo sync
以上创建的文件必须是unix格式,否则会出错
.gitconfig and http-proxy-gw should be in unix format, otherwise it will cause error.
Reference:
1. http://ranger1976.blogspot.com/2009/07/windowsandroid.html
2010年2月10日星期三
2010年2月9日星期二
订阅:
博文 (Atom)