Skip to content

Instantly share code, notes, and snippets.

View KyleJamesWalker's full-sized avatar
😃
Hello!

Kyle James Walker (he/him) KyleJamesWalker

😃
Hello!
View GitHub Profile
@KyleJamesWalker
KyleJamesWalker / VagrantSSHAngentForwardingWithAnsible.md
Last active December 10, 2019 01:37
Vagrant SSH Agent Forwarding Working 1.4.3

This was working on Vagrant 1.4.3 (Mac).

#HOST#

File: ~/.ssh/config

Host vagrant.*
ForwardAgent yes

File: Vagrantfile

@KyleJamesWalker
KyleJamesWalker / sublimesettings.md
Last active January 4, 2016 06:39
My Sublime Settings Files

Packages

  • BlockCursorEverywhere
  • Anaconda
  • Better CoffeeScript
  • CoffeeComplete Plus (Autocompletion)
  • Git
  • GitGutter
@KyleJamesWalker
KyleJamesWalker / NestedDefaultDict.py
Last active January 4, 2016 05:09
Create a default dictionary n levels deep, with support for json.dumps() without the need for a special encoder.
import json
from collections import defaultdict
class NestedDefaultDict(defaultdict):
def __init__(self, depth, default=int, _root=True):
self.root = _root
self.depth = depth
if depth > 1: