Install Python
$ brew install readline sqlite gdbm --universal
$ brew install python --universal --framework
$ python --version
Python 2.7.5
Symlinks...
| image: gitlab.dev.terastrm.net:4567/terastream/cisco-nso/ci-cisco-nso:4.2.3 | |
| stages: | |
| - build | |
| - mr-robot | |
| variables: | |
| NCS_VERSION: "4.2.3" | |
| DOCKER_REGISTRY: "gitlab.dev.terastrm.net:4567/terastream/cisco-nso" | |
| TARGET_REGISTRY: "repo.dev.terastrm.net:5000/" |
| var casper = require('casper').create({ | |
| verbose: true, | |
| logLevel: "debug", | |
| viewportSize: { width: 1378, height: 768 }, //for real, my screen is like everyone else's! | |
| pageSettings: { | |
| loadImages: false, | |
| loadPlugins: false, | |
| //I'm using Chrome, I SWEAR | |
| userAgent: "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36" | |
| }, |
Install Python
$ brew install readline sqlite gdbm --universal
$ brew install python --universal --framework
$ python --version
Python 2.7.5
Symlinks...
To toast:
brew install imagemagick)$ bundle install
$ ./get_token [user] [pass]
$ export GHUSER=[myuser]
Scenario: you already have an app running at http://your.server.com/ and you want to run Sentry at http://your.server.com/sentry/
I spend a few hours banging my head against this, and finally got it to work. There may be a better way, but I couldn't find it.
Warning: hacky.
| DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage' | |
| STATICFILES_STORAGE = 'path.to.storage.S3StaticStorage' | |
| THUMBNAIL_DEFAULT_STORAGE = 'storages.backends.s3boto.S3BotoStorage' | |
| AWS_ACCESS_KEY_ID = 'YOUR KEY' | |
| AWS_SECRET_ACCESS_KEY = 'YOUR KEY' | |
| AWS_STORAGE_BUCKET_NAME = 'media.YOURSITE.com' | |
| AWS_STATIC_BUCKET_NAME = 'static.YOURSITE.com' | |
| AWS_S3_CUSTOM_DOMAIN = AWS_STORAGE_BUCKET_NAME | |
| AWS_STATIC_CUSTOM_DOMAIN = AWS_STATIC_BUCKET_NAME | |
| STATIC_URL = 'http://%s/' % AWS_STATIC_BUCKET_NAME |
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