Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn.
Author: Kaspars Dambis
kaspars.net / @konstruktors
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn.
Author: Kaspars Dambis
kaspars.net / @konstruktors
| <?php | |
| /** | |
| * @author James Morris <[email protected]> | |
| */ | |
| $html = <<<'EOF' | |
| <html> | |
| <body> | |
| <h1>Foo</h1> | |
| <div id="content"> |
| // This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref | |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.github.io | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php | |
| */ |
This gist assumes:
Prereq:
apt-get install zsh
apt-get install git-coreGetting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
| // if (!window.L) { window.L = function () { console.log(arguments);} } // optional EZ quick logging for debugging | |
| /** | |
| * A modified (improved?) version of the jQuery plugin design pattern | |
| * See http://docs.jquery.com/Plugins/Authoring (near the bottom) for details. | |
| * | |
| * ADVANTAGES OF EITHER FRAMEWORK: | |
| * - Encapsulates additional plugin action methods without polluting the jQuery.fn namespace | |
| * - Ensures ability to use '$' even in compat modes | |
| * |
Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.
open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl
You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html