start new:
tmux
start new with session name:
tmux new -s myname
# https://gist.github.com/althonos/6914b896789d3f2078d1e6237642c35c | |
[metadata] | |
name = {name} | |
version = {version} | |
author = Martin Larralde | |
author-email = [email protected] | |
home-page = https://github.com/althonos/{name} | |
description = {description} | |
long-description = file: README.rst, CHANGELOG.rst |
def reverse_big(gen): | |
yield from reversed(gen) | |
g1 = range(10**10) | |
for n, item in enumerate(reverse_big(g1)): | |
if n > 10: | |
break | |
print(item) |
class CallLimitException(Exception): | |
pass | |
def call_limit(limit=10): | |
def deco(wrapped): | |
nonlocal limit | |
i = 0 | |
def wrapper(*args, **kwargs): |
_options_regex = re.compile( | |
r''' | |
(?P<keyword>[\w.-]+) # Consist of 1+ alphanumeric or '.' or '-' | |
\s* | |
(?P<settings> # Settings are optional | |
: # "Keyword/settings" delimiter | |
\s* | |
(?P<quote>"?) # Optional quote character | |
(?P<value> | |
( |
I hereby claim:
To claim this, I am signing this object: