Skip to content

Instantly share code, notes, and snippets.

View iluxame's full-sized avatar

Ilia Meerovich iluxame

View GitHub Profile
@iluxame
iluxame / iterm2.md
Created August 2, 2016 08:06
iterm2 cheatsheet

Tabs and Windows

Function Shortcut
Previous Tab + Left Arrow
Next Tab + Right Arrow
Go to Tab + Number
Go to Window + Option + Number
Go to Split Pane by Direction + Option + Arrow
Go to Split Pane by Order of Use + ] , + [
@iluxame
iluxame / byte-sizetuts.md
Created December 28, 2016 13:24 — forked from honkskillet/byte-sizetuts.md
A series of golang tutorials with youtube videos.
from click import command, option, Option, UsageError
class MutuallyExclusiveOption(Option):
def __init__(self, *args, **kwargs):
self.mutually_exclusive = set(kwargs.pop('mutually_exclusive', []))
help = kwargs.get('help', '')
if self.mutually_exclusive:
ex_str = ', '.join(self.mutually_exclusive)
kwargs['help'] = help + (