Tensorflow

tf.keras.backend.in_train_phase  |  TensorFlow Core r2.0 selects x if training, y otherwise. This will be very handy later.

Intellij Idea folds

Just discovered that Ctrl + and Ctrl - unfold and fold stuff.

Ideavim actionlist

IdeaVim actionlist

Added the following to .ideavimrc:

map J :action NextTab<CR>
map K :action PreviousTab<CR>
map <leader>j :action EditorJoinLines<CR>

Python print all class variables

print(vars(object))

Random