Archive for 'code'

How to find the size of a database table

Seems there are lots of ways of doing this, but this worked for me (on an Oracle DB). It returns the size of the database table in megabytes: select bytes/1024/1024 from user_segments where segment_name=’<table_name>’

Importing a user’s address book with Plaxo

Importing a user’s address book with Plaxo

Despite sounding like a mouthwash, Plaxo is a nifty tool that can be embedded in any site to allow a user to select contacts stored in their address book on Yahoo! Mail, GMail, Hotmail and others. Plaxo interfaces to all of these sites for you so that you don’t have to write code for several [...]

Playing with Python

For something I was playing around with at work, I wanted to be able to retrieve an rss feed, parse it and post the title/description fields to another website site at timed intervals. These days I only really write in Java and JavaScript but Java seemed like such a longhand way to achieve this. I [...]