Use the following command to query a gem’s detail information with the gem name as the query condition:
Enable the Editing Feature of Shutter
How to "highlight matching brackets" for your custom editor in Eclipse
This implementation comes from here. The code is:
RVM
“rvm(Ruby Version Manager)”是用于在一台机器上管理多个不同版本ruby实现的工具。这篇文章的内容主要参考了这里和[这里][rtrvm_url]。
Resolve the problem when installing virtualbox on Ubuntu
之前我在机器上安装virtualbox都是直接执行apt-get命令即可:
1 | sudo apt-get install virtualbox-ose |
但是今天执行之后启动virtualbox发现有如下错误:
1 | No suitable module for running kernel found |
使用VPN时发生server timeout问题的解决
最近忽然发现使用vpn的时候,原来可以访问的国外网站都发生了timeout错误,如twitter和facebook,而访问国内网站都没有问题。
The error "Plug-in ... was unable to load class"
今天遇到一个令人发指的错误。
How to Change Hostname in Ubuntu
Run the following command to change the hostnames in the files:
1 | sudo vi /etc/hostname |
Then restart the computer. The hostname should be the new one.
Install Dictionaries to Stardict and GoldenDict
Ubuntu 10.04 Can't Drive Thinkpad T420 Network Interface Card
After I got a new Thinkpad T420 laptop, I installed Ubuntu 10.04 on it and then I found the network couldn’t work, and the display resolution was not right. Then I took some time to figure out the following solution.