serhii.net

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

25 Sep 2020

Day 634

Markdown syntaxt highlight in vim and URIs

If you paste an URL containing characters with a meaning in markdown, it breaks syntax highlight till the end of the file. Especially URIs containing an uneven number of underscores. Fix is either make it code, or indent it - it seems formatting is local for indentation, at least for vim.

Parsing json via jq


It supports newlines in filters!

To read

“Data science and the command line” (from json - How to nicely remove empty array in jq - Stack Overflow}

vim / terminal drag and drop

I can drag and drop my screenshots in the terminal and it pastes the absolute location!

uniq works only on sorted output!

Wow. …wow. command line - Uniq won’t remove duplicate - Unix & Linux Stack Exchange

This explains really a lot.

Nel mezzo del deserto posso dire tutto quello che voglio.