Code Library

Free Source Code and Program Tips

Setup SCIM in Ubuntu 6.10

After install the ubuntu 6.10 from the live-cd, you may find that the SCIM does not work. All the related package has been installed, but after press Ctrl+Space, the SCIM input has not enabled. The main reason is that the scim daemo is not running.  Following is the solution: create 75scim file under /etc/X11/Xsession.d/ with [...]

Code Completion is a very useful feature of programiing, but it often  strikes in VC++ 6.0. If you meet such matter, try the following step: 1. delete *.ncb, *.opt, *.plg and *.clw files from your project directory 2. rebuild your project. And you often need CTRL+W to generate the class wizard infmation again. But the above works [...]

Some useful shortcut of Visual Studio 6

Hide/Show white spaces: Ctrl+Shift+8 Column Selection Alt+Mouse SelectLine Ctrl+F8 LineCut Ctrl+L LineDelete Ctrl+Shift+L

Some comment about Visual SourceSafe

Here is the short introduction of the great article of  Alan De Smet . Please goto the author’s website for the fulltext and there are some upgrade of the article. The author introduced the shortcomings of SourceSafe and hoped  to dissuade us from using SourceSafe, and have spared us the bad experiences he had.

Speed up loading of pages

It’s a truth that loading a html page is much faster than loading php page. So there is a simple method to speed up the WordPress page loading. It’s converting dymantic pages to static html ones. First, save the following to a new file cron.sh in the home directory: wget -O /home/ucosfot/index.html http://www.ucosoft.com/index.php Then, edit [...]