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[UPDATE: I implemented report.py using column.py, which will generate formatted work report. The input for report.py is datafile. See output.]
+------------------+
|*This.is.test.data|
+------------------+
+------------------+
|*This.is.test.....|
|datas.............|
+------------------+
COLUMNS IN HORIZONTAL DISPLAY
+------------------++------------------+
|*This.is.test.data||*This.is.test.....|
|..................||datas.............|
+------------------++------------------+
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:
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: