Qutebrowser focus tab N keybindings

Now number keys focus tabs, as I had on Firefox:

config.bind('1', 'tab-focus 1')
config.bind('2', 'tab-focus 2')
config.bind('3', 'tab-focus 3')
config.bind('4', 'tab-focus 4')
config.bind('5', 'tab-focus 5')
config.bind('6', 'tab-focus 6')
config.bind('7', 'tab-focus 7')
config.bind('8', 'tab-focus 8')
config.bind('9', 'tab-focus 9')
config.bind('0', 'tab-focus 10')
config.bind('<Alt-1>', 'tab-focus 11')
config.bind('<Alt-2>', 'tab-focus 12')
config.bind('<Alt-3>', 'tab-focus 13')
config.bind('<Alt-4>', 'tab-focus 14')
config.bind('<Alt-5>', 'tab-focus 15')
config.bind('<Alt-6>', 'tab-focus 16')
config.bind('<Alt-7>', 'tab-focus 17')
config.bind('<Alt-8>', 'tab-focus 18')
config.bind('<Alt-9>', 'tab-focus 19')
config.bind('<Alt-0>', 'tab-focus -1')

Also found this really nice config file: maxx/dotfiles - .config/qutebrowser/config.py at c6611e7ef3ab93a712b8e37e784fed1b38fc1174 - Gitea: Git with a cup of tea

Tensorflow shapes [], [None], None or ()

() and [] are equivalent.

placeholder with [] shape takes a single scalar value directly. Placeholder with [None] shape takes a 1-dimensional array and placeholder with None shape can take in any value while computation takes place. (tensorflow - What is the difference between [], [None], None and () for the shape of a placeholder? - Stack Overflow)


less for continuous data

Except the command line flag I always forget for tail (tail -f some.log), less can do the same. After opening a file, pressing F/<Shift-f> puts you in the end and automatically updates if the file changes.


tee writes the output to a file while simultaneously showing it onscreen. Example from Linux tee Command Explained for Beginners (6 Examples) is ping google.com | tee output.txt

scp to a non-standard port

scp -P 1337 from to:folder, it uses a capital P.