In order for this to work you need to fetch your Zapier token from Marvin Settings > Strategies > Zapier integration > Settings.
However, you don't actually need a Zapier for this to work, just send the request from your favourite framework.
| <?php | |
| /* | |
| Plugin Name: Infogram oEmbed | |
| Plugin URI: | |
| Description: Adds oEmbed support for infogr.am and infogram.com urls. | |
| Author: khromov | |
| Version: 1.0 | |
| Author URI: https://khromov.se | |
| */ |
| <?php | |
| /** | |
| * Plugin Name: Fix broken Instagram oEmbed | |
| * Description: Fixes an issue with Instagram posts being broken when multiple posts are oEmbedded. | |
| * Version: 1.0 | |
| * Author: khromov | |
| */ | |
| /** | |
| * Remove Instagram embed.js script on each embed |
| <?php | |
| //... | |
| // This will usually be received from an env variable, for example $connectionString = getenv('DB_URL'); | |
| $connectionString = 'mysql://user:password@foo-bar.rds.amazonaws.com:3306/database'; | |
| // The values below will be your default values if $connectionString is empty. | |
| $dbConfig = array_merge( | |
| [ | |
| 'host' => 'localhost', |
Example: You've been using the Amazing Marvin Bookmarklet and now the tasks have piled up and Marvin is acting sluggish. Wallabag is a prefect place to migrate these bookmarks.
| import React, { useState, useEffect } from 'react'; | |
| function PWAOfflineStatus(props) { | |
| const [isOnline, setOnlineStatus] = useState(true); | |
| // https://stackoverflow.com/questions/44756154/progressive-web-app-how-to-detect-and-handle-when-connection-is-up-again | |
| useEffect(() => { | |
| const setFromEvent = function(event) { | |
| if(event.type === 'online') { | |
| setOnlineStatus(true); |
| <?php | |
| // Your themes functions.php | |
| add_action( 'init', function() { | |
| add_rewrite_rule( | |
| 'recipe/([0-9]+)/?$', | |
| 'index.php?pagename=recipe&recipe_id=$matches[1]', | |
| 'top' ); | |
| }); |
| <?php | |
| /** | |
| * Plugin Name: Multilingual Polylang sitemaps for "XML Sitemap & Google News" plugin | |
| * Description: For https://wordpress.org/plugins/xml-sitemap-feed/ | |
| * Version: 1.0 | |
| */ | |
| add_action('xmlsf_tags_after', function () { // xmlsf_tags_after | |
| //Bail early. | |
| if (!function_exists('pll_languages_list')) { |
phpMyAdmin will be available on http://localhost:8080