Category Archives: Computer

Sometimes it’s beyond your imagination

The sheer stupidity of this registration form is unfathomable. Not only they don’t allow white spaces, they also forbid vietnamese characters ! How can I submit my name now ?! On the other side, i really give kudos to LacViet for having an usable ecommerce site. They make online transactions quite pleasant to go through [...]

Interesting Windows hotkeys you should know about

Vim has shown me the power of muscle memory. That’s why i always try to learn hotkeys of any thing i use daily. Managing your desktop environment of course is one of those tasks. Below are non-trivial and useful windows hotkeys that you probably don’t know about. Win + Pause = System Properties Win + [...]

Php-fpm error after reinstall PHP

Error: lamnk@lamnk:~% sudo php-fpm start Starting php_fpm Error in argument 1, char 1: no argument for option – Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f ] php-cgi [args...] -a Run interactively -C Do not chdir to the script’s directory -c | Look for php.ini file in this directory -n No php.ini file will be [...]

Reset TCP/IP networking stack in Windows 7 and Vista

Sometimes your DHCP service is not able to pull an IP addresse, that means the network stack on Windows goes banana. To fix that, open command prompt with administrator privilege (click on Start -> type in “cmd” -> right click on the command prompt and choose “Run as Administrator”) and type these command: netsh int [...]

Compile rtorrent on CentOS 64bit

I always fall for this error when compile rtorrent, so … : Error: checking for STUFF… configure: error: Package requirements (sigc++-2.0) were not met: No package ‘sigc++-2.0′ found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables STUFF_CFLAGS and STUFF_LIBS to avoid the [...]

Alternative PHP Cache – APC – impact

Picture worths thousand words … I have never used a PHP accelerator before. Now it is a must to install APC for every new server (if you have enough memory to throw around).

XML-Mapping gem has permission problem

You may have this error when require ‘xml/mapping’ in your ruby script: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require’: no such file to load — xml/mapping (LoadError) Solution: go to the gem directory of XML-Mapping (mine is /usr/lib/ruby/gems/1.8/gems/xml-mapping-0.8.1/lib/) and chmod all files in this directory to 644. Who is to point finger at here ? Rubygem or XML-Mapping authors ?

Screen: cannot find terminfo entry about rxvt-unicode

This error eccors if you use screen et cetera and don’t have a terminfo file for urxvt in /usr/share/terminfo/r/, especially if you are ssh’ing into another box. You just need to create a terminfo file named rxvt-unicode in this directory. More info about terminfo and how to compile it from a source file

Why i do not want to pay the Apple fashion premium

Notebookreview has a new review for Macbook Pro latest model (late 2008). Here is the spec: Mac OS X v10.5.5 Leopard and Windows XP SP3 (Boot Camp) Intel Core 2 Duo P8600 2.4GHz (3MB L2 cache, 1066MHz frontside bus) 2GB 1066MHz DDR3 SDRAM 250GB 5400rpm Serial ATA hard disk drive 15.4″ glossy widescreen LED backlit [...]

Cisco VPN Client freezes system with dual core CPU

It’s annoying as hell ! Not only we need to patch to use Cisco client on 64 bit systems, recently i find out Cisco don’t support SMP (multi core) in its VPN client. It means after you load the cisco module, there’s a big chance you will run into a kernel panic: oops, the whole [...]