Tuesday, January 19, 2010

Launch Tortoise Repo Browser easily

This is a useful trick for tortoise users on Windows but the same technique probably applies just as well to Linux and other platforms that run tortoise. This lets you create a launch icon that directly launches the repo browser. The command to do so looks something like this (your path will be different):

TortoiseProc.exe /command:repobrowser /path:"url:svn://svn.somehost.com" /notempfile

Just take this command and create a quick launch icon or desktop shortcut. Upon clicking it, repo browser! You may need to add the full path to TortoiseProc.exe. On Linux or other platforms, you will have to make adjustments accordingly but the same idea still applies.

Monday, January 18, 2010

Refresh cached javascript and css in Firefox

This morning I found myself struggling to get a simple change to some javascript to show up on a web page I was authoring. I was using that old trick where you hold down shift and refresh the page which, at one time in history, I swear, forced Firefox to re-request the included javascript, css, and possibly other types of externally included files in a web page. Well, it wasn't working and before deciding it would be best to punch myself in the face and go get another cup of coffee, I googled on the topic a little. It didn't take much to find out there is a trick to this technique that, for years, either I never knew, or it is a newer "feature". To the point, you must hold down the shift key the entire time the page is loading. I had been holding shift, clicking the refresh icon, then letting go and allowing the page to load and that wasn't enough to tell firefox to re-request my javascript include file. Once I held shift the entire time the page was loading, I got my changes. Seriously, Mozilla. Seriously? I don't remember this being a problem in the past but maybe I just never noticed either. Good luck!

Sunday, January 17, 2010

Android ssh app

The only ssh client I have used on my android G1 is called connectBot. At the time of this writing it was free. With any luck, it is still free and will remain so.

It works very well. In hitting a red hat box, I had dircolors, bash command line history by rolling the scroll wheel up, and pretty much what I expect from an ssh client.