How to install Python 2.7 on BlueHost in 4 steps

1. DOWNLOAD wget http://www.python.org/ftp/python/2.7.2/Python-2.7.2.tgz tar zxvf Python-2.7.2.tgz 2. INSTALL cd Python-2.7.2 ./configure –prefix=/home/<your account>/opt/python272 --enable-unicode=ucs4 make make install 3. TEST Now try to run: /home/<your account>/opt/python272/bin/python 4. MAKE IT YOUR DEFAULT PYTHON $vim ~/.bashrc add the following line export PATH=/home/<your account>/opt/python272/bin:$PATH reload the session $source ~/.bashrc

How to calculate MD5 in Linux

Well, there are many ways to calculate MD5 hash of a string, in this post, I show you 3 command line that you can find them handy to get MD5 hash...

Allow MySQL remote connection in Slackware

Okay, after along time working on Mac, today I opened up one of my old project on a Slackware server. And  one of the thing I want to do is connect...

Google Chrome on Slackware 13.37 Install Error

The problem Today I tried out Google Chrome on my Slackware 13.37 box, but it’s not that easy to start. I had a problem here /usr/bin/google-chrome: error while loading shared libraries: libpam.so.0: cannot open...

PHP Manager for IIS on Windows 10

PROBLEM I recently try to install IIS (via features) and PHP 5.6 for IIS via WPI. Installing PHP along with other PHP extensions went smoothly, but installing PHP Manager for IIS failed immediately. Check...

Display application’s path of running process in Windows

Normally you use Task Manager to see which processes are running, but from that you don’t know which application they belong to. Luckily, with these simple commandlines, you can easily see...

Navicat – Error 2006 MySQL server has gone away

When trying to restore a backup from Navicat, I got the Error 2006 which said that MySQL server has gone away. Looking around and I figured out that it’s because of...

Upgrade to Domino 8.5.3 crashed on Windows Server 2008 R2 64bits

Today I tried to upgrade from Domino 8.5 to Domino 8.5.3 on my Windows Server 2008 R2 64 bits box Running lotus_domino853_w64_en.exe without any problem. Trying to launch Domino Server =>...

Windows 8 keyboard shortcuts

Windows 8 is the next generation that brings more features to Windows users. Blending with Metro UI, Windows 8 has a completely  new look that would please anyone by its smooth...

[cheerio] TypeError: Cannot read property ‘parent’ of undefined

A beautiful autumn day and my little app threw the error 🙂 var oldParent = node.parent || node.root, ^ TypeError: Cannot read property 'parent' of undefined at Function.exports.update (/home/kang/apps/nodecrawler/node_modules/cheerio/lib/parse.js:55:25) at module.exports (/home/kang/apps/nodecrawler/node_modules/cheerio/lib/parse.js:17:11) at Function.exports.load (/home/kang/apps/nodecrawler/node_modules/cheerio/lib/static.js:19:14) at Request._callback (/home/kang/apps/nodecrawler/app.js:46:29) at...