A terminal multiplexer, much like screen.
Allows you to run multiple virtual terminals in a single terminal.
| (def names ["John" "Gordon" "Dom" "Jamie" "Stuart" "Ben"]) | |
| (let [shuffled-names (shuffle names)] | |
| (println (apply str (interpose " buys for " (cons (last shuffled-names) shuffled-names))))) |
| set tabstop=4 shiftwidth=4 softtabstop=4 | |
| set expandtab | |
| autocmd FileType css setlocal ts=4 sts=4 sw=4 noexpandtab | |
| autocmd FileType html setlocal ts=4 sts=4 sw=4 noexpandtab | |
| autocmd FileType xml setlocal ts=4 sts=4 sw=4 noexpandtab | |
| autocmd FileType htmldjango setlocal ts=4 sts=4 sw=4 noexpandtab | |
| autocmd FileType javascript setlocal ts=4 sts=4 sw=4 noexpandtab | |
| autocmd FileType mustache setlocal ts=4 sts=4 sw=4 noexpandtab | |
| autocmd FileType markdown setlocal ts=4 sts=4 sw=4 expandtab spell spelllang=en_gb |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # To add two items to the current .gitignore file: | |
| # requirement Django South | |
| # | |
| # To sort and de-dupe the current .gitignore file: | |
| # requirement | |
| args=( $@ ) | |
| args_len=${#args[@]} | |
| requirements_file=${args[args_$len-1]} |
| def fizzbuzz(): | |
| for i in itertools.count(1): | |
| if i % 15 == 0: yield 'Fizzbuzz' | |
| elif i % 3 == 0: yield 'Fizz' | |
| elif i % 5 == 0: yield 'Buzz' | |
| else: yield i |
# Advanced Git: edPUG, July 2014
rm -rf example-repo
export GIT_COMMITTER_DATE="2014-07-15 19:01:00"
saystd "Advanced git"
Good evening.
clear; fanduel.sh | lolcat
| >>> class A(object): | |
| ... def __init__(self, a): | |
| ... self.a = a | |
| ... @classmethod | |
| ... def f(cls, a): | |
| ... return cls(a) | |
| ... | |
| >>> class B(A): | |
| ... def __init__(self, a, b): | |
| ... super(B, self).__init__(a) |
| import random | |
| import threading | |
| import time | |
| SPEED = 0.5 | |
| class Tamagotchi(object): | |
| def __init__(self, name): |