Skip to content

Instantly share code, notes, and snippets.

View DawsonG's full-sized avatar

Dawson Goodell DawsonG

  • Amazon Web Services, Inc.
  • Seattle, WA
View GitHub Profile
@ddeyoung
ddeyoung / gist:5502723
Last active July 21, 2017 16:27
Enable comment toggling in Sublime Text 2 for Groovy on OS X
Copy the Java comment config file to the Groovy directory
cp ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Java/Comments.tmPreferences ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Groovy/
Edit ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Groovy/Comments.tmPreferences
Change line 8
<string>source.java</string>
@al-the-x
al-the-x / app-config-bootstrap-libraries.php
Created October 26, 2011 14:30
Example of loading the Zend Framework as a Lithium library
<?php
use \lithium\core\Libraries;
// Lots of other stuff...
/**
* Zend Framework 1.11.x is installed via PEAR into the standard PHP include_path
* location. We just need Lithium to know how to get to it.
*/