Snippets frequently used with Sage
This file contains 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
import gpxpy.gpx | |
import requests | |
import sys | |
ROUTE_TYPES = { | |
'national': 'WanderlandRoutenNational', | |
'regional': 'WanderlandRoutenRegional', | |
'local': 'WanderlandRoutenLokal', | |
} |
This file contains 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 | |
/* | |
Plugin Name: GF Editable by Radley | |
Description: Example classes to make a particular gravity form editable on the front-end. | |
Author: Radley Sustaire | |
Author URI: https://radleysustaire.com/ | |
Version: 1.0.0 | |
*/ | |
// QUICK TEST INSTRUCTIONS: |
This file contains 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 | |
namespace Valet\Drivers\Custom; | |
class BedrockMultisiteValetDriver extends \Valet\Drivers\Specific\BedrockValetDriver | |
{ | |
/** | |
* Determine if the incoming request is for a static file. | |
* | |
* @return string|false |
This file contains 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 | |
/* | |
Plugin Name: Remove WP Meta | |
Plugin URI: http://leekelleher.com/ | |
Description: This plugin removes the auto-generated WP meta tags from each webpage. | |
Author: Lee Kelleher | |
Version: 0.1.0 | |
Author URI: http://leekelleher.com/ | |
*/ |