Day 586
Jupyter Notebook vim mode
When operating on cells, not text (= not insert mode), the usual j/k
commands select cells when shift is used (J/K
). This is neat. I should read the documentation.
Java brackets in for
statements
If you have only one statement in for loops, you can drop the brackets:
for (final String dt: distanceTypes)
for (final double co : cutoffs)
your_one_statement();
That said, it’s not a good idea :) Answer has details about the definitions, default scope for for is next statement. A statement can have brackets.
for loop without braces in java - Stack Overflow
Ideas / TODO / Fiamma / PKM
Possibly sometime rewrite my link wiki (pchr8.net/f/)’s bookmarking userscript to accept data as title/complexity/rating/tag1 two three/Cat1 cat2 cat3
instead of the current multiline thingy, might be even easier to fit it into a userprompt
Random / interesting
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus