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

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

Play ping pong game in Terminal

Terminal is not boring, in this post I will show you how to play an easy game pingpong with Terminal only Open up Terminal (from Launchpad -> Utilities -> Terminal or from...

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

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

How to check your site position for a keyword in Google search results

Don’t want to go to Google and diving through many pages to see your position in the search result? Well, there are many tools to support that, but today I introduce a...

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

HOT NEWS