Skip to content

Instantly share code, notes, and snippets.

@benb
benb / vim.rb
Created August 24, 2011 20:51 — forked from uasi/vim.rb
Vim formula for Homebrew
require 'formula'
class Vim < Formula
homepage 'http://www.vim.org/'
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2'
head 'https://vim.googlecode.com/hg/'
sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d'
version '7.3.206'
def features; %w(tiny small normal big huge) end
@benb
benb / metaltree.rb
Created December 18, 2012 12:58
Compare metal distances across internal nodes of a tree
#!/usr/bin/env ruby
require 'bio'
require 'tempfile'
@tmp=Dir.mktmpdir
@tree=Bio::Newick.new(File.read(ARGV.shift)).tree
@s1={}
@benb
benb / keybase.md
Created July 19, 2014 19:07
keybase.md

Keybase proof

I hereby claim:

  • I am benb on github.
  • I am bpb (https://keybase.io/bpb) on keybase.
  • I have a public key whose fingerprint is 27D4 6168 0C0D E6B8 DC5B C7BC 9D7C C266 4835 54C9

To claim this, I am signing this object: