#0A0F14,#10151B,#265360,#D4EBE9,#D26939,#9BD1CE,#EDB54B,#C33027
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XMonad | |
import Data.Monoid | |
import Data.Ratio ((%)) | |
import System.Exit | |
import System.IO | |
--import XMonad.Actions.Navigation2D |
I hereby claim:
- I am TrevorBramble on github.
- I am TrevorBramble (https://keybase.io/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:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
exit 1, 'no markdown file specified' if ARGV[0].nil? | |
require 'bundler' | |
Bundler.setup | |
Bundler.require | |
configure do | |
set converter: ARGV.fetch(1, 'markdown-calibre') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
1.8.17 | |
temp (ree-1.8.7-2012.02@global)$ which gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'open-uri' | |
require 'simple-rss' | |
if ARGV[0].nil? | |
puts "Provide a Twitter screen name"; exit; | |
else | |
screen_name = ARGV[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
if (! isset($argv[1])) | |
exit("Provide a Twitter screen name\n"); | |
else | |
$screen_name = $argv[1]; | |
$file = $screen_name.'_tweets.txt'; |