Skip to content

Instantly share code, notes, and snippets.

📱
Mobile Software Engineer @ Divvy

Kaden Wilkinson kdawgwilk

📱
Mobile Software Engineer @ Divvy
Block or report user

Report or block kdawgwilk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kdawgwilk
kdawgwilk / SwiftLintRulesExamples.md
Last active Nov 13, 2018
SwiftLint Rules Examples
View SwiftLintRulesExamples.md

Empty Count (empty_count)

Prefer checking isEmpty over comparing count to zero.

Non-triggering Examples:

Example #1

var count = 0
@kdawgwilk
kdawgwilk / BusyAPI.json
Last active Mar 27, 2017
Swagger 2.0 spec for busybusy.io API
View BusyAPI.json
{
"swagger": "2.0",
"info": {
"version": "3.2",
"title": "Busy API",
"description": "Move your app forward with the Busy API",
"termsOfService": "https://busybusy.com/terms-of-service",
"contact": {
"name": "Busy API Team",
"email": "api@busybusy.com",
View git-dmz-flow.md

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
kdawgwilk / Podfile
Created Feb 8, 2016
Cross platform podfile with unit/ui test targets
View Podfile
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
def shared_pods
pod 'Fabric'
pod 'Crashlytics'
end
def shared_testing_pods
@kdawgwilk
kdawgwilk / cs-2420_download_txts.py
Last active Dec 15, 2015
CS-2420 Download Sample Student Lists
View cs-2420_download_txts.py
# 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 = "http://cit.cs.dixie.edu/cs/2420/ssn/%s" % filename
file_from_url = urllib.URLopener()
file_from_url.retrieve(url, filename)
View osx-10.9-setup.md

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

You can’t perform that action at this time.