Sam's notebook

Piwigo Embeds (for WordPress) August 12th, 2018, 7PM

Open content Programming

Here’s my first draft at making Piwigo sites embeddable in WordPress: github.com/samwilson/piwigo-embeds ‘Embed’ here is what WordPress calls the ability to add a URL of a site on its own line in a post or page, and for a nice rendering of the site at that URL to be provided automatically. It works with core […]

[No comments] [Keywords: , , , , , ] [Permanent link]

Rename and move images according to date September 12th, 2013, 4PM

Programming

My simple import-images.sh script that I use to shift files into my (ownCloud-backed) archiving system: #!/bin/bash if [ ! -d “$1” ]; then echo “Error: first parameter must be a directory” >&2 echo “Usage: “$(basename $0)” ” echo ” where is an existing directory from which to import images” exit 1 fi DEST=$HOME/photos exiftool ‘-FileName

[No comments] [Keywords: , , , , , ] [Permanent link]