Saturday, September 19, 2015

Killing Running Program Quicker with XKILL in Ubuntu

Hi. This is just a quick post about a trick to kill a not responding program without even having to find it's process id using terminal / system monitor. Just run ALT+F2 to launch "Run Application" (similar to WINDOWS+R in Windows) and type in "xkill" (without the quotation marks) and your mouse pointer / cursor will turn into an X pointer instead of arrow and just click on any program window that you want to kill. That's all. :)

P/S: Please be aware that when killing the program, all windows belongs to the process will be killed i.e multiple Google Chrome windows opened will be all closed.

Friday, September 18, 2015

Check Activation Lock Status for iDevices

Buying a used iPhone / iPad / iPod touch / Apple Watch? You better check whether the Activation Lock has been disabled so that you don't face problem later. Visit this SITE and enter the IMEI or Serial Number.

Monday, September 7, 2015

Connecting to MySQL Database using Command Line (Terminal)


I am not a fan of using Phpmyadmin to run simple commands in mysql. Sometimes, things can be seen better using command line interface since they are less cluttered. So, here's how to login to mysql using command line. I assume you already have at least one database already constructed in MySQL.


Please note that there is no space between the argument / parameter -p and the password. So, if your mysql user is root, your password is iamgroot, your hostname is localhost and your database name is justadatabase, the command is: mysql -u root -piamgroot -h localhost justadatabase . Refer diagram below:

That's all. Please remember, when entering any command, include semicolon at the end as shown below: