Skip to content

Instantly share code, notes, and snippets.

View sdeluce's full-sized avatar

Stéphane Deluce sdeluce

View GitHub Profile

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
@sdeluce
sdeluce / class.php
Last active November 8, 2021 19:07 — forked from hlashbrooke/class.php
<?php
if ( ! defined( 'ABSPATH' ) ) exit;
class WordPress_Plugin_Template_Settings {
private $dir;
private $file;
private $assets_dir;
private $assets_url;
private $settings_base;
@sdeluce
sdeluce / functions.php
Last active August 29, 2015 14:21 — forked from diije/functions.php
<?php
/**
* Usage:
* Paste a gist link into a blog post or page and it will be embedded eg:
* https://gist.github.com/diije/5805069
*
* If a gist has multiple files you can select one using a url in the following format:
* https://gist.github.com/diije/5805069?file=embed-gist.php
*/