Skip to content

Instantly share code, notes, and snippets.

View bcole808's full-sized avatar

Ben Cole bcole808

View GitHub Profile
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@tillkruss
tillkruss / gist:4616592
Last active December 11, 2015 14:48
Force disable WordPress developer plugins in production environments. Depended on WP_STAGE constant. Use as MU plugin.
<?php
/*
Plugin Name: Disable Developer Plugins
Description: Force disables developer plugins in production environments.
*/
$dev_plugins = array(
'debug-bar/debug-bar.php',
'debug-bar-cron/debug-bar-cron.php',
'debug-bar-extender/debug-bar-extender.php',
@johnregan3
johnregan3 / schedule-event-tutorial.php
Last active December 29, 2015 21:30
Code for a wp_schedule_single_event Tutorial.
<?php
/**
* Plugin Name: Schedule Event Tutorial
* Description: Schedules single event to uncheck a checkbox on a custom Menu page
* Version: 0.1
* Author: John Regan
* Author URI: http://johnregan3.me
* Text Domain: setjr3
* License: GPLv2+
@nicknmejia
nicknmejia / README.md
Last active September 16, 2020 03:20
Youtube Channel Statistics Widget

YouTube Channel Statistics Widget

Super simple dashing widget for displaying your youtube channels stats

Credit to ephigenia and jonasrosland for creating other youtube widgets that I pulled bits and pieces from
Hugs and kisses to my loved ones. Vote for Nader!