显示标签为“ubuntu”的博文。显示所有博文
显示标签为“ubuntu”的博文。显示所有博文

2010年12月29日星期三

basic git command

git is the fast version control system


Now I am studying how to use git

  • Here are the commands for common using:

  1. Use git clone to check out sources. i.e. Download pulseaudio sources:

    
    
    
  2. Use git status to show your working tree status

    
    
  3. Use git pull to update the codes to the newest version

    
    
  4. Add or edit your file

  5. Commit your new file

    
    
  6. Push your change to remote repository

    
    

  • Here is a sample to generate a patch

    
    

2010年12月28日星期二

ubuntu qq for linux自动关闭的问题解决方法


ubuntu 10.04还是存在这个问题 哎
下面解决的办法:
1. 在终端输入命令代码:sudo vim /usr/bin/qq
2. 在打开的qq配置文件中,在#!bin/sh下面一行,cd /usr/share/tencent/qq/前面一行的位置插入代码:
export GDK_NATIVE_WINDOWS=true
3. 最终修改后的QQ脚本配置文件如下,保存关闭即可。
#!/bin/sh
export GDK_NATIVE_WINDOWS=true
cd /usr/share/tencent/qq/
./qq
 4. 重启QQ,qq不再自动退出和关闭了。