Skip to content

Instantly share code, notes, and snippets.


Tab Atkins Jr. tabatkins

View GitHub Profile
Wilto /
Last active Feb 19, 2016
Macaroni and Weird Mornay Sauce

Macaroni and Sauce Mornay (kinda)

  • A box of shells
  • 6 Tbsp. butter
  • 1 C. unseasoned breadcrumbs
  • 1/4 C. all-purpose flour
  • 1/8 C. minced leeks
  • 2 C. milk

Sparky- tiny unicode sparklines

Try them in a table!

product price trend
widgets 4.37 ⠉⠉⢄⡠⠤⢄⣀⠤
View Mapping.js
class Mapping {
// Subclasses define at least @@iterator().
@@iterator() {
throw TypeError("abstract operation")
// Mutable subclasses also define set() and delete().
set(key, value) {
throw TypeError("mapping is not mutable");
soffes / perferences.json
Created Aug 22, 2012
My Sublime Text 2 config
View perferences.json
"bold_folder_labels": true,
"color_scheme": "Packages/User/Espresso Soda.tmTheme",
"ensure_newline_at_eof_on_save": true,
piscisaureus /
Created Aug 13, 2012
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url =

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: