Skip to content

Instantly share code, notes, and snippets.


Max Starkenburg maxstarkenburg

View GitHub Profile
View migrate_plus.migration.omdb_json.yml
# This migration demonstrates importing from a monolithic JSON file.
# Forked from
id: omdb_json
label: JSON feed of movies
migration_group: json_example
# We use the JSON source plugin.
plugin: url
data_fetcher_plugin: http
data_parser_plugin: json
maxstarkenburg / BookCosts
Last active June 12, 2016 05:52
A shell/gawk script that runs through the private comment field of my tab-separated LibraryThing export file, looks for monetary values I put there, converts them to dollars when necessary, adds up the total I've spent on books, and outputs a histogram of the amount of books I've bought per dollar amount.
View BookCosts
cat $1 |
# Remove the titles on the first line
sed 1d |
gawk '