Skip to content

Instantly share code, notes, and snippets.

Avatar
🏕️
I’m trying to do my job, please respect my time and attention.

Brandon Pittman brandonpittman

🏕️
I’m trying to do my job, please respect my time and attention.
View GitHub Profile
View pending-link.js
View railscasts.rb
#!/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 Paste a Markdown link to either the selected note in Evernote or any other note into BBEdit.
View Insert_Markdown_Link_of_Evernote_Note_into_BBEdit.applescript
@brandonpittman
brandonpittman / open_here.applescript
Created Aug 17, 2013 — forked from rwilcox/open_here.applescript
Fixed script to work even when a terminal window isn't already open.
View open_here.applescript
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