Skip to content

Instantly share code, notes, and snippets.

Staff Software Engineer @ Divvy

Kaden Wilkinson kdawgwilk

Staff Software Engineer @ Divvy
View GitHub Profile
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions

Keybase proof

I hereby claim:

  • I am kdawgwilk on github.
  • I am kdawgwilk ( on keybase.
  • I have a public key ASBEBCeTI6ENqeDBvSJys24fXLiJCBV5e3UQrALUwZjC8wo

To claim this, I am signing this object:

kdawgwilk /
Last active Nov 13, 2018
SwiftLint Rules Examples

Empty Count (empty_count)

Prefer checking isEmpty over comparing count to zero.

Non-triggering Examples:

Example #1

var count = 0
kdawgwilk / BusyAPI.json
Last active Mar 27, 2017
Swagger 2.0 spec for API
View BusyAPI.json
"swagger": "2.0",
"info": {
"version": "3.2",
"title": "Busy API",
"description": "Move your app forward with the Busy API",
"termsOfService": "",
"contact": {
"name": "Busy API Team",
"email": "",

Git DMZ Flow

I've been asked a few times over the last few months to put together a full write-up of the Git workflow we use at RichRelevance (and at Precog before), since I have referenced it in passing quite a few times in tweets and in person. The workflow is appreciably different from GitFlow and its derivatives, and thus it brings with it a different set of tradeoffs and optimizations. To that end, it would probably be helpful to go over exactly what workflow benefits I find to be beneficial or even necessary.

  • Two developers working on independent features must never be blocked by each other
    • No code freeze! Ever! For any reason!
  • A developer must be able to base derivative work on another developer's work, without waiting for any third party
  • Two developers working on inter-dependent features (or even the same feature) must be able to do so without interference from (or interfering with) any other parties
  • Developers must be able to work on multiple features simultaneously, or at lea
kdawgwilk / Podfile
Created Feb 8, 2016
Cross platform podfile with unit/ui test targets
View Podfile
source ''
def shared_pods
pod 'Fabric'
pod 'Crashlytics'
def shared_testing_pods
kdawgwilk /
Last active Dec 15, 2015
CS-2420 Download Sample Student Lists
# Downloads all the sample txts to the directory where this script is ran
import urllib
files = ["InsertNames.txt", "DeleteNames.txt", "RetrieveNames.txt", "InsertNamesMedium.txt", "DeleteNamesMedium.txt",
"RetrieveNamesMedium.txt", "InsertNamesBig.txt", "DeleteNamesBig.txt", "RetrieveNamesBig.txt"]
for filename in files:
url = "" % filename
file_from_url = urllib.URLopener()
file_from_url.retrieve(url, filename)

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.

Install Software

The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.

Install from App Store