I hereby claim:
- I am rheinardkorf on github.
- I am rheinard (https://keybase.io/rheinard) on keybase.
- I have a public key ASB9TuTMvilmuznN6BgU_qlDotTEDiz199xdsUWbOVqnnwo
To claim this, I am signing this object:
Verifying that +rheinardkorf is my blockchain ID. https://onename.com/rheinardkorf |
#!/usr/bin/swift | |
// @author: Rheinard Korf | |
import Foundation | |
// We need this struct to make life easier | |
struct TabItem { | |
var title: String | |
var name: String | |
var link: String |
<?php | |
// Hook in the editor's `enqueue_scripts` function | |
add_action( 'some_footer_action', array( '_WP_Editors', 'enqueue_scripts' ) ); | |
// Some function that's going to render in the page footer | |
function some_footer_render_function() { | |
do_action( 'some_footer_action' ); | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
<?php | |
/* | |
Plugin Name: Slack SSO | |
Plugin URI: https://gist.github.com/rheinardkorf/91431d6e8e7b5070730352321876d5d3 | |
Description: Sign into your WordPress site with Slack. | |
Version: 0.1-alpha | |
Author: Rheinard Korf | |
Author URI: https://gist.github.com/rheinardkorf/91431d6e8e7b5070730352321876d5d3 | |
License: GPL2 | |
License URI: http://www.gnu.org/licenses/gpl-2.0.html |
<?php | |
/** | |
* Whitelist embedded links in the REST API responses | |
* | |
* This is often useful if you want to only get specified resources embedded along with the | |
* main resources, rather than the "all of nothing" approach of passing `?_embed` to the API request. | |
* | |
* You can either pass a comma seperated list of relationships or an array of string via the `_embed_include` query param. | |
* |
version: '2' | |
services: | |
nginx: | |
image: nginx:1.10.3-alpine | |
ports: | |
- 80:80 | |
- 443:443 | |
volumes: | |
- ./htdocs:/var/www/html |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/* | |
Plugin Name: Enable OAuth UI | |
Plugin URI: https://gist.github.com/rheinardkorf/dab0f0f46b814e1a7d1d | |
Description: Allows you to create consumer key pairs without WP CLI and the ability to name them for each APP. Must have WP API Oauth Server plugin active. | |
Version: 0.1 | |
Author: Rheinard Korf | |
Author URI: https://gist.github.com/rheinardkorf/ | |
License: GPL2 | |
License URI: http://www.gnu.org/licenses/gpl-2.0.html |
<?php | |
function check_compatibility( $audit_files_directory, $phpcs_report_file, $phpcompat_report_file, $lowest_version = '5.2' ) { | |
// Official PHP versions. | |
// Note: Does not include patch releases as PHPCompatibility doesn't get this granular. | |
$php_versions = array( | |
'5.2', | |
'5.3', |