Skip to content

Instantly share code, notes, and snippets.

View langhorst's full-sized avatar

Justin Langhorst langhorst

  • HealthBlocks, Inc.
  • Farmers Branch, TX
View GitHub Profile

Keybase proof

I hereby claim:

  • I am langhorst on github.
  • I am jerikl (https://keybase.io/jerikl) on keybase.
  • I have a public key ASBSq3d8rhd96mNoTARJBOuQNUc0-CzvZvntXqizJLoRxwo

To claim this, I am signing this object:

xml = Nokogiri::XML::Builder.new { root { location {} } }.to_xml
# Get this:
# => "<?xml version=\"1.0\"?>\n<root>\n <location/>\n</root>\n"
#
# But want to get this:
# => "<?xml version=\"1.0\"?>\n<root>\n <location></location\n</root>\n"
@langhorst
langhorst / .vimrc
Created October 25, 2011 22:11
Justin's VIM Setup
" My .vimrc, by Justin Langhorst.
" This is adapted from Steve Francia's personal .vimrc:
" http://spf13.com/post/ultimate-vim-config
" Setup Pathogen bundle support
" the next two lines ensure that the ~/.vim/bundle/ system works
runtime! autoload/pathogen.vim
silent! call pathogen#runtime_append_all_bundles()
" Basics
@langhorst
langhorst / 01.sh
Created October 25, 2011 16:42
Install rbenv
$ cd
$ git clone git://github.com/sstephenson/rbenv.git .rbenv