Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
| <?php | |
| /** | |
| * This is free and unencumbered software released into the public domain. | |
| * | |
| * Anyone is free to copy, modify, publish, use, compile, sell, or | |
| * distribute this software, either in source code form or as a compiled | |
| * binary, for any purpose, commercial or non-commercial, and by any | |
| * means. | |
| * |
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
| # From a fresh install of squeeze | |
| apt-get install ruby rubygems # Need ruby to use fpm | |
| gem1.8 install fpm --no-ri --no-rdoc | |
| apt-get install build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev ncurses-dev libyaml-dev | |
| wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz | |
| tar -zxvf ruby-1.9.3-p125.tar.gz | |
| cd ruby-1.9.3-p125 | |
| rm -rf /tmp/ruby193 |
| var AUTH_URL = "https://api.glitch.com/oauth2/authorize?response_type=code&client_id=000yourclientid000&redirect_uri=http://yoursitehere/oauth/&scope=identity"; | |
| var Auth_Router = Backbone.Router.extend({ | |
| routes: { | |
| "": "root", | |
| "oauth/?code=:code": "auth" | |
| }, | |
| root: function () {}, | |
| auth: function (code) { | |
| Meteor.call('authenticate', code, function (error, result) { |
| var ClientRouter = Backbone.Router.extend({ | |
| routes: { | |
| '404': 'notfound', | |
| '500': 'error', | |
| 'auth': 'auth', | |
| 'authCallback?oauth_token=:oauth_token&oauth_verifier=:oauth_verifier': 'authCallback', | |
| '': 'defaultRoute' | |
| }, | |
| defaultRoute: function() { |
| Search for the error message you're seeing. Then read what we have to say about it. Then fix it! If you still have problems, write in to [email protected] . | |
| ==== AUTOMATED JOB ERRORS: ==== | |
| -- Invalid credentials -- | |
| Some combination of the following error messages will be thrown: | |
| OpenQA.Selenium.WebDriverException : Unexpected error. Unknown username. | |
| You sent username 'None' in your browser string, which is not a valid Sauce Labs account. | |
| OpenQA.Selenium.WebDriverException : Unexpected error. Invalid Credentials. | |
| org.openqa.selenium.UnsupportedCommandException: Invalid Credentials. |
| // useful if you are injecting code into 3rd party websites that may already have Keen | |
| // this code will use the Keen SDK on the page if found, or initialize it's own otherwise. | |
| // this approach will work in the average case, but could break if the 3rd party website | |
| // is modifying or configuring the Keen library in an unexpected way | |
| // a more durable approach would be to use an iFrame containing only the SDK and pass it messages | |
| var context = this; | |
| var myKeenClient = null; |