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 install Python 2.7 on BlueHost in 4 steps Read More »

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 shared object file: No such file or directory The cure – You need to install libpam.so.0 from Slackware DVD (extra/googlechrome/google-chrome-pam-solibs-1.1.3-i486-1.txz) –

Google Chrome on Slackware 13.37 Install Error Read More »

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 the full path of the process’s application 1. Start –> Run –> CMD 2. Enter the command line: WMIC /OUTPUT:C:\ProcessList.txt PROCESS get Caption,Commandline,Processid OR

Display application’s path of running process in Windows Read More »

[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 self.callback (/home/kang/apps/nodecrawler/node_modules/request/request.js:198:22) at emitOne (events.js:77:13) at Request.emit (events.js:169:7) at Request.onRequestError (/home/kang/apps/nodecrawler/node_modules/request/request.js:867:8) at emitOne (events.js:77:13) at ClientRequest.emit

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