Tuesday, May 24, 2005

Put your data inside column

I came across a problem where I had to send across data in neatly formatted column (only text). I designed a small python script column.py that lets me put data in column with wordwrap and allows customization of column border.
COLUMNS IN VERTICAL DISPLAY
+------------------+
|*This.is.test.data|
+------------------+
+------------------+
|*This.is.test.....|
|datas.............|
+------------------+
COLUMNS IN HORIZONTAL DISPLAY
+------------------++------------------+
|*This.is.test.data||*This.is.test.....|
|..................||datas.............|
+------------------++------------------+
[UPDATE: I implemented report.py using column.py, which will generate formatted work report. The input for report.py is datafile. See output.]

Tuesday, May 17, 2005

del.icio.us "tag rename/delete" script

In del.icio.us to rename a tag or delete it you have to go to your settings page. The GreaseMonkey userscript tag rename/delete user script allows you to rename or delete the tag without moving to the settings page.
When this userscript is used. After every tag, you get two links: « that allows you to rename the tag and x that allows you to delete the tag.

Snapshot of userscript at work:

Tuesday, May 10, 2005

Colorizer in Javascript

I wrote a simple colorizer using javascript which helps you to get the colorized source code (in HTML). The language supported are: java, c, c++, c# and javascript. Click here for online access to the page. You can get the source files from here.

This page is powered by Blogger. Isn't yours?