serhii.net

In the middle of the desert you can say anything you want

27 Jun 2019

Day 178

Vim

Vim resize splits / vsplits

For a split window: You can use Ctrl-w + and Ctrl-w - to resize the height of the current window by a single row. For a vsplit window: You can use Ctrl-w > and Ctrl-w < to resize the width of the current window by a single column. Additionally, these key combinations accept a count prefix so that you can change the window size in larger steps. [e.g. Ctrl-w 10 +] (Resize splits more quickly | Vim Tips Wiki | FANDOM powered by Wikia)

Vim move tab

:tabm -1 moves it to the left; accepts absolute and relative parameters

Vim go back to previous buffer

(Especially handy if you’ve jumped to a global mark): <C-o>

Python

Python __dict__ object

Linux Follies: Python’s __dict__

Each object has a .__dict__ attribute, which contains the objects’ fields. They can also be directly edited.

ML

To read

Intro to tf.estimator and tf.data Good practices in Modern Tensorflow for NLP

Nel mezzo del deserto posso dire tutto quello che voglio.