Git Configuration

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

Pep8 and pyflakes in emacs — Reinout van Rees website.

This is a useful way to combine pyflakes and pep8 in emacs.

SimpleCV

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.

  • Install gfortran via brew
  • export CC=gcc-4.2
  • export CXX=g++-4.2
  • export FFLAGS=-ff2c
  • build/install 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.

Accessing MySql From SBCL

While playing around with weblocks, I stumbled across this writeup on how to access a mysql database via sbcl.

 

Accessing MySql From SBCL.

WordPress plugins….

I just discovered Jetpack.

It has some nice features. Gravatar support, options for embedding media and LaTex support for some fancy formatting options. LaTex example under the cut….
Read more

Get Organized with Emacs Org-mode | Linux Journal

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.

Get Organized with Emacs Org-mode | Linux Journal.

EmacsWiki: Icicles

This is a fantastic extension to how the minibuffer works.

 

EmacsWiki: Icicles.

OS X path fun in emacs

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

Deft

Here’s an interesting emacs extension for navigating notes and freeform text.

 

Deft.

Puppet resources

Found a fantastic resource for puppet.
Puppet Cookbook.

Return top

Observations On Development

Mostly this is for me to refer to as I teach myself different technologies.