Skip to content

Instantly share code, notes, and snippets.

if (! isset($argv[1]))
exit("Provide a Twitter screen name\n");
$screen_name = $argv[1];
$file = $screen_name.'_tweets.txt';
#!/usr/bin/env ruby
require 'rubygems'
require 'open-uri'
require 'simple-rss'
if ARGV[0].nil?
puts "Provide a Twitter screen name"; exit;
screen_name = ARGV[0]
TrevorBramble / gist:1981223
Created March 5, 2012 21:30
rvm bin path cry cry cry
temp (ree-1.8.7-2012.02@global)$ gem install bundler
WARNING: You don't have /home/trevor/.gem/ruby/1.8/bin in your PATH,
gem executables will not run.
Successfully installed bundler-1.0.22
1 gem installed
Installing ri documentation for bundler-1.0.22...
Installing RDoc documentation for bundler-1.0.22...
temp (ree-1.8.7-2012.02@global)$ gem -v
temp (ree-1.8.7-2012.02@global)$ which gem
TrevorBramble / mddy.rb
Created March 2, 2013 00:26
auto-updating render of markdown file as html
#!/usr/bin/env ruby
exit 1, 'no markdown file specified' if ARGV[0].nil?
require 'bundler'
configure do
set converter: ARGV.fetch(1, 'markdown-calibre')

Keybase proof

I hereby claim:

  • I am TrevorBramble on github.
  • I am TrevorBramble ( on keybase.
  • I have a public key whose fingerprint is 18E5 D91B AB0A 1D2F 902A 4DAF 1565 9B7D B026 2ACE

To claim this, I am signing this object:

TrevorBramble /
Last active November 30, 2019 11:15
Slack color theme based on vim-gotham


import XMonad
import Data.Monoid
import Data.Ratio ((%))
import System.Exit
import System.IO
--import XMonad.Actions.Navigation2D