Increase the max number of processes

I ran into this problem earlier today. This will increase the number of processes at a time, above the default 256. w00t. echo ‘limit maxproc 2000 2000’ | sudo tee -a /etc/launchd.conf sudo reboot

Finally starting to get git, at 1% at least

I work on a project on both my desktop and laptop. Each one tracks remote origin, but sometimes I do work on my desktop and want to continue it on my laptop. So, here goes. This might be totally bogus, but it appears to work. Maybe some git-gurus can improve? Lets setup my laptop add […]

macports: git-upload-pack: command not found

When doing a git clone from a repo hosted on a Mac OSX machine (installed using macports), I get this error on the client (Linux, cygwin, whatever): git-upload-pack: command not found Solution is to do this on the OSX machine: cd /usr/bin sudo ln -s /opt/local/bin/git* . Blatently stolen from this guy: http://soniahamilton.wordpress.com/2009/11/19/macports-git-upload-pack-command-not-found/

Also, better git macports install

But with XCode 4, who needs it? sudo port install git-core +svn +doc +bash_completion +gitweb

Git bash prompt

This is super useful: export PS1=”\[\033[38m\]\u@\h\[\033[01;34m\] \w \[\033[31m\]\`ruby -e \”print (%x{git branch 2> /dev/null}.grep(/^\*/).first || ”).gsub(/^\* (.+)$/, ‘(\1) ‘)\”\`\[\033[37m\]$\[\033[00m\] ” Stolen from here: http://asemanfar.com/Current-Git-Branch-in-Bash-Prompt And this is even more useful! This shows the dirty non/dirty state too! function parse_git_dirty { [[ $(git status 2> /dev/null | tail -n1) != “nothing to commit (working directory clean)” […]

Goodbye, AOL

After 7 exciting years at AOL, I’m moving on, leaving behind some awesome people and great products. As part of my spring cleaning, I’ve decided to clean up justinsc.com. That means putting up a blog. Now, I’m a terrible blogger. I can’t write well, and I don’t have that much to say. So, this is […]

this is a test of really long posts

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur posuere pellentesque faucibus. Pellentesque nec turpis diam, eget dapibus lectus. In hac habitasse platea dictumst. Phasellus nunc leo, convallis id iaculis eget, fermentum id tellus. Phasellus posuere, diam sit amet luctus rhoncus, turpis tellus bibendum orci, vitae molestie massa mi in nulla. Duis imperdiet aliquam eros […]

What’s this blog for?

I’ve tried to blog before, and it never really works for me.  I just don’t have enough interesting things to say.  I do, however, occasionally run into solutions to problems that I want to save somewhere.  Since I find so much help searching Google for others peoples solutions, I figured I should do the same. […]