Newest Project Launch

playlist.maxfm.fm

My newest client project just launched! playlist.maxfm.fm is an app for a radio station to allow its user's to create playlists to air on the radio.

More details here

Comments are welcomed as always.

Popularity: 6% [?]

    Categories: projects     No Comments »

Jeez People, Stop Fretting Over Installing RMagick

Rmagick. It sucks, I know. We all hate it. But you have apps that depend on it and haven't changed that yet. So you need it installed for development. And you hate installing it.

But really, its not that installing RMagick sucks, its installing ImageMagick that sucks. Its hard. But the only thing worse than hard, is stupid ass MacPorts. Which is ********.

So all I hear is people complain over and over about having to install it. Meanwhile there has been a script to install ImageMagick and RMagick on OS X forever, but people just don't seem to know its there.

I tell people about it and they just ignore me and then complain about installing RMagick to me later on!! WTF?!

So, I've had it. When you format or get a new computer go here: http://rubyforge.org/frs/?group_id=12&release_id=21634

Download rm_install

Now, once its downloaded. Do this:

sudo ruby rm_install.rb

and let it run forever. Done. Pretty easy right? There. PLEASE USE IT. Its a fantastic script that works really well. Its not hard to install ImageMagick anymore! Dance!

Popularity: 7% [?]

    Categories: Uncategorized     No Comments »

BeCamp 2008

becamp 2008

BeCamp 2008 is this weekend in Charlottesville, Va. I'm pretty excited since this will be my first BarCamp. It seems that every time I have a chance to go to one the timing has been bad.

If you're in the area, defiantly come up for what is going to be a great time. I'm planning on doing a demo of my sweet barcode scanner integration.

Mustache is sponsoring breakfast on Saturday morning. So if you see me, come say hi.

Popularity: 13% [?]

    Categories: Event, Talks, Uncategorized     No Comments »

Show Your GIT Branch Name In Your Prompt

Typing git branch over and over to see what branch you are on sucks. Sure, you could argue that you should always KNOW what branch you're currently working on. And if you did, you would obviously not be a git user.

Bouncing around branches can be pretty common, and I know I've messed some things up pretty bad not knowing what branch I was on.

So set up your shell to always put the name of the current branch into your prompt.

function parse_git_branch {
  git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
}
 
function proml {
  local        BLUE="\[\033[0;34m\]"
  local         RED="\[\033[0;31m\]"
  local   LIGHT_RED="\[\033[1;31m\]"
  local       GREEN="\[\033[0;32m\]"
  local LIGHT_GREEN="\[\033[1;32m\]"
  local       WHITE="\[\033[1;37m\]"
  local  LIGHT_GRAY="\[\033[0;37m\]"
  case $TERM in
    xterm*)
    TITLEBAR='\[\033]0;\u@\h:\w\007\]'
    ;;
    *)
    TITLEBAR=""
    ;;
  esac
 
PS1="${TITLEBAR}\
$BLUE[$RED\$(date +%H:%M)$BLUE]\
$BLUE[$RED\u@\h:\w$GREEN\$(parse_git_branch)$BLUE]\
$GREEN\$ "
PS2='> '
PS4='+ '
}
proml

Pastie Link

Put this at the top of your .bash_profile and you'll be pimping your branch all over.

Thanks to @defunkt for this.

Popularity: 28% [?]

    Categories: GIT, Snippets     6 Comments »

GIT Intro Tonight @ CVREG

I will be giving a talk on GIT at tonights CVREG meeting.

If you've been reading about GIT lately and haven't had time to get your feet wet, come by to learn a little and see how it works. I'll be going over the benefits of GIT as well as doing some live demos to show how nice its silky smooth features work.

More info on the upcoming page

Popularity: 22% [?]

    Categories: CVREG, GIT, Ruby, Talks     No Comments »