Skip to content

Instantly share code, notes, and snippets.

View finack's full-sized avatar

Peter Baker finack

  • San Francisco Bay Area
View GitHub Profile
@finack
finack / newsfeed.opml.xml
Created May 8, 2013 14:46
My current CS reading list
<opml version="1.1">
<head>
<title>NewsBlur Feeds</title>
<dateCreated>2013-05-08 14:38:06.132359</dateCreated>
<dateModified>2013-05-08 14:38:06.132359</dateModified>
</head>
<body>
<outline text="CS : Ruby" title="CS : Ruby">
<outline htmlUrl="http://afreshcup.com/home/" text="A Fresh Cup" title="A Fresh Cup" type="rss" version="RSS" xmlUrl="http://afreshcup.com/home/rss.xml"/>
<outline htmlUrl="http://ruby.awsblog.com/blog/feed/recentPosts.rss" text="AWS Ruby Blog" title="AWS Ruby Blog" type="rss" version="RSS" xmlUrl="http://ruby.awsblog.com/blog/feed/recentPosts.rss"/>
@finack
finack / application.rb
Created March 17, 2012 06:18
Example Chef Deploy Revision for Rails 3+
app = node[:rails][:app]
rails_base app[:name] do
ruby_ver app[:ruby_ver]
gemset app[:gemset]
end
%w{config log pids cached-copy bundle system}.each do |dir|
directory "#{app[:app_root]}/shared/#{dir}" do
owner app[:deploy_user]
@finack
finack / rc.zsh
Created February 2, 2012 17:58
ZSH Prompt w/ VI Cmd Mode and Git status
#https://github.com/olivierverdier/zsh-git-prompt
source ~/.zsh/zsh-git-prompt/zshrc.sh
# makes color constants available
autoload -U colors
colors
# enable colored output from ls, etc
export CLICOLOR=1