Syndicate this site. Individual category archives are available too. Recent Entries

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
Associate filetypes to VIM
Google Visualizations quick start
Nikon Coolpix 2500: White Balance Gone Outdoors
SCM backed blogging - part II
Austerity?

Blogroll: Other sites I read.



Archives

Categories: with XML
Monthly

January 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.

Movable Type: A personal blogging system

Quick Bazaar on Windows over SSH

Easy notes on Bazaar+sftp

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.

November 26, 2009

Do not use GET for form processing!

I thought everyone knew this. But recently I went to a site -- that is written by really smart Unix guys -- and was shocked to find that every single form is posted via "GET". Not "POST". This includes login form, billing information form (yes, the one with your credit card#) etc. It is absolutely insecure. Yes, the server is under HTTPS, but that is of no use here.

Why is it insecure? When you do a GET all the parameters are in the URL, in plain text. And the URL gets stamped in your browser history, web server access logs (we may be able to assume that the server is reasonably secure) and more scarily, in the logs of any proxy servers that are in the route.

More »

November 12, 2009

Portable development links

November 09, 2009

Wish I had this 10 years ago

Pipe Viewer via IBM dW

In 1995, I got into a data warehouse project and all the ETL was through some bunch of shell utilities followed by sql*loader. This certainly would’ve helped!

November 05, 2009

SVN client over SSH to remote Unix server from Windows

I needed to get a quick way to work with a personal version control system accessible from multiple computers running Linux or Windows. Ideally, I’d have liked to use Mercurial (light, easy, no great GUI available) or Bazaar (thicker, slower, good renaming capabilities, just about the best GUI available) or Git (fast, not a bad GUI, portable MSYS port is pretty good). However, my hosting provider provides only CVS or Subversion and I didn’t want to install any of the above ones from source under my account. Nor do I want to run any server for this. Things should work with plain SSH. Initial approach was to create an SVN repository on the server and then access this from my computers using SSH. I tried getting svn+ssh pull for all of these above and couldn’t get to work quickly enough on my Windows XP box. Had to then settle for an SVN client. Turns out that it is little tricky. Given below are the quick steps I followed to get this working.

Just a personal preference - I don’t prefer using any of the Tortoise*GUIs. GUI as such is fairly nice, but I don’t generally like installing shell extensions on Windows. Ideal solution for me would’ve been the ability for any of these to init a repository on a remote filesystem by SSH - couldn’t find it out though.

More »

November 02, 2009

Associate filetypes to VIM

This has to be the best VIM tip for Windows - Windows File Associations. For example:

assoc .otl=outliner
ftype outliner=c:\tools\vim\vim72\gvim.exe --remote-silent "%1"

Older Posts