Batch images resizer for MacOS using Automator

Want to resize your images without any extra software installed on your Mac? Then this post is for you, we are using existing application named Automator to do the work for...

Connection reset by peer SSH error

Just a quick note to solve my problem with SSH, I can connect to my remote server OK with Putty or Bitvise SSH but not with Cywin or Babun SSH command...

Upgrade kernel in Ubuntu

Today I need to upgrade my Ubuntu box from kernel 2.6 to 3.13, here are my few notes: 1. Check the current kernel root@xxx:~# uname -r 2.6.32-042stab108.5 2. Update your box root@xxx:~# apt-get update 3. Search for...

Fix GPG error NO_PUBKEY when apt-get update your Ubuntu

Some of you might encounter the following error when $apt-get update your Ubuntu system, like mine: Fetched 24.0 MB in 9s (2542 kB/s) Reading package lists... Done W: GPG error: <a href="http://archive.canonical.com/" target="_blank">http://archive.canonical.com</a> trusty...

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...