Skip to content

Instantly share code, notes, and snippets.

View brandonpittman's full-sized avatar

Brandon Pittman brandonpittman

View GitHub Profile
#!/usr/bin/ruby
require 'rss'
# Usage
# $ ./railscasts.rb http://railscasts.com/subscriptions/YOURRAILSCASTRSS/\/
# episodes.rss
# OR
# $ ./railscasts.rb
p 'Downloading rss index'
@brandonpittman
brandonpittman / Insert_Markdown_Link_of_Evernote_Note_into_BBEdit.applescript
Last active December 21, 2015 12:58 — forked from fractaledmind/Insert Markdown Link of Evernote Note into TextEdit
Paste a Markdown link to either the selected note in Evernote or any other note into BBEdit.
@brandonpittman
brandonpittman / open_here.applescript
Created August 17, 2013 00:49 — forked from rwilcox/open_here.applescript
Fixed script to work even when a terminal window isn't already open.
tell application "BBEdit" to set theFile to file of document 1
tell application "Finder" to set theFolder to (container of file theFile) as alias
set theUnixPath to POSIX path of theFolder
tell application "iTerm"
make new terminal
tell the first terminal
-- launch a default shell in a new tab in the same terminal
launch session "Default Session"
tell the last session