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

Free up space on your Mac with 10 tips

Your hard disk is filled with video, music, podcasts, games, applications and documents. Well, following these ten tips might give you the chance to rescue the valued space Download AppZapper, go...

Search comma-separated list attribute using jQuery

I have an attribute that is comma-separated list, and I want to search for a particular value in that list example: <img id=”img1” src=”somepic.jpg” tags=”nature,flower,color”> SOLUTION Using jQuery, it’s simple to do, for example, I...

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

curl: (35) SSL connect error

PROBLEM Ok, I am trying to install DigitalOcean Agent on my Centos 6.6 box as their instruction curl -sSL https://agent.digitalocean.com/install.sh | sh And immediately get the error curl: (35) SSL connect error SOLUTION We need to update...

Get radio group value with Jquery

Assume you have one radio group name default_lang and you want to know which one is selected <input name="default_lang" value="en" type="radio" /> <input name="default_lang" value="fr" type="radio" /> <input name="default_lang" value="de" type="radio" /> Well, it’s easy...

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

How to show hidden files on a Mac OSX

To display hidden files & folders 1. Open Terminal (from /Applications/Utilities) 2. Issue command defaults write com.apple.finder AppleShowAllFiles -bool true 3. Kill the Finder to take effect by issuing the command killall Finder To hide them...

How to delete Sphinx Search Service in Wind

1. DELETE Sphinx Search Service in Windows C:sphinxbinsearchd –delete If you installed with –servicename (e.g: SphinxSearch) then remove it with C:sphinxbinsearchd –delete –servicename SphinxSearch 2. REINSTALL Sphinx Search Service in Windows C:sphinxbinsearchd –install –config C:sphinxbinsphinx.conf –servicename...

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

HOT NEWS