Zippering two pdfs

Sep 1, 2017 Cmd

If for some reason you have two pdfs with separated odd and even pages of a document, the following command zippers them into a single pdf. (Assuming odd.pdf and even.pdf have the same number of pages; in this case 8.)

qpdf --empty --pages $(for i in $(seq 1 1 8); do echo " odd.pdf $i even.pdf $i "; done) -- all.pdf

Re-encoding subtitles in utf-8

Aug 29, 2017 Cmd

Most Slovak/Czech subtitles are encoded in Plex-incompatible windows-1250 (wiki). The following changes the encoding to utf-8.

iconv -f windows-1250 -t utf-8 subs-win-1250.srt > subs-utf-8.srt

The Rainbow Fog

Jun 27, 2017 Travel

Cold friday night in #sanfrancisco and an enormous plate of fried shrimp 😋

Príspevok, ktorý zdieľa Tibor Stanko (@bbrrck),

Friday dinner with French/German folks at the #fishermanswharf ⚓ gotta love the fried shrimp

Príspevok, ktorý zdieľa Tibor Stanko (@bbrrck),