Coding Projects
Most of the codes are released under GPL, unless otherwise stated. If you are using the codes in any way, fully or partially, I insist that you respect and abide by the terms of usage. All these code comes with no warranty at all, none whatsoever. If it breaks, you can keep all the pieces.
Clearcheckbook from commandline
Version 1.0
License: Perl Artistic 2.0
Download
This small script allows you to perform transactions ton your Checkcheckbook.com account without having to fire up a browser windows/tab. Supported transactions include 'deposit', 'withdrwals' and 'transfers'. For now, queries like 'balance', 'account', 'limit', 'cat' etc. are not supported since the script is not capable of parsing replies from the CheckBot. Hence it it might be a good idea to set the CheckBot setting to not provide a response. Until you are convinced that this script works fine, it might also be a good idea to change setting to not perform 'Auto-Add'!
It uses the Google Talk CheckBot of CCB to do this and hence you will need to enable Google Talk setup on CCB. The script also supports offline mode of operation so if the script cannot connect to the server or you work in offline mode (-o), the script writes the transaction to a local file. The next time it is invoked to connect to the server, it sends the old transactiont too to the server.
Requires the Net::XMPP Perl module. To use, rename to script to ccb-bot4bot.pl . To configure the script, open it in an editor and edit the following:
- Set your Google Talk username for the $username variable
- Set the password associated with that username as the $password variable.
- Change $offlineFile to point to your offline file. Make sure that the permissions allow the script to write into it.
- perl ccb-bot4bot.pl -h gives you the usage
Diet Tracker
Version: 1.5
License: GPL 2.0
Project Page
Diet Tracker is a set of Perl codes to help you keep track of your diet progress. It uses a MySQl database to store and display your weight variations and calorie intake as you progress in your diet.
OpenPGPComment
Version: 1.5.2
License: Perl Artistic License
Project Page
Description: OpenPGPComment is a Movable Type plugin that allows MT powered blogs to support OpenPGP signed comments. The system saves the PGP comment as-is into the MT database. When listing down the comments to an entry, the PGP related details are stripped away and only the actual comment is show. Details of the PGP comment in its original form can be got by following the [OpenPGP Signature] link next to the comment. This unaltered post can be used to verify the signature. Optionally, the plugin can even perform a server side verification of the comment.
PbaseUpload
Version: 0.4 (build 2005022409)
License: GPL 2.0
Project Page
Description: This is a Microsoft Windows utility that can be used by Pbase.com users to upload their pictures into the "InBox" or any other album within the root directory, of their pbase.com account without having to fire-up their browsers, log into pbase.com, select the files to upload etc.
PBase Recent RSS (retired)
Version 1.0
License: GPL 2.0
Source
Description: Perl script to screen-scrap the PBase user's recent gallery page and produce an RSS feed out of it.
What's Playing (retired)
Version: 1.4
License: GPL
Project Page - What's Playing at Sourceforge.Net
Description: What's Playing is a Winamp 3 plugin that outputs a file containing the songs played in the current Winamp session. It allows the user to specify the locat ion of the output file and to call any command every time this file is updated. Parameters can also be passed to this command. An example of the command that can be used would be the FTP executable and the parameters could be the session settings for your remote website. What's more, you can even generate a HTTP (POST) request with the details of the present playlist to feed the data to some Perl/PHP script on your remote server. What's Playing v1.3 has the ability to output numerous details of the songs, including Song title, Artist name, Album name, Genreo , Year, Comments, Song length (in mm:ss format)
[Update] Since AOL has stopped supporting and developing Winamp 3, some developers have taken it on themselves to code up wasabi. Hence I have compiled What's Playing with wasabi sdk499g. Related notes and binary.
Intelli-Aggie (RSS Aggregator)
Version: Pre-Alpha 1.0
License: GPL
Download: Intelli-Aggie Pre-Alpha 1.0
How it works: Design and algorithms explained
Description: Intelli-Aggie is a proof-of-concept RSS feed aggregator and sorter that does the following:
- Fetches user defined RSS feeds.
- Categorises news items in the feeds into user defined categories based on user defined keywords.
- Generates list of these news items grouped in various views. For an example output, check this earlier post of mine.
- The most novel thing about Intelli-Aggie is that the system tries to adapt according to the reader's reading preference, trying to show him/her more interesting and relevant news items first.
- MySQL database (latest 3.x or 4.x stable release)
- Perl (*nix Perl or Windows Active Perl)
- Perl modules- DBI, Date::Calc, Config::Simple, LWP
- Apache web server or any other webserver that can server Perl based CGI files.
- User ability to create database and tables and to insert,update and delete data in these tables.
- User ability to run CGI scripts.
- Knowledge of Perl and MySQL.
- It would be good if you can run crontab (*nix) or schedule tasks (Windows).
Please note that this is still very raw system. Do not use it if you are not prepared to get your hands dirty, a bit. If you have decided to to take the plunge, do read the "readme.txt" to understand how much flexibility is inbuilt into the system and how you can tweak things around.
Nauka System
Version: 1.1
License: GPL
Download: Nauka: XML-RPC to BlogPortal Ping Interface Bridging System
Description: This system acts as a bridge between your MT installation and Kamat Blog Portal's Ping Interface. Thus, once you have this system setup, you will not have to manually ping Blog Portal. Instead, your MT will do it for you.
Please note that I assume you have good knowledge of Perl and Unix. This release (1.1) supports versions 2.63, 2.64 and 2.661 of MT. The installation process involves the replacement of a very important MT file (MT.pm) with an edited one. Please keep a backup copy of the original MT.pm when makingthe changes.
What's Playing and Amazon Recommendation script (retired)
Version: 1.0
License: GPL
Download: What's Playing Perl Script
Description: This perl script does two things. First, it accepts the data from What's Playing Winamp plugin and outputs it into a local file. This file can then be used as you like, for say, inclusion using SSI. The script as such only supports Artist, Album, Song Title and Length data, but you can easily modify it to fit your output needs. The second part of the script does something more "useful" by querying the Amazon database (using the Amazon webservice APIs) and finds out albums that are similar to the ones you are listening to right now! For this to work however, you will need to register and get a API Token for using the Amazon Webservices.
You can take a look at a sample output of my Winamp Playlist and Amazon Recommendation generated using this script.
Hack of Operahotlist2html
My Version: 2.9_myv1
License: GPL
Download: Hack of Operahotlist2html
Description: This is my hack of the original Operahotlist2html script to get do couple of extra things, like list down the bookmark folder names on top of the HTML page generated as a menu. Note that I worked on version 2.9 while the current version is 2.11. So all the bug fixed in intermediate versions will still presists in this version. I use this script every day on my Win2K and WinXP machines on Opera 7.5 preview 1 (and now preview 2) release. An example HTML produced can be seen here.
I used the following command to create the HTML file
perl operahotlist2html.pl --unsort-folder-list -i "opera6.adr" -o "out.html" --header=" "
Google Search Comparison
Version: 1.0
License: GPL
Download: Google Search Comparison Perl script
Description: A Perl script that uses the Google APIs to search Google for a particular keyword. The URL and Title of the result is then stored in a local file. Then the CRC of these results are calculated and stored too. Thus, the next time you search for the same keyword, a comparison of the new and saved CRCs lets you know whether the search results have changed. The script was coded in Win32 environment using Active Perl and uses GoogleSearch and String::CRC Perl module.
Rediff.com RSS Feed Generator (retired)
Version: 1.0
License: Artistic
Description: If you are like me, you may be using some kind of RSS reader to keep updated on news and weblogs. Since Rediff.com did not have an RSS feed, I decided to hack a script to fetch the main page of Rediff and generate RSS feed of the first 10 headlines.
Download:
- The hourly updated RSS feed - [Download]
- The script to generate the RSS feed (in Perl) - [Download]
- Point your RSS reader to fetch this URL http://www.srijith.net/rediff.rss
- The update frequency is once in an hour.
Arts & Letters Daily and SciTech Daily RSS feed generator
Version: 1.0
License: GPL
Description: Perl script to make RSS feeds for Arts & Letters Daily and SciTech Daily.
Download:
- Arts & Letters Daily RSS feed generator
- SciTech Daily RSS feed generator
OPML to HTML converter
Version: 1.0
License: GPL
Description: A Perl script to convert the OPML file rendered by RSS Info Aggregator to HTML. It is not an original work and borrows a lot from the MTBlogRoll script by Susong.
Download: here
Modified BlogTimes
Version: 1.0
License: GPL
Description: A quick hack of BlogTimes Movabletype plugin to show time line of posts per days of month rather than the original minutes of day. More details in this blog entry.
Download: the modified BlogTimes MT plugin
NewsGrabber Perl module (retired)
Version: 1.0.31
License: Artistic
To take the coding of newsgrabber scripts to the next level, I have been maintaining a project at Sourceforge.Net , named Backend News. Stable Version 1.0.31 of the Perl module, named NewsGrabber, was released on 30th March 2002. You can download the Perl modules from backendnews.sourceforge.net or from the local copy here :
[NewsGrabber-1.0.31.tar.gz]
[Using_NewsGrabber-1.0.31.tar.gz]
Sig Maker
Version: 1.0
License: GPL
[Download]
Description: The script to create random email signatures for you. You can choose your signature style between a simple sig, a standing ascii cartoon and a sitting ascii cartoon. Use it with Colossal Quotes (details below) to get cool dynamic email signatures.
Colossal Quotes
[Download]
This zipped file contains quotes that I have collected from all over the internet. As of now it contains over 12,300 (yup.. you read it right!) quotes, covering variety of subjects. Each quote is in seperate line. It is ideal for use in automatic e-mail signature creation.
SunOS Port for Notifyme
Notifyme is a console utility that stays in a background (it isn't a daemon but it doesn't block terminal) and prints a message if a specified login and/or logout occurs. Since my Univ. server are mostly Solaris, I hacked up some codes to get Notifyme to work with SunOS machines.The whole modified code is in [notifyme-1.4.1-SunOS. tar.gz] file, while the diff with respect to the original code is in [notifyme-SunOS.patch].
Circumventing MP3 Voyeur's Dial Home "Functionality"
Version: 1.0
Read here
Description: MP3 Voyeur is a crawler for searching for specific file extensions in a LAN environment. However, at every startup, this tool tries to connect to a server and make sure that the latest version is being used. This can be troublesome for people who are behind a proxy and who needs to authenticate at the proxy level, because MP3 Voyeur does not support proxy authentication process. This document discusses a method to circuvent this dial-home feature.
MP3 Voyeur Web UI
Version: 1.12
License: GPL
[Download]
Description: This set of script can be used to create a web based searchable front end to the data collected using MP3 Voyeur. The data is stored in MySQL databases and the search is done on these database. Includes script to populate the database as well as web based search.
Scoop patches
Project page
I am no longer involved in scoop development. Find in here some of the patches I had hacked for Scoop long time ago. One of the biggest functionality I added was the email digest feature for members. To read more on the use of these patches, read my Scoop development diary.
