Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
| <?php | |
| /** | |
| * Adding a custom filter | |
| * A simple copy and paste of the existing Category filter | |
| * Find this new filter in: WP Admin > Events > Settings > Filterbar | |
| * Docs for TribeEventsFilter: http://docs.tri.be/Filter-Bar/class-TribeEventsFilter.html | |
| */ | |
| class TribeEventsFilter_CustomClubs extends TribeEventsFilter { | |
| public $type = 'select'; |
| # BEGIN wp-login.php blocks | |
| <Files wp-login.php> | |
| order allow,deny | |
| deny from 31.184.238.38 | |
| deny from 178.151.216.53 | |
| deny from 91.224.160.143 | |
| deny from 195.128.126.6 | |
| deny from 85.114.133.118 | |
| deny from 177.125.184.8 | |
| deny from 89.233.216.203 |
| /** | |
| * jQuery alterClass plugin | |
| * | |
| * Remove element classes with wildcard matching. Optionally add classes: | |
| * $( '#foo' ).alterClass( 'foo-* bar-*', 'foobar' ) | |
| * | |
| * Copyright (c) 2011 Pete Boere (the-echoplex.net) | |
| * Free under terms of the MIT license: http://www.opensource.org/licenses/mit-license.php | |
| * | |
| */ |
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