This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
git diff --staged --name-only | xargs coffee-jshint -g define,$,_,setTimeout,start,window | |
if [[ $? -ne 0 ]]; then | |
echo 'WARNING: You are about to commit files with coffee-jshint warnings' | |
exit 1 | |
fi |
<!doctype html> | |
<meta charset="utf-8" /> | |
<title>React Router Boilerplate<style id="jsbin-css"> | |
.crumbs li { | |
display: inline-block; | |
margin-left: 10px; | |
} | |
</style> | |
</title> | |
<body> |
THEO SCHLOSSNAGLE (Circonus) - Techniques and tools for a coherent discussion about performance in complex architectures | |
MITCHELL HASHIMOTO (Hashicorp) - Automating the Modern Datacenter, Development to Production | |
MARTIN KLEPPMANN (LinkedIn) - Using logs to build a solid data infrastructure | |
CAITIE MCCAFFREY (Twitter) - Implementing the Saga Pattern | |
TAMMER SALEH (Pivotal) - Microservice AntiPatterns | |
PAUL BUTCHER (Ten Tenths Consulting, Pragmatic Programmers) - Concurrency: It's harder (and easier) than you think | |
JEREMY EDBERG (Netflix) - Building Reliable Distributed Data Systems | |
COREY HAINES (CoreyHaines) - Fun with the lambda calculus | |
DAVID NOLEN (Cognitect) - The Front End Architecture Revolution | |
MICHAEL NYGARD (Cognitect) - Architecture without an end state |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
[TestClass] | |
public static class Initializer | |
{ | |
[AssemblyInitialize] | |
public static void InitFactories(TestContext context) | |
{ | |
var factoryTypes = Assembly.GetExecutingAssembly() | |
.GetTypes().Where(x => x.Name.EndsWith("Factory")) | |
.ToList(); |
mkdir -p ~/.docker | |
brew cask install dockermachine | |
docker-machine create --driver virtualbox default |
import random | |
pocket_list = [] | |
table_phrase = "You put it in your pocket. " | |
def table_book(): |
As configured in my dotfiles.
start new:
tmux
start new with session name:
# 1. Initialization code: | |
logged_user = window.user | |
# Properties for each event | |
mixpanel.register( | |
'User Account': logged_user.getUserAccount() | |
'Whitelabel': logged_user.getUserType() | |
) | |
# People settings | |
mixpanel.name_tag(logged_user.getNameTag()) |
from collections import Counter | |
from random import randint | |
v = [randint(1, 10) for i in range(100)] | |
c = Counter(v) | |
for el in c.most_common(): | |
print(el) |