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
In my case, I had data stored in a Realm file that I needed to re-export to JSON.
First of all we’ll need Realm Studio. Set up, open the Realm file and then export the models, as shown:
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).
See the UI here
Following on from here and here, this is just putting together a couple of blocks from bl.ocks.org to plot data from the PhysioNet site.
Read converting PhysioNet JSON to CSV to import other data sets.
PhysioNet data is available in binary (dat) form but their web site also provides records in JSON.
These records include samples / measurements from 12-lead ECGs recorded at 1ksps.
To convert these to CSV we can use the ol’ jq:
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.
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.
For a small project I was working on, I wanted to distribute video via MPEG-DASH instead of my usual go-to, HLS. Like HLS, MPEG-DASH supports delivering video via adaptive bit rates.
Only posting these here because I keep copying these defaults between systems; it’s about high time I come up with a better way of syncing all my settings across boxes though …
EN4 data is available here as netCDF format. It’s a set of data that pulls back salinity and temperatures from beacons across the planet. It’s recorded as a grid accurate to 1°.