How to start a Toyota RAV4 with a Dead Smart Key Battery

Writing by on Sunday, 18 of September , 2011 at 2:39 pm

Had I known this, I would not have been driving my wife to work at 6am in the morning.

  • Enter the car using the key in the Smart Key Fob (then replace the key back in the fob)
  • Once in the vehicle, have the Smart Key make contact with Start Button (to engage the passive circuitry)
  • Press the Brake for a few seconds and you will see the Green Light come on and you can start the car

At least, you won’t get stranded. So once the vehicle has started just replace the battery.



Leave a comment

Category: Tips and Tricks

AutoHotkey a nifty little program for Windows users

Writing by on Wednesday, 27 of July , 2011 at 10:37 pm

AutoHotkey is a really nifty mouse and keyboard macro program that lets you automate your usual “repetitive” boiler plate tasks and play them back with a key-stroke.

I constantly had to type the username/password to login to my work application and found AutoHotkey could easily do it for me.
Here’s an example of a simple macro (Ctrl+Alt+A) that’ll fill up my login form and submit.

^!a::
Send admin{Tab}password{Enter}
return

Here’s a demo of the tool and if you’re impressed Download AutoHotkey!


Leave a comment

Category: Tips and Tricks,Tools

Aliases to Kill Linux Processes

Writing by on Wednesday, 20 of April , 2011 at 9:30 pm

As a developer I’m constantly restarting processes. For instance, if I have 2 Java Process (Server/Web) and an Eclipse Java Process which makes 3 Java Processes. The problem is to kill only the server and web processes and leave the eclipse java process intact.

Solution 1 (The Hard and Manual approach):

Find the java processes and kill them manually

ps -ef | grep java
kill -9 1
kill -9 2

Solution 2 (The Simplified Approach – killjava):

Create an alias or run the following:

ps -A|grep java|sed -e “s/\s*\([0-9]*\).*/\1/”|xargs kill -9

This will kill all java processes – which means you will need to restart eclipse each time you run this.

Solution 3 (The Tuned Approach – killweb):

Create an alias or run the following based on a keyword (say, Web process remote_debug port 4096):
ps -A|grep java|sed -e “s/\s*\([0-9]*\).*/\1/” | xargs ps -p | grep 4096 | sed -e “s/\s*\([0-9]*\).*/\1/” | xargs kill -9

Create an alias or run the following based on a keyword (say, Server process remote_debug port 2048):
ps -A|grep java|sed -e “s/\s*\([0-9]*\).*/\1/” | xargs ps -p | grep 2048 | sed -e “s/\s*\([0-9]*\).*/\1/” | xargs kill -9

This will kill only the specific processes you want to terminate.

Solution 4 (The BEST Way – Combine 1 and 2 in a single alias – killdebug):

Create an alias or run the following (Use egrep to look for multiple keywords above):

ps -A|grep java|sed -e “s/\s*\([0-9]*\).*/\1/” | xargs ps -p | egrep “2048|4096” | sed -e “s/\s*\([0-9]*\).*/\1/” | xargs kill -9

This will kill all processes you WISH to terminate.

I have aliases for Solutions 2, 3 and 4 depending on what I’m trying to do. So there you go – hope that helps!

Leave a comment

Category: Linux,Tips and Tricks

Android Emulator Has Chinese and Japanese Characters

Writing by on Sunday, 13 of February , 2011 at 10:16 am

I’m not sure what caused it, but you can change this behavior in at least 3 ways:

  • Select Input Options button on the bottom left of Keyboard ==> Input Method ==> Android Keyboard
  • Menu ==> Language & Keyboard ==> Keyboard Settings ==> Uncheck the Chinese & Japanese IME Checkboxes
  • Long Press a Text Field ==> Input Method ==> Android Keyboard

See the snapshots for details.

Leave a comment

Category: Android,Tips and Tricks

Remove Skype from Windows 7 Taskbar while signed in

Writing by on Tuesday, 8 of February , 2011 at 9:29 am

Sometimes it’s hard to find the right option, but to remove Skype icon from the Taskbar when the window is closed, but remain signed in:

Tools => Options => Advanced Settings => and uncheck Keep Skype in the taskbar while I’m signed in.

 

skyperemovefromtaskbar.png

Leave a comment

Category: Tips and Tricks

Bookmarks Toolbar suddenly disappears in Google Chrome Browser

Writing by on Thursday, 27 of January , 2011 at 5:57 pm

By default, Chrome hides the bookmarks toolbar when a page is loaded in a Tab. This is so that you have more room to view the contents of the page.To turn on the bookmarks bar simply:

Click on the Wrench, Select Tools, Always show bookmarks bar (Ctrl+Shift+B)

Leave a comment

Category: Tips and Tricks

Shivdev Kalambi's Blog

Shivdev Kalambi is a Software Development Manager, previously a Principal Software Engineer at ArcSight/HP. With over 16 years' experience in software development, he's worked on several technologies and played different roles and contributed to all phases of projects. Non-tech activies include Ping-pong, Rock Climbing and Yoga at PG, Golf, Skiing, Swimming & a beer enthusiast.