AWS S3 log format for awstats

For S3 logging, awstats needs its LogFormat set up in the following manner: %other %extra1 %time1 %host %logname %other %method %url %methodurl %code %other %extra2 %bytesd %other %extra3 %refererquot %uaquot %other %other %other %other %other %virtualname %other Amazon’s documentation is available here

Bulk OCRing mixed content and exporting as PDF

This is more written as an aide-memoire to myself than anything. It’s a process I’m currently using for bulk-processing a set of documents of various forms (MS Word, PPT, PDF, LibreOffice etc), converting them all to PDF, running OCR on any embedded images and then sticking the end-result into Elasticsearch via Tika (not documented, plenty documentation elsewhere re this final step).

Todo: d3 ECG

Another one for the todo list. Fancy plotting leads I/II/III out and making and interactive scroller for time vs vector / direction. Input data might be from here or here. Unfortunately both of these are for synthesising a single lead.

Divisions and branches of trigeminal nerve

high res .png .svg PNG without annotations .svg without annotations License: CC-BY-SA Notes of interest Buccal comes from bucca: Lat, ‘puffed, filled out cheek’1. Related to the rather wonderful word bucculentus, “having fat cheeks”2; which in turn gives its name to Caranx bucculentus, “wide-mouthed trevally”, a fish with a rather large mouth3.

Making searchable screenshots

Note this requires Macports It’s 3am and you’re hunting for that graph you clipped a couple of weeks ago. Report is due in for 10 the next morning. You swore up and down you’d never do this again, but here we are, can’t find the file or the reference.