Skip to content

Instantly share code, notes, and snippets.

@rokcarl
rokcarl / 0_reuse_code.js
Created December 28, 2015 08:12
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
@rokcarl
rokcarl / m.py
Created April 9, 2015 12:19 — forked from lukmdo/m.py
from __future__ import print_function
from functools import wraps
class Fish(object):
def __new__(cls, *args, **kwargs):
o = super(Fish, cls).__new__(cls, *args, **kwargs)
o.type = 'goldfish'
for name, val in vars(cls).items():