I needed to move 22GB from one laptop to another. Rather than using USB sticks or external harddrives, I used
rsync. I usually
scp smaller files around so this was novel and exciting.
Rsync has this magical property that if the data syncing terminates, it’ll resume where it left off. Nifty!
This is a good post on Kotlin reified types:
TLDR: when you have generics but also want to access it at runtime.
I used to edit PDFs using GIMP. I would open the PDF in GIMP, make edits, export it as a
.mng file, and convert it back.
$ convert -reverse pdf.mng pdf.pdf
This would work well except all the texts were rasterized.
I recently tried editing PDFs using LibreOffice Draw again and was delighted to discover its PDF editing capabilities have improved. Gonna use LibreOffice Draw from now on.
I stayed with Sir Rice while transiting through New York.
He showed me his awesome new stickers.
It’s databases, get it?
I learned about Insomnia from Vinay.
Insomnia makes sending REST requests really easy to manage, so you don’t have to store a whole bunch of
It’s very similar to Postman (also an excellent requests manager).
Harry would probably tell me there’s an emacs mode for this.
I bet that emacs mode doesn’t have a punny name.
“Capture all changes to an application state as a sequence of events.”
A good name for this concept.
In Python, I wanted to run all the tests before actually executing the contents of a script.
Luckily I was using Pytest and could call
pytest.main() will return the appropriate exit codes that indicate test success or failure.
It’s pretty neat!