git tips and tricks...

This is a sweet way of getting current git info in your prompt in OS X…this saves me from those “damn, I’m on the wrong branch…” moments - http://www.codethatmatters.com/2010/01/git-autocomplete-in-mac-os-x/

Published on Mon, 17 May 2010 11:28

using git with a proxy

Some of us are stuck behind a corporate firewall, but need to access all the great little github plugins through git!  So what do you do?

Create the following wrapper:

( ~/bin/proxy-wrapper ):

!/bin/sh

Put your own values

PROXY_IP=127.0.0.1 PROXY_PORT=1090
nc -x${PROXY_IP}:${PROXY_PORT} -X5 $*

and add this to your ~/.profile or ~/.bash_rc etc…

export GIT_PROXY_COMMAND=~/bin/proxy-wrapper

I stole this solution from http://blogs.gnome.org/juanje/2009/07/17/git_behind_proxy/ Cheers, Dave

Published on Mon, 03 May 2010 09:38

Security on Rails is Beta!

Our book is now available as a Pragmatic Bookshelf Beta - Security on Rails

Published on Fri, 16 Apr 2010 10:20

0% Interest for 6 Months

Rapid Application Development is not a technology, but it is a mindset that is prevalent in a very small percentage of developers.  This mindset involves an obsession with code quality and never letting the code base get out in front of the developers.  It’s the same mentality that "The Millionaire Next Door" preaches - save money, don’t accumulate debt, live below your means, etc…  
 
We win the race of great software through diligent unit testing, refactoring, coding standards and frequent releases.  Any tool or toolset that doesn’t allow us to manage the source code at a source code level will only detract from this ability to deliver great software.  Sure, we can use RAD tools that generate copious amounts of code.  But that code becomes stale, and it doesn’t evolve with our software.  It’s a lot like 0% interest financing.  It’s a way to get something that doesn’t have a fiscal impact in the first 6 months of ownership.  But those payments are due after the 6 months pass - with accrued interest.

Published on Mon, 25 Jan 2010 11:34

Coding without Unit Tests is like using a Credit Card

Occasionally I find myself a few days (or sometimes weeks) into some piece of code that I’ve been working on without good test coverage. I just realized that it’s the same feeling I get when I use a credit card. I know I’ll be in trouble if I don’t take care of it ASAP.

Published on Fri, 30 Jan 2009 11:29

RSS