Skip to content

Instantly share code, notes, and snippets.

View oliver-la's full-sized avatar

oliver. oliver-la

View GitHub Profile
import gpxpy.gpx
import requests
import sys
ROUTE_TYPES = {
'national': 'WanderlandRoutenNational',
'regional': 'WanderlandRoutenRegional',
'local': 'WanderlandRoutenLokal',
}
@RadGH
RadGH / edit-gf-entry.php
Last active August 17, 2023 01:26
Edit an existing gravityforms entry on the frontend
<?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:
@QWp6t
QWp6t / BedrockMultisiteValetDriver.php
Last active June 17, 2024 07:43
Fix Laravel Valet when using WordPress subdirectory multisite + Bedrock
<?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
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active July 18, 2024 11:25
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

@leekelleher
leekelleher / remove-wp-meta.php
Created January 22, 2013 10:30
WordPress plugin to remove the auto-generated meta tags.
<?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/
*/