This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| Add subscriber metadata to Flodesk using Hubbub Save This | |
| https://morehubbub.com/ | |
| https://morehubbub.com/docs/save-this-actions-and-filters/ | |
| Important: in Flodesk, custom_fields keys need to | |
| match real Flodesk custom field keys. If your fields are | |
| not keyed exactly post_id, post_title, and post_url, | |
| replace those array keys with the keys from |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Enable Grow's Pinterest Image Hover button only on specific page slugs. | |
| * | |
| * Replace the slugs below with your allowed pages. | |
| * Examples: | |
| * - 'about' | |
| * - 'contact' | |
| * - 'recipes/breakfast' (for nested pages) | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function hubbub_save_this_filter_add_book_button( $email_message, $post_id, $is_shortcode ) { | |
| if (class_exists('ACF')) { // Check to make sure Advanced Custom Fields is active | |
| $bookURL = get_field( $selector, $post_id ); | |
| if ( ! $bookURL ) $bookURL = ''; | |
| $email_message = str_replace( '{BOOK_BUTTON}', '<a href="' . $bookURL .'">Download Book</a>', $email_message ); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Created for Colin Devroe's personal website: cdevroe.com | |
| * It was not his intent that anyone else would use this. | |
| * Please refer to the Migrating WordPress doc which | |
| * emphasizes to **never update guids** | |
| * https://developer.wordpress.org/advanced-administration/upgrade/migrating/#important-guid-note | |
| **/ | |
| function namespace_set_guid_to_permalink( $guid, $id ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.3' | |
| services: | |
| httpd: | |
| image: httpd:2.4 | |
| volumes: | |
| - /YOUR/LOCAL/FILE/SYSTEM/DIRECTORY:/usr/local/apache2/htdocs/ | |
| ports: | |
| - 8080:80 | |
| restart: always |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.3' | |
| services: | |
| db: | |
| image: mysql:5.7 | |
| volumes: | |
| - db_data:/var/lib/mysql | |
| restart: always | |
| environment: | |
| MYSQL_ROOT_PASSWORD: somewordpress |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- create a string from the current date | |
| set todaysDate to (current date) as string | |
| -- open simplenote and make it the active window | |
| tell application "Simplenote" | |
| activate | |
| end tell | |
| -- use system events to | |
| -- "type" CMD+N |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - Jacques Henri Lartique | |
| - Andre Kertesz | |
| - Elliot Erwitt | |
| - Dorothea Lange | |
| - Joel Meyerowitz | |
| - Brassai | |
| - Bill Brandt | |
| - Atget | |
| - Ej Bellocq | |
| - Berenice Abbott |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- OPML generated by NetNewsWire --> | |
| <opml version="1.1"> | |
| <head> | |
| <title>PhotographyBlogs.opml</title> | |
| </head> | |
| <body> | |
| <outline text="Photography" title="Photography"> | |
| <outline text="Colin Devroe" title="Colin Devroe" description="" type="rss" version="RSS" htmlUrl="http://cdevroe.com/" xmlUrl="http://cdevroe.com/feed/"/> | |
| <outline text="Christopher May Fine Art Photography" title="Christopher May Fine Art Photography" description="" type="rss" version="RSS" htmlUrl="https://christophermayphotography.com/" xmlUrl="https://christophermayphotography.com/feed/"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Created by Colin Devroe | |
| cdevroe.com | |
| */ | |
| // Help | |
| if ( isset($argv[1]) && ($argv[1] == '-h' || $argv[1] == '-help') ) : | |
| print 'Colin\'s Photo Backup Utility' . "\n"; |
NewerOlder