In the middle of the desert you can say anything you want
It’s possible not to use quotes if have just escaped stuff.
grep "\"Thinker"
== grep \"Thinker
After finding a weird error in PIL, found this: Decompression bomb protection · Issue #515 · python-pillow/Pillow
Zip-bombs live on and prosper it seems :)
ncdu
is a little neat program that first scans all the subdirectories of the current one and returns a nice visual navigable list.
d
to delete selected folder, ?
for help.
zip -r result-small.zip ./ -x 'unscoped/*'
-x
is a regex of files to exclude. 1
dankbare aufgabe - “rewarding task”
diff -rq folder1 folder2
diffs contents of files inside the two folders.
daff diff can accept a -d parameter giving an epsilon, changes of numbers smaller than eps won’t be shown in the diff!
screen -r
seems to accept not just the full name of the screen to attach, but even just the first letters!
Started to crash suddenly. git pull
-ing didn’t help, but it and recreating the virtualenv using scripts/mkenv.py
did.
der werkzeugkasten - toolbox/kit
This makes empty newlines be part of the fold: 1
" Ignore empty lines when using tabfold
:set foldignore=#<CR>
.. exists and works. 2
.one.two|=sort_by('.whatever')|.next.thing
(Also used in input of some other internal tools) They are: 1
Range Meaning
1.0 x >= 1.0 * The default Maven meaning for 1.0 is everything (,) but with 1.0 recommended. Obviously this doesn't work for enforcing versions here, so it has been redefined as a minimum version.
(,1.0] x <= 1.0
(,1.0) x < 1.0
[1.0] x == 1.0
[1.0,) x >= 1.0
(1.0,) x > 1.0
(1.0,2.0) 1.0 < x < 2.0
[1.0,2.0] 1.0 <= x <= 2.0
(,1.0],[1.2,) x <= 1.0 or x >= 1.2. Multiple sets are comma-separated
(,1.1),(1.1,) x != 1.1
literal_eval - ast - Python documentation - Kite
Safely evaluates Python expressions, nice to use for input.
may only consist of the following Python literal structures: strings, numbers, tuples, lists, dicts, booleans, and None.
To pipe output with jq
to for example less
preserving the colours, use -C
. (Simialar to --color=always
etc.)
jq . $filename -C | less