Quick script to maintain a diary
Bicycle Diaries - I
Simple MongoDB+Java example
Cisco's new urbanism
Labelling in Outlook 2003 ala Gmail
Quick Bazaar on Windows over SSH
Do not use GET for form processing!
Portable development links
Wish I had this 10 years ago
SVN client over SSH to remote Unix server from Windows
Blogroll: Other sites I read.
Categories: with XML
Monthly
| July 2010 | ||||||
|---|---|---|---|---|---|---|
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Disclaimer: These are my personal views, opinions and experiences. These do not reflect the views or experiences of any of my employers or clients.
I like to keep my daily notes in a folder in the filesystem with filenames yyyymmdd.otl, using VIM Outliner. Here is a small DOS script to make a file for a day if it doesn’t exist and then open it. Name it as diary.cmd and keep in your path.
More »Once I entered work life, physical activity was pretty much restricted to keyboard and mousing. I hate running. I like only Cricket, Badminton and Table Tennis for sports. All need others to be available. I love to swim, but in Bangalore where I stay, it is not very convenient. I used to enjoy cycling when I was in school. Some six months ago, bought one (Hercules ACT 104). Rode it on and off for 4-5 short trips. While it is enjoyable, I never stuck to a routine. Since I am on vacation now, I thought I will attack it as a 2 week project and see if I can actually do it.
If you are a fitness freak, don’t bother. I am talking about 5km as a goal - if you routinely do 15km+, you might find this quite boring.
More »MongoDB is pretty slick for ease of use and scalability. As part of figuring out how to interface with MongoDB, I wrote a simple Java class that gives you an idea about how to create a collection and do CRUD on that. See below. Quite a bit of information is available on the web, but I thought a sample that shows off all the basic things will be useful. Good link - notes from a production mongoDB deployment
More »Fast Company’s article about Cisco’s vision for New Songdo is a fascinating read on smart cities. Perhaps all connected, with all the apartments being able to do lot with network via great functional phones feeding off mobile platforms?
I found that moving mails into project folders, when the mails are still on an open topic takes too much time. Gmail’s "label" idiom really helps in this situation. Turns out we can do that with Outlook 2003 too with some small macro work. First, see my entry on how to put macros and arrange toolbar in Outlook 2003. Then add the following macro to the module. Duplicate the second subroutine to as many as you’ve categories and then put toolbar entries for each of those. I think you should be able to do with less than 10 categories. At times you may get mails on an old subject, which you can just read and act and archive directly without tracking it.
Sub SetCategory(strCat As String)
Dim Item As Object
Dim SelectedItems As Selection
Set SelectedItems = Outlook.ActiveExplorer.Selection
For Each Item In SelectedItems
With Item
.Categories = strCat
.Save
End With
Next Item
End Sub
Sub SetCategoryAdmin()
SetCategory ("Admin")
End Sub
More »
Quick notes on how to set up a version control system using Bazaar with just SFTP and Windows client.
For more info, read Bazaar doc.