Skip to content

Instantly share code, notes, and snippets.

View OlaoluwaM's full-sized avatar
🧠
Always learning

Olaoluwa (Ola) Mustapha OlaoluwaM

🧠
Always learning
View GitHub Profile

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

@sonkm3
sonkm3 / gist:1554556
Created January 3, 2012 11:27
python classmethod/staticmethod with inheritance
class Foo():
message = "I'm Foo class"
def method(self, foo):
self.foo = foo
print self.message
@classmethod
def class_method(cls, foo):
cls.foo = foo