Skip to content

Instantly share code, notes, and snippets.

Avatar

Tab Atkins Jr. tabatkins

View GitHub Profile
@Wilto
Wilto / mornay-mac.md
Last active Feb 19, 2016
Macaroni and Weird Mornay Sauce
View mornay-mac.md

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
View README.md

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
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,
"file_exclude_patterns":
[
".DS_Store",
".gitkeep",
"dump.rdb"
],
@piscisaureus
piscisaureus / pr.md
Created Aug 13, 2012
Checkout github pull requests locally
View pr.md

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 = git@github.com:joyent/node.git

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: