Archive for the ‘Technology’ Category

Jar Clean Up Story

I’m pretty happy with moving some common Java libraries out of the project source folders.
I have about 4 branches of the same project checked out. Each of them were about 57mb a piece. I noticed this while I was trying to sync my projects to a remote server. (I hate slow running scripts)
I managed to [...]

SQL Play with Firefox 3 Places

I heard good things about Firefox 3. Now that I’ve got Ubuntu 8.04 I thought I’d try a few commands.
1. Get the places database
2. open with sqlite
3. query the bookmarks table

cp .mozilla/firefox/xxxxxxxx.default/places.sqlite .
sqlite3 places.sqlite
sqlite> .tables
moz_anno_attributes moz_favicons moz_keywords
moz_annos [...]

Make Windows Shortcuts with Cygwin

Did you know that you can make Windows shortcuts with Cygwin and ln? I did not know this, just tried it out today and it works!
This is probably the smallest thing I’m blogging about, but read on you might get some new ideas (like I did) about file organization in Windows. I swear some days [...]

Things to do on Earth Day and Beyond

April 22 is Earth Day so I thought of spending my lazy Sunday morning looking at how to save the world! Here is what I came up with.
Lighting
Change to CFL bulbs for long running locations. I’ve noticed they bust sooner for short running lights like in the store room and bathroom. I’ve switched to [...]

Speed up Firefox Startup with Firefox Preloader

My Firefox startup was slow. Its one of my primary applications as a web developer so its very important that it runs well.
I found Firefox Preloader and it did the trick. It cut down my initial startup time to a few seconds.
One more thing. It turns out I’ve been blogging here for a year now [...]

Drag and Drop from Eclipse Navigator

My primary editor is Eclipse, EasyEclipse for PHP flavor to be exact. I usually open another few Windows Explorer windows to move files around.
Today out of shear laziness I dragged a file from Eclipse Navigator to my open WinSCP tab in the task bar and into the remote site. It worked! That’s my tip.

FireShot

Just found FireShot a cool Firefox extension. You can take screen shots of web pages, annotate it and do much more. Should be very useful for sending feedback to a web designer etc.
From the developers:
FireShot is a Firefox extension that creates screenshots of web pages. Unlike other extensions, this plugin provides a set of editing [...]

Getting on Git

I’m trying out Git. Its a distributed version control system originally written by Linus Torvalds. I also looked at SVK and Mercurial but settled with Git since it’s commands made more sense to me.
I was happy with Subversion since 2004. Working alone with my notebook and client servers it has been very useful. Now the [...]

Easy Passwordless Shell Logins

Summery
In brief if you have new ssh client and server applications on 2 clean systems, you should be able to authenticate yourself using these 2 commands.

ssh-keygen
ssh-copy-id user@server

Once you are authenticated you can hop around computers more easily and run unattended tasks like backups without passing passwords around.
Background
We just got a few more servers at work [...]

Right Time

Sri Lankans are not known to keeping to the right time, but at least you can try to keep your computers so.
On Windows XP if you double click on the clock in the task bar you will get a dialog that has a “Internet Time” tab. Both time servers in this screen was not working [...]