Posts

Facebook Chat Fun

I'm not much of a Facebook user, but the recent change of events in my life has made me use it more often. Following stuff in Facebook chat are cool. Make text bold make your text bold by placing it inside * (asterisk). we are *friends.* Make underline make your text underlined by placing it inside _ (underscore). We are _friends._ And finally :putnam: is cool emotion.

Upside down cam fix for Flash and other program

First read this  http://techspalace.blogspot.com/2010/02/upside-down-web-cam-simple-fix.html If you have same problem but in other program like Flash and so, then the fix is same. Just run the executable of the desire program instead of Skype. For eg. if you have problem with upside down cam in flash and you are using some browser(lets say Google Chrome) to video chat then: Close the browser. Run in terminal: LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so google-chrome or if it is 32 bit system LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so google-chrome

HTC Desire Battery Calibration

Update: You may want to read this (Specially the bump charging part) before you move forward. My HTC Desire's charge would drop to 93%, 91% or 90% very quickly after removing from the AC charger. I came to this post on xda-developers.com that help me fixed the problem. http://forum.xda-developers.com/showpost.php?p=7690163&postcount=1  Basically all you have to do is: Charge your phone until the notification led is green. Disconnect the charger. Power off the phone. Reconnect the charger. Charge until the notification led is green. Disconnect the charger. Power on the phone. Power off the phone again, once its powered on completely. Reconnect the charger until the notification led is green.  Disconnect the charger power it on and use it.

Gmote in 64 bit Ubuntu

Gmote is an Android Remote. I was having problem running the Ubuntu client on my 64 bit Lucid Lynx. Though the application was very easy to start, just run a script, it was not working. It was giving error like "Can't obtain static method fromNative from class com.sun.jna.Native" and "There was an error running the gmote server, Please visit http://www.gmote.com/faq for more information". The solution was to fix the script by changing the java path. From, java -classpath bin:lib/jna.jar:lib/slf4j-api-1.5.3.jar:lib/swing-worker-1.2.jar org.gmote.server.GmoteServerUiLinux & to: /usr/lib/jvm/java-6-sun/jre/bin/java -classpath bin:lib/jna.jar:lib/slf4j-api-1.5.3.jar:lib/swing-worker-1.2.jar org.gmote.server.GmoteServerUiLinux & where, /usr/lib/jvm/java-6-sun/jre/bin/java happens to be my 64 bit java.

Google Chrome Standalone Installer

Google Chrome also has a offline installer known by the name standalone installer. You can use this to download Google Chrome in computers without having internet access or has the site blocked. Download it from Google: http://www.google.com/chrome/eula.html?standalone=1 Download it from Softpedia: http://www.softpedia.com/get/Internet/Browsers/Google-Chrome.shtml

ssh Secrets Summary

Run Command on Remote System Without Logging In user@user-laptop:~$ ssh tony date Mon Aug 30 19:08:40 SPT 2010 For Program needing pseudo-tty use -t option of ssh. For eg: user@user-laptop:~$ ssh tony -t top user@user-laptop:~$ ssh tony -t screen -dr Tilde Tricks Tilde (~) is ssh's escape character. ~. terminate ssh connection. Specially useful when you loose connection and don't want to wait for ssh timeout. ~^z put the connection in background ~? list all key sequence ssh-keygen -R removes bad hostname from your ssh know host Shortcut Name For Connection In ~/.ssh/config enter the following information Host bob      HostName bob.example.com      Port 2222      User username Host alice      HostName alice.example.com      Port 8183      User username now to ssh user@user:~$ ssh bob user@user:~$ ssh alice Summarized from http://b...

Best Pastebin for Code

Q. What is the best pastebin for codes ? A. Use codepad.org  Not only it allows you to paste code to share, you can also run the very thing in it.

Download Classic MS-DOS Games

Q. Where can I download classic MS-DOS games ? A. You can download the classic MS-DOS games like Mario, Dave and Prince of Persia from http://www.dosgamesarchive.com

Install PHP Apache and MySQL

Q. How do I install PHP, Apache and MySQL server in Ubuntu. A. Run the following command in terminal sudo aptitude install php5 apache2 mysql-server php5-mysql You may upon your preference install php5, apache2 and mysql-server from Ubuntu Software Center, Synaptic package manager or apt:// shortcut.

Install Firefox 4 Beta In Ubuntu

Open Terminal and type: sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa sudo apt-get update sudo apt-get install firefox-4.0

Ubuntu Release - Version Name and Description

Adjective Animal Version Description Warty Warthog 4.10 The first "hog" Hoary Hedgehog 5.04 Meaning "covered with hair", or "mature/old/wise" Breezy Badger 5.10 was  going to be "Bendy Badger"...  Dapper Drake 6.06 Polished, with 5 years of support! Edgy Eft 6.10 Fire up the crackpipes!  (?!) Feisty Fawn 7.04 Courage and restlessness Gutsy Gibbon 7.10 Go Ape! Hardy Heron 8.04 Hardy Heron with 5 years of support! Most people wanted Happy/Hungry Hippo Intrepid Ibex 8.10 Released October 2008 Jaunty Jackalope 9.04 Released April 2009 Karmic Koala 9.10 Released October 2009 Lucid Lynx 10.04 clear minded thoughtful predator Maverick Meerkat 10.10 sabdfl: Meerkats are light, fast and social – everything we want in a Perfect 10

Install Wowza Media Streaming Server In Debian Lenny

Login to your Debian Lenny box Edit your sources.list file to install java #vi /etc/apt/sources.list Add non-free to the end of the line deb http://ftp.se.debian.org/debian/ lenny main i.e. the line should look like deb http://ftp.se.debian.org/debian/ lenny main non-free Install Java #apt-get update && apt-get install sun-java6-jre Download Wowza Media Server using wget #wget -c http://www.wowzamedia.com/downloads/WowzaMediaServer-2-1-1/WowzaMediaServer-2.1.1.deb.bin Add execute permission #chmod +x WowzaMediaServer-2.1.1.deb.bin Run the installer #./WowzaMediaServer-2.1.1.deb.bin (Press Space to read next page of the agreement) (Type Yes at the end of the agreement) (The setup will be finished) Now go to your installed location and run startup.sh #cd /usr/local/WowzaMediaServer/bin/ && ./startup.sh paste your license key Press CTRL+C to stop the server if it is still running and you can't get a prompt. Now copy your flv video video.flv...