Writing by shivdev 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.
Writing by shivdev 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.
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):
Writing by shivdev 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)
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.