Skip to content

Instantly share code, notes, and snippets.

Christopher Bowns cbowns

Block or report user

Report or block cbowns

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View backup.rb
# first you'll want to create a gist then `git clone` the private url
# second you'll want to run this script in the gist's directory
loop do
`git commit -a -m save && git push origin master`
sleep 60 * 4
end
View backup.rb
# first you'll want to create a gist then `git clone` the private url
# second you'll want to run this script in the gist's directory
loop do
`git commit -a -m save && git push origin master`
sleep 60 * 4
end
View backup.rb
# first you'll want to create a gist then `git clone` the private url
# second you'll want to run this script in the gist's directory
loop do
`git commit -a -m save && git push origin master`
sleep 60 * 4
end
View backup.rb
# first you'll want to create a gist then `git clone` the private url
# second you'll want to run this script in the gist's directory
loop do
`git commit -a -m save && git push origin master`
sleep 60 * 4
end
View backup.rb
# first you'll want to create a gist then `git clone` the private url
# second you'll want to run this script in the gist's directory
loop do
`git commit -a -m save && git push origin master`
sleep 60 * 4
end
View backup.rb
# first you'll want to create a gist then `git clone` the private url
# second you'll want to run this script in the gist's directory
loop do
`git commit -a -m save && git push origin master`
sleep 60 * 4
end
View backup.rb
# first you'll want to create a gist then `git clone` the private url
# second you'll want to run this script in the gist's directory
loop do
`git commit -a -m save && git push origin master`
sleep 60 * 4
end
View gist:1115893
diff --git a/pageone/pageone.safariextension/singlepage_init.js b/pageone/pageone.safariextension/singlepage_init.js
index 6a13089..a709389 100644
--- a/pageone/pageone.safariextension/singlepage_init.js
+++ b/pageone/pageone.safariextension/singlepage_init.js
@@ -7,7 +7,7 @@ var GM_SPN = {
'theatlantic.com' : [ /\/archive\//, '/print/' ],
'gourmet.com' : 'printable=true',
'details.com' : 'printable=true',
- 'slate.com' : [ /(\/id\/\d+\/)($|pagenum\/\d+.*)/, '$1pagenum/all/'],
+ 'slate.com' : [ /(\/id\/\d+\/)($|pagenum\/\d+.*|\?from=rss)/, '$1pagenum/all/'],
@cbowns
cbowns / api_keys.rb
Created Feb 21, 2012
A script for Xcode 4.x to use API keys stored in ~/.api_keys and insert them into your app bundle’s Info.plist (instead of committing them to a repository)
View api_keys.rb
# An API keys script written by Patrick Gibson (@patr1ck) and Christopher Bowns (@cbowns)
# This script sets API keys in your app's Info.plist from an .api_keys file you keep in your home directory (~/.api_keys)
# This allows you to not check API keys into your source control system,
# or for different developers to use different keys without needing to patch their working copies.
# Installation directions:
=begin
1. Create a Run Script build phase in your Xcode project before Compile Sources
2. Copy and paste this whole script in.
3. Create or modify your .api_keys file to hold your API keys
@cbowns
cbowns / gist:2491479
Created Apr 25, 2012
Public Spaces near Moscone West
View gist:2491479

WWDC 2012 sold out in a matter of hours. San Francisco has lots of privately owned public open spaces during business hours. WWDC Spaces is a place for us to organize a list of good ones near Moscone so developers looking to escape Moscone and non-attendees alike can gather. Leave a comment here and I'll add them to the wiki with links.

SPUR has a list of public spaces downtown. Have you been to one? Leave a comment with info about it! (I can’t visit all of these, though I’m going to try.)

  • 101 Second Street. Yelp.
  • NoiseBridge, 2169 Mission St (Mission between 17th and 18th).
You can’t perform that action at this time.