Skip to content

Instantly share code, notes, and snippets.

@mattfinlayson
mattfinlayson / answer1
Created January 3, 2012 02:15
Jekyll with YAML errors
fgrep -R title: * | awk '{$1 =""; print }' |grep :
Awesome Blog: I keep a diary
Tutorial: Use Coda with locally stored Django documentation - Small Victory
Liquidware Antipasto: The First 10 Things Everyone Does with their New Arduino
How to: Delete all photos off an iPhone by Colin Devroe
visualvm: Home
The Nation: The Migration Back To Local Banks : NPR
30 Hour Drunk: Do You Have What it Takes?
rentzsch.tumblr.com: Pages-Only GitHub Projects
rentzsch.tumblr.com: Pages-Only GitHub Projects
@mattfinlayson
mattfinlayson / gist:1530870
Created December 29, 2011 01:01
iconv errors running jekyll on os x
rake generate
## Generating Site with Jekyll
directory source/stylesheets/
create source/stylesheets/screen.css
/Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:22:in `require': no such file to load -- iconv (LoadError)
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:22:in `<top (required)>'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/maruku-0.6.0/lib/maruku.rb:85:in `require'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/maruku-0.6.0/lib/maruku.rb:85:in `<top (required)>'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll.rb:26:in `require'
from /Users/BLARG/.rvm/gems/ruby-1.9.2-p290/gems/jekyll-0.11.0/lib/jekyll.rb:26:in `<top (required)>'
@mattfinlayson
mattfinlayson / gist:1525969
Created December 28, 2011 03:04
Setting up puppet with passenger
Setup your puppet.confMake sure you have the following set in your puppetmaster’s puppet.conf:
[puppetmasterd]
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
Install apache2, passenger, and rack
yum install httpd httpd-devel ruby-devel rubygems
yum install gcc-c++
gem install -v 1.1.0 rack
gem install -v 2.2.15 passenger
@mattfinlayson
mattfinlayson / gource.sh
Created December 13, 2011 18:37
Setting up Gource on OS X
brew install sdl sdl_image glew pcre
cd gource
./configure
make
sudo make install
cd ..
brew install ffmpeg
mkdir ~/.ffmpeg