Git Configuration
- December 2nd, 2011
- Write comment
Quick tips for setting up a git repo.
git config http.receivepack true
git config http.postBuffer 524288000
git config http.sslVerify false
Quick tips for setting up a git repo.
git config http.receivepack true
git config http.postBuffer 524288000
git config http.sslVerify false
Pep8 and pyflakes in emacs — Reinout van Rees website.
This is a useful way to combine pyflakes and pep8 in emacs.
I spent some time setting up SimpleCV on OS X Lion. I did all this in a virtualenv so I didn’t junk up system paths.
Lion comes with numpy. I needed scipy.
After scipy was installed, I needed pygame.
brew install sdl sdl_image sdl_mixer sdl_ttf smpeg portmidi
pip install hg+http://bitbucket.org/pygame/pygame
Once that was done, I needed ipython for the interactive shell. 0.10 works.
At this point I can grab images off the camera and explore the api.
While playing around with weblocks, I stumbled across this writeup on how to access a mysql database via sbcl.
I spent a while tonight introducing myself to org-mode in emacs. I’ll have to play with it a little bit, but I’m very much a list guy already, and this pulls together a bunch of plaintext notes I already have.
I just spent a little while trying to figure out why I couldn’t list my gpg keys inside emacs. It works fine in linux. Gpg was in my path on OS X.
The important thing to remember is that in OS X, your $PATH in your shell and the $PATH set when starting an app via the finder are not the same.
Also note that even if you call setenv and update your path after emacs has started, it might not be enough. Emacs also has an exec-path, which must be updated separately in order for exec calls to commands to work. Example under the cut.
Just to be clear, I am adding things to PATH and then updating exec-path just so that I keep them the same. Technically I suppose I could just update exec-path and then use gpg from the tools menu.
Read more
Found a fantastic resource for puppet.
Puppet Cookbook.