Skip to content

Instantly share code, notes, and snippets.

@hd-deman
hd-deman / GitCommitEmoji.md
Created November 2, 2019 14:42 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
test
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=
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
@hd-deman
hd-deman / s3.sh
Last active August 29, 2015 14:25 — forked from chrismdp/s3.sh
Uploading to S3 in 18 lines of Shell (used to upload builds for http://soltrader.net)
# 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
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
/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)
@hd-deman
hd-deman / gist:d856151147ab9c3c3564
Created February 21, 2015 21:56
Downgrade Boot2Docker and Docker from 1.5.0 to 1.4.1 on OS X
* 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
@hd-deman
hd-deman / Gemfile
Last active August 29, 2015 14:15 — forked from shirkevich/Gemfile
source "https://rubygems.org"
gem "certificate_authority"
@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