⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A XMLHttpRequest wrapper for IE < 10. | |
# When it comes to cross domain ajax requests, it uses XDomainRequest instead. | |
# ** Only supports GET and POST requests! ** | |
# Targeting IE < 10 | |
# https://github.com/amcintyre-cs/strophejs-plugins/commit/b0a6ff2571bb70dd2f6f65c46034f4e47d75d564 | |
return unless window.XDomainRequest and !("withCredentials" in window.XMLHttpRequest) | |
OriginalXMLHttpRequest = window.XMLHttpRequest | |
window.location.origin ?= window.location.protocol + '//' + window.location.host |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import compass | |
$icons: sprite-map("icons/*.png") | |
$icons-hd: sprite-map("icons-hd/*.png") | |
i | |
background: $icons | |
display: inline-block | |
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) | |
background: $icons-hd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem "certificate_authority" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* brew tap homebrew/boneyard | |
* cd $( brew --prefix ) | |
* brew versions docker | |
git_hash = $(brew versions docker | awk '$1 == "1.4.1" {print $4}') | |
* git checkout $git_hash Library/Formula/docker.rb | |
* brew unlink docker | |
* brew install docker | |
* brew switch docker 1.4.1 | |
* docker --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/deploy/projects/excursiopedia/releases/20150313142354 root@8beb02cc50b1 55s | |
❯ RBENV_ROOT=/opt/rbenv RBENV_VERSION=2.0.0-p598 RAILS_ENV=staging_docker /opt/rbenv/bin/rbenv exec bundle exec rake assets:precompile --trace | |
** Invoke assets:precompile (first_time) | |
** Execute assets:precompile | |
/opt/rbenv/versions/2.0.0-p598/bin/ruby /opt/rbenv/versions/2.0.0-p598/bin/rake assets:precompile:all RAILS_ENV=staging_docker RAILS_GROUPS=assets --trace | |
** Invoke assets:precompile:all (first_time) | |
** Invoke assets:cache:clean (first_time) | |
** Invoke assets:environment (first_time) | |
** Execute assets:environment | |
** Invoke environment (first_time) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO [583858f3] Running /opt/rbenv/bin/rbenv exec bundle exec rake assets:precompile on pizza.excursiopedia.org | |
DEBUG [583858f3] Command: cd /home/deploy/projects/excursiopedia/releases/20150313163848 && ( RBENV_ROOT=/opt/rbenv RBENV_VERSION=2.0.0-p598 RAILS_ENV=staging_docker /opt/rbenv/bin/rbenv exec bundle exec rake assets:precompile ) | |
DEBUG [583858f3] /opt/rbenv/versions/2.0.0-p598/bin/ruby /home/deploy/projects/excursiopedia/shared/bundle/ruby/2.0.0/bin/rake assets:precompile:all RAILS_ENV=staging_docker RAILS_GROUPS=assets | |
DEBUG [583858f3] Connecting to database specified by database.yml | |
DEBUG [583858f3] /opt/rbenv/versions/2.0.0-p598/bin/ruby /home/deploy/projects/excursiopedia/shared/bundle/ruby/2.0.0/bin/rake assets:precompile:all RAILS_ENV=staging_docker RAILS_GROUPS=assets | |
DEBUG [583858f3] Language Load (0.3ms) SELECT `languages`.* FROM `languages` | |
DEBUG [583858f3] /opt/rbenv/versions/2.0.0-p598/bin/ruby /home/deploy/projects/excursiopedia/shared/bundle/ruby/2.0.0/bin/rake assets:precompile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
# S3KEY="my aws key" | |
# S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrome_1 | 11:23:34.264 INFO - v2.46.0, with Core v2.46.0. Built from revision 87c69e2 | |
chrome_1 | 11:23:34.344 INFO - Driver provider org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: | |
chrome_1 | registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match the current platform LINUX | |
chrome_1 | 11:23:34.345 INFO - Driver class not found: com.opera.core.systems.OperaDriver | |
chrome_1 | 11:23:34.345 INFO - Driver provider com.opera.core.systems.OperaDriver is not registered | |
chrome_1 | 11:23:34.426 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub | |
chrome_1 | 11:23:34.426 INFO - Selenium Server is up and running | |
chrome_1 | 29/07/2015 11:23:34 passing arg to libvncserver: -rfbport | |
chrome_1 | 29/07/2015 11:23:34 passing arg to libvncserver: 5900 | |
chrome_1 | 29/07/2015 11:23:34 -usepw: found /root/.vnc/passwd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17:08:42.303 WARN - Exception: unknown error: cannot find Chrome binary | |
(Driver info: chromedriver=2.16.333243 (0bfa1d3575fc1044244f21ddb82bf870944ef961),platform=Linux 3.13.0-46-generic x86_64) (WARNING: The server did not provide any stacktrace information) | |
Command duration or timeout: 510 milliseconds | |
Build info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16' | |
System info: host: 'ip-172-31-7-203', ip: '172.31.7.203', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-46-generic', java.version: '1.8.0_31' | |
Driver info: org.openqa.selenium.chrome.ChromeDriver | |
17:08:42.393 INFO - Executing: [new session: Capabilities [{rotatable=false, nativeEvents=false, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, chromeOptions={args=[--start-maximized, --no-sandbox]}, version=, platform=ANY, cssSelectorsEnabled=true}]]) | |
17:08:42.403 INFO - Creating a new session for Capabilities [{rotatable=false, nativeEvents=false, browserName=chrome, takesScreenshot=true, javascriptEnabled= |
OlderNewer