Skip to content

Instantly share code, notes, and snippets.

View jessedyck's full-sized avatar
🚌

Jesse Dyck jessedyck

🚌
View GitHub Profile
@jessedyck
jessedyck / convert-footnotes.php
Last active March 10, 2024 14:27
Convert from the (abandoned) footnotes plugin to WordPress core footnotes.
<?php
/**
* A script to convert from the (abandoned) footnotes plugin to WP core footnotes.
* This script is intended to be ran from wp-cli.
* Requires WP 6.3. Does not require that the original footnotes plugin still be installed,
* but does require that the options in `wp_options` are still in place.
*
* BACKUP YOUR DATABASE!
* This script is not well-tested. It works for my (small) use-case. It should support
* the original plugin's various short codes, but has only been tested with the
@jessedyck
jessedyck / php7.4-imagick.sh
Last active October 31, 2020 17:44 — forked from danielstgt/imagick3.4.4-PHP7.4-forge.sh
Install latest ImageMagick / Imagick for a PHP 7.4 FPM server
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
apt-get install pkg-config libmagickwand-dev imagemagick -y
cd /tmp
wget https://pecl.php.net/get/imagick
tar xvzf imagick

Keybase proof

I hereby claim:

  • I am jessedyck on github.
  • I am jessedyck (https://keybase.io/jessedyck) on keybase.
  • I have a public key ASBuasLHnhUDv3NBNnWvIRgQoEF8Yn2akS7v2UrPm7RVHgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am jessedyck on github.
  • I am jessedyck (https://keybase.io/jessedyck) on keybase.
  • I have a public key ASBuasLHnhUDv3NBNnWvIRgQoEF8Yn2akS7v2UrPm7RVHgo

To claim this, I am signing this object:

@jessedyck
jessedyck / README.md
Created July 11, 2018 02:54
Transfers metadata (GPS, Liked, Title, Description, Keywords) from selected photos in Apple Photos into the EXIF on their respective RAW files in a given folder.

Description:

Transfers metadata from selected photos in Apple Photos onto their respective RAW files in a given folder.

Metadata transfered: GPS, Favourite/liked status, Title, Description, and Keywords Keywords and 'Favourite' status are appended to the Subject EXIF tag.

Requirements:

The RAW photo must contain the same name as the photo in Photos.app.