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

WordPress Cheat Sheets collection

Working on WordPress? And you want a quick way for reference, then choose one of the following cheatsheets, they are great & helpful. 1. WordPress Cheat Sheet by Andy Wibbels Download: http://andywibbels.com/files/WordPress_Cheatsheet_v1.pdf 2. WordPress...

Installing Apple Remote Desktop in OS X Lion or Mountain Lion

The Apple Remote Desktop 3.3 installer may report that it requires Mac OS X v10.6 when used with OS X Lion. In Mountain Lion, the Apple Remote Desktop 3.3 installer may...

HOT NEWS