Skip to content

Instantly share code, notes, and snippets.


Sarah Vessels cheshire137

  • GitHub Staff
  • Nashville, Tennessee
  • 05:56 (UTC -06:00)
  • Twitter @cheshire137
View GitHub Profile
cheshire137 / 🎵 My Spotify Top Tracks
Last active Jan 10, 2022
🎵 My Spotify Top Tracks
View 🎵 My Spotify Top Tracks
Secret Clark
Lambent Rag Clark
THE PLAN Travis Scott
Citrus Clark
FREEPORT Ludwig Goransson
RED ROOM BLUE ROOM Ludwig Goransson
WINDMILLS Ludwig Goransson
Small Clark & Nathaniel
Olson Boards of Canada
cheshire137 /
Last active Jun 24, 2016
Find all the Git commits that modified a particular line in a file.
# Sample use:
# PATTERN="\"/some-route\"" FILE=config/routes.rb ~/bin/
# Thanks to mikedillion <> for the basis of this!
set -e
cheshire137 / city_aliaser.rb
Last active Mar 13, 2019
List of aliases for US cities by state
View city_aliaser.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'mechanize'
require 'json'
url = ""
STATES = ["Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado",
"Connecticut", "Delaware", "Florida", "Georgia", "Hawaii", "Idaho",
"Illinois", "Indiana", "Iowa", "Kansas", "Kentucky", "Louisiana",
"Maine", "Maryland", "Massachusetts", "Michigan", "Minnesota",
cheshire137 /
Last active Nov 8, 2017
Proof for my identity.

Keybase proof

I hereby claim:

  • I am cheshire137 on github.
  • I am cheshire137 ( on keybase.
  • I have a public key ASCYDtNML3BizFS2gSmgo_2osYnXm9sWQTp748en-luS6go

To claim this, I am signing this object:

cheshire137 / git-cherry-pick-shas.js
Created Sep 24, 2015
Get cherry-pick commands for shas linked on a Github page
View git-cherry-pick-shas.js
// 1. Go to a URL like
// 2. Open up your browser JavaScript console.
// 3. Paste the command below.
// Now you have git cherry-pick commands for making a branch of those commits!
var commands = '';jQuery('a.sha').each(function() { var url = $(this).attr('href'); var sha = url.split('/commit/')[1]; commands += 'git cherry-pick ' + sha + "\n"; }); console.log(jQuery.trim(commands));
cheshire137 / ronaldchase.rb
Created Sep 10, 2015
What does 'rc' stand for in all those .*rc files anyway? Why not Ronald Chase?
View ronaldchase.rb
#!/usr/bin/env ruby
require 'fileutils'
path = File.expand_path('~/.*rc')
Dir[path].each do |file|
next unless File.file?(file)
destination = file.gsub(/rc$/, 'ronaldchase')
puts "#{file} -> #{destination}"
FileUtils.ln_s(file, destination)
cheshire137 / spotify-to-itunes-playlists.rb
Last active Jun 29, 2020
Ruby script to create iTunes playlists from your Spotify playlists. Requires a Spotify API app.
View spotify-to-itunes-playlists.rb
#!/usr/bin/env ruby
require 'uri'
require 'json'
require 'net/https'
require 'time'
require 'cgi'
require 'csv'
# You need a Spotify API app to have a client ID and client secret. Create
# one at!/applications/create
cheshire137 / rss_fetcher.rb
Created Jun 28, 2015
Delicious and Pocket RSS to JSON
View rss_fetcher.rb
#!/usr/bin/env ruby
# encoding: utf-8
require 'rubygems'
# require 'nokogiri'
require 'json'
require 'rss'
require 'open-uri'
require 'uri'
class RSSFetcher