I hereby claim:
- I am cleac on github.
- I am alexcleac (https://keybase.io/alexcleac) on keybase.
- I have a public key whose fingerprint is EEA9 ED2F DB3A 5C82 0C3A E263 E7C3 F045 5726 FAF9
To claim this, I am signing this object:
(defun merge-sort(lst) | |
(defun merge_(f s) | |
(cond | |
((= (list-length f) 0) s) | |
((= (list-length s) 0) f) | |
((< (car f) (car s)) (append (list (car f)) (merge_ (cdr f) s))) | |
((> (car f) (car s)) (append (list (car s)) (merge_ f (cdr s)))) | |
((= (car f) (car s)) (append (list (car f) (car s)) (merge_ (cdr f) (cdr s)))) | |
) | |
) |
class Monad: | |
def __init__(self, value): | |
self.value = value | |
def __iter__(self): | |
yield self | |
def do(self): | |
raise NotImplementedError() |
>>> def string_generation_function(argument): | |
... return 'hello, {}'.format(argument) | |
... | |
>>> def function_for_dis(argument): | |
... return [[string_generation_function('world')]] * 10 | |
... | |
>>> dis.dis(function_for_dis) | |
2 0 LOAD_GLOBAL 0 (string_generation_function) | |
3 LOAD_CONST 1 ('world') | |
6 CALL_FUNCTION 1 |
>>> ['test'] * 20 | |
['test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test', 'test'] |
>>> def string_generation_function(argument): | |
... return 'hello, {}'.format(argument) | |
... | |
>>> def function_for_dis(): | |
... return [[string_generation_function('world')] for _ in range(10)] | |
... | |
>>> dis.dis(function_for_dis) | |
2 0 BUILD_LIST 0 | |
3 LOAD_GLOBAL 0 (range) | |
6 LOAD_CONST 1 (10) |
>>> def t(): | |
... print 1 | |
... | |
>>> dis.dis(t) | |
2 0 LOAD_CONST 1 (1) | |
3 PRINT_ITEM | |
4 PRINT_NEWLINE | |
5 LOAD_CONST 0 (None) | |
8 RETURN_VALUE |
def get_something_great(ids): | |
# some cool operations | |
# <…> | |
return [url.somewhere.absolute(‘home’) for _ in id] |
Section "InputClass" | |
Identifier "keyboard defaults" | |
MatchIsKeyboard "on" | |
Option "XkbLayout" "us,ua" | |
Option "XkbOptions" "grp:caps_switch" | |
EndSection |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
workspace_dir=$HOME/workspace | |
case "$1" in | |
activate) | |
for dr in $(ls "$workspace_dir"); do | |
cd "$workspace_dir/$dr" | |
vagga _clean --unused 2&>1 > /dev/null & | |
done;; |