These are the Kickstarter Engineering and Data role definitions for both teams.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const adventurer = { | |
name: 'Alice', | |
cat: { | |
name: 'Dinah' | |
} | |
}; | |
// Before Optional Chaining | |
if(adventurer && adventurer.cat){ | |
console.log(adventurer.cat.name); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SWEAR_TYPES = ( | |
(FUCK, 'Fuck'), | |
(BITCH, 'Bitch'), | |
(SHIT, 'Shit'), | |
(ASS, 'Ass'), | |
(OTHER, 'Other') | |
) | |
SWEAR_EVENT_TYPES = { | |
(0, 'G Stock'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import os | |
import random | |
import requests | |
import json | |
import datetime | |
from fabric.api import * | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import json | |
import requests | |
import getpass | |
import random | |
from fabric.api import * | |
from fabric.operations import * | |
""" | |
Set up servers locations. This can be programatically generated too. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Brand | Model | Type | Count | |
---|---|---|---|---|
Apple | Earbuds | Earbuds | 5 | |
Bose | QuietComfort 35 | Over Ear | 4 | |
Bose | QuietComfort 20 | Earbuds | 3 | |
Sony | MDR-7506 | Over Ear | 3 | |
Shure | SE215 | Earbuds | 3 | |
August | EP650 | Over Ear | 2 | |
Bose | QuietComfort 25 | Over Ear | 2 | |
Bose | SoundTrue | Earbuds | 2 | |
AKG | K550 | Over Ear | 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wife's Algorithm | |
things = get_things_to_clean() | |
for thing in things: | |
clean(thing) | |
# My Alogrithm | |
while True: | |
try: | |
clean_something() | |
except NothingToCleanException: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# node.js using PPA (for statsd) | |
sudo apt-get install python-software-properties | |
sudo apt-add-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install nodejs | |
# Install git to get statsd | |
sudo apt-get install git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SetVarNode(template.Node): | |
def __init__(self, var_name, var_value): | |
self.var_name = var_name | |
self.var_value = var_value | |
def render(self, context): | |
try: | |
value = template.Variable(self.var_value).resolve(context) | |
except template.VariableDoesNotExist: |
A git choose-your-own-adventure!
This document is an attempt to be a fairly comprehensive guide to recovering from what you did not mean to do when using git. It isn't that git is so complicated that you need a large document to take care or your particular problem, it is more that the set of things that you might have done is so large that different techniques are needed depending on exactly what you have done and what you want to have happen.