Skip to content

Instantly share code, notes, and snippets.

View sudocurse's full-sized avatar
🌮
good screen ? bad screen

sudocurse sudocurse

🌮
good screen ? bad screen
View GitHub Profile
@sudocurse
sudocurse / mesos-apps-flatten.py
Created May 3, 2017 19:34
A script to quickly look at what your app's config looks like with defaults
import json
import sys
import collections
def dict_merge(dictionary, merge_dictionary):
for key, val in merge_dictionary.iteritems():
if (key in dictionary and isinstance(dictionary[key], dict)
and isinstance(merge_dictionary[key], collections.Mapping)):
dict_merge(dictionary[key], merge_dictionary[key])
else:
@sudocurse
sudocurse / .pylintrc
Created August 1, 2016 15:38
a pylint config file that i think adheres to the google style guide. may have lifted this from somewhere? ¯\_(ツ)_/¯
[MASTER]
# Specify a configuration file.
#rcfile=
# Python code to execute, usually for sys.path manipulation such as
# pygtk.require().
#init-hook=
# Add files or directories to the blacklist. They should be base names, not