May 20, 2009

vim and end-of-line on the last line

VIM (the best editor on earth. ahem!) believes that lines in a text file should always end with a end of line character, and last line is no exception. But, sometimes during coding JSPs I have encountered problems with end... 

March 10, 2009

reverse local ip lookup

For years I used to rely on yp or nis on unix/linux to help me match local ip addresses to hostnames. Or in the more desperate case before ssh became popular, try to telnet and look for the login banner... 

February 4, 2009

Python Windows registry access (pyregistry)

The python module which is given below - pyregistry is a wrapper around _winreg module. It greatly simplifies registry access, which is more complicated if _winreg is used directly. It implements readSubKeys, readValues and pathExists functions. readSubKeys - Returns an... 

Python Google translator - pytranslator

While working on internationalization (i18n), I had to translate a whole bunch of text statements from English to German! I didn't wanted to access http://google.com/translate in the browser for every text to be translated and do the routine copy paste.... 

January 12, 2009

Count your search queries !!

Carbon dioxide emission for each search query on google amounts to your car driven for a meter ! In terms of greenhouse gases, one Google search is equivalent to about 0.2 grams of CO2. The current EU standard for tailpipe... 

September 25, 2008

[ref] opensource build and test workshop

Free Open Source Build and Test Workshop - coming to a city near you Learn how you can leverage open-source RIA application server technology from Appcelerator to rapidly build Ajax applications. Learn how you can leverage open-source testing tools (Selenium,... 

September 19, 2008

Introduction to htmlunit-interpreter

Using htmlunit-interpreter HtmlUnit interpreter is a translator for testgen4web recordings. It is a wrapper around htmlunit library which does an excellent job in emulating the browser. The tool isn't new, it has been around for a while. TestMaker from... 

September 17, 2008

Video Tutorial Series - Looping over steps based on a variables value

I put together a video tutorial today to explain looping based on a variable. Here it goes: "Looping steps based on a variable's value" You can find other video tutorials here: http://developer.spikesource.com/wiki/index.php?title=Projects:TestGen4WebDocs#Tutorials... 

June 27, 2008

TestGen4Web update 1.0.0

I am excited to announce testgen4web 1.0.0 This is a great release with lots of new features. Download here: http://developer.spikesource.com/frs/?group_id=14&release_id=107 Note: I have tested this on only firefox 3 - Please let me know if you need a firefox 2... 

June 25, 2008

Shell Scripting - List all the variables that starts with a particular pattern

Of course `env | grep "pattern"` would work if the variables are exported. But you will have to run 2 commands in pipe and export the variable. Simpler and smarter way to do it? ! and * for the rescue.... 

June 18, 2008

Shell Scripting - Trick2 (2 special shell variables)

Bash has many inbuilt variables most of which are well known. But there are few, which many are not aware of. These turn out to be very handy when you are scripting. $_ : $_ will hold the value of... 

June 9, 2008

Shell Scripting - Trick1(Generating all combinations of 2 sets of characters)

Thought I will start sharing a few bash scripting tips and tricks I learnt and use in my day to day life. Here is my first one... $> echo {a,b}:{1,4} a:1 a:4 b:1 b:4 $> echo {asterix,obelix}\ {911,143} asterix 911... 

December 20, 2007

TestGen4Web Tutorial Series - Using simple conditions

"Using Simple Conditions with TestGen4Web" Prompted by a post on the forums, here comes the 2nd video tutorial demonstrating creating a "simple condition" with testen4web. There was one other video tutorial before this. Find all the links here: http://developer.spikesource.com/wiki/index.php/Projects:TestGen4WebDocs#Tutorials... 

New Video Tutorial Series - Using csv files to load data with TestGen4Web

First a little introduction for those who don't know what TestGen4Web is: TestGen4Web is a 2 part tool. 1. A firefox extension where you can capture your navigation on the webpage and play it back. 2. A Unit Test generator... 

December 19, 2007

SpikeWAMP works on Windows Server 2008 RC0

I tried SpikeWAMP today on a virtual image (VMWare) of Windows Server 2008 RC0 and it worked fine. Windows Server 2008 RC1 (which is the latest one out there) seems to have some problem with Cygwin. The stack installation got... 

Continue reading "SpikeWAMP works on Windows Server 2008 RC0" »