Skip to content

Instantly share code, notes, and snippets.

View inirudebwoy's full-sized avatar
🏗️
putting things on top of other things

Michael Klich inirudebwoy

🏗️
putting things on top of other things
View GitHub Profile
@inirudebwoy
inirudebwoy / 0_reuse_code.js
Created September 10, 2016 15:45
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
class SettingsReader:
def __init__(self, opts, config, settings):
self.opts = opts
self.config = config
self.settings = settings
def __contains__(self, key):
if (key in self.opts or
key in self.config or
key in self.settings):