Category Archives: howto

HTTP Tunnel Solution for Mac OS X

Mac OS X shipped with a pre-installed version of OpenSSH so you don’t have to look for a http tunnel utility.

In order to create a http tunnel, simply open your Terminal app and issue the command below:

ssh -D port-number username@server-ip-address

in which port-number is the port number of your PC that you want to bind.  Domain name can be used instead of server IP address.

To fake IP, simply use that you specified in the command above.

Speed Download and Chrome Integration

via Yazsoft

How to Cut/Paste in Finder

Hold Command button while drag and drop your files/folders between different partitions to perform Cut and Paste. This will remove the sources files after copying is done.

Change default window size of Finder

Go to Finder, select a new folder window from the File menu. Hold down Option key as you drag to resize.

How to remove scratches from iPhone/iTouch

via OSXDaily

iPhone/iTouch owners should read this or save for later use.

ymsgr protocol

Installing Yahoo Messenger will also install an extra URI handler in some browser to handle URIs like “ymsgr:”. You can think of this like “mailto:” URI scheme. Below are some example of using this URI scheme.

ymsgr:addfriend? Example: ymsgr:addfriend?myid
ymsgr:sendfile? Example: ymsgr:sendfile?myid
via Wikipedia

You can play little trick with Yahoo Messenger status by replace the link in your status by “ymsgr:-kill”. If your friend clicked on your status, it will immediately exit Yahoo Messenger.

How to uninstall an Adobe Air based App in Ubuntu?

#1 Open Terminal and Find the name of the package you want to install by issuing the following command

dpkg –list | grep -i package_name

e.g. : I want to uninstall TumblWeed App. So i typed in my terminal:

dpkg –list | grep -i tumblweed

#2 The result after the above command look like this:

ii com.adobe.example.tumblweed.4de7482c14055ead00e76b98c6c45679e421790b.11.03                                         A Tumblr desktop client for those that can’t blah blah ….

The bold name above is the actual package name.
#3 It’s easy now. You can simply uninstall the package by typing in your terminal:

sudo dpkg -r ‘com.adobe.example.tumblweed.4de7482c14055ead00e76b98c6c45679e421790b.1‘

Done !!!

How to install Adobe Air on Ubuntu 64bit

Installing Adobe Air on Ubuntu 64bit is a little bit tricky. You have to manually install 32bit files using an utility call “getlibs”.

The full tutorial can be found here.

If you got an error like “Error loading the runtime ( wrong ELF class: ELFCLASS64)”, issue the command below in the terminal.

sudo ln -s /usr/lib32/ /usr/lib32/

How to recover lost pictures from memory card?

Recently, my friend asked me to rescue her pictures in the digital memory card because she accidentally formated it. I came across Ubuntu Help and i found testdisk an awesome app.

Photorec is file data recovery software designed to recover lost pictures from digital camera memory or even Hard Disks. It has been extended to search also for non audio/video headers. It searches for 80 different types of files. Photorec is part of the Testdisk package

To install testdisk

sudo apt-get install testdisk

To recover pictures from device, execute photorec (part of testdisk package) as root and follow the wizard to recover your pictures. It’s very simple and straight forward. Just select the appropriate partition type, file system and where you want to save the recovered files, then you’re good to go.

sudo photorec

With photorec, i was able to recover 100% lost pictures since my friend didn’t do any disk operation on the memory card after she accidentally formated it.

Worth-trying Extensions for Google Chrome

#1 : Adthwart: as the name, Adthwart is equivalent to Adblock on Firefox with EasyList filter included. Also you could try Adsweep.

#2: Xmark for Chrome beta: same as Xmark on Firefox. You must have a Xmark account in order to use this extensions

#3: RSS Subscription Extension: this feature should be implemented in the final version of Google Chrome.

#4: iMacros: equivalent to iMacros on Firefox

#5: Chromium Delicious plugin: A Delicous plugin for Chrome. Added a button on toolbar for quick save.

#6: Clickable Links: For me, a link means that it has to be click-able.