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
| cp /usr/local/share/boot2docker/boot2docker.iso ^[]4;0;rgb:18/18/18^[\^[]4;1;rgb:ab/46/42^[\^[]4;2;rgb:a1/b5/6c^[\^[]4;3;rgb:f7/ca/88^[\^[]4;4;rgb:7c/af/c2^[\^[]4;5;rgb:ba/8b/af | |
| ^[\^[]4;6;rgb:86/c1/b9^[\^[]4;7;rgb:d8/d8/d8^[\^[]4;8;rgb:58/58/58^[\^[]4;9;rgb:ab/46/42^[\^[]4;10;rgb:a1/b5/6c^[\^[]4;11;rgb:f7/ca/88^[\^[]4;12;rgb:7c/af/c2^[\^[]4;13;rgb:ba/8b/af^[\^[]4;14;rgb:86/c1/b9^ | |
| [\^[]4;15;rgb:f8/f8/f8^[\^[]4;16;rgb:dc/96/56^[\^[]4;17;rgb:a1/69/46^[\^[]4;18;rgb:28/28/28^[\^[]4;19;rgb:38/38/38^[\^[]4;20;rgb:b8/b8/b8^[\^[]4;21;rgb:e8/e8/e8^[\^[]10;rgb:d8/d8/d8^[\^[]11;rgb:18/18/18^[ | |
| \^[]12;rgb:d8/d8/d8^[\/Users/tvon/.docker/machine/cache/boot2docker.iso |
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
| " https://github.com/junegunn/vim-plug | |
| """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| let g:plug_window = 'botright new | resize 10' | |
| call plug#begin('~/.config/nvim/plugged') | |
| "Plug 'tpope/vim-fireplace', { 'for': 'clojure' } | |
| Plug 'tpope/vim-fugitive' | |
| Plug 'tpope/vim-rails' | |
| Plug 'tpope/vim-jdaddy' | |
| Plug 'tpope/vim-repeat' |
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
| 2015-10-30 17:51:41 +0000 Puppet (err): Unable to set ownership to puppet:puppet for log file: /vagrant/puppet.log | |
| 2015-10-30 17:51:41 +0000 Puppet (debug): Runtime environment: puppet_version=4.2.1, ruby_version=2.1.6, run_mode=user, default_encoding=UTF-8 | |
| 2015-10-30 17:51:41 +0000 Puppet (debug): Evicting cache entry for environment 'vagrant' | |
| 2015-10-30 17:51:41 +0000 Puppet (debug): Caching environment 'vagrant' (ttl = 0 sec) | |
| 2015-10-30 17:51:41 +0000 Puppet (debug): Evicting cache entry for environment 'vagrant' | |
| 2015-10-30 17:51:41 +0000 Puppet (debug): Caching environment 'vagrant' (ttl = 0 sec) | |
| 2015-10-30 17:51:41 +0000 Puppet (debug): Loading external facts from /opt/puppetlabs/puppet/cache/facts.d | |
| 2015-10-30 17:51:41 +0000 Puppet (info): Loading facts | |
| 2015-10-30 17:51:41 +0000 Puppet (debug): Loading facts from /tmp/vagrant-puppet/environments/vagrant/modules/apt/lib/facter/apt_reboot_required.rb | |
| 2015-10-30 17:51:41 +0000 Puppet (debug): Loading facts from /tmp/vagrant-puppet/environments/vagrant/modu |
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
| ### Keybase proof | |
| I hereby claim: | |
| * I am tvon on github. | |
| * I am tvon (https://keybase.io/tvon) on keybase. | |
| * I have a public key whose fingerprint is 4FFD D907 7261 DB2E 0E7D DC66 8C40 C6BE D305 148A | |
| To claim this, I am signing this object: |
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
| # from: https://gist.github.com/4ndrej/4547029 | |
| import javax.net.ssl.SSLSocket; | |
| import javax.net.ssl.SSLSocketFactory; | |
| import java.io.*; | |
| /** Establish a SSL connection to a host and port, writes a byte and | |
| * prints the response. See | |
| * http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
| */ | |
| public class SSLPoke { |
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
| #!/bin/bash | |
| bundle exec rubocop --format clang --only $1 -a | |
| git commit -p -m "$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
| Capybara.register_driver :poltergeist_inspector do |app| | |
| Capybara::Poltergeist::Driver.new(app, :inspector => true) | |
| end | |
| Before('@javascript', '@inspector') do | |
| Capybara.javascript_driver = :poltergeist_inspector | |
| end | |
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
| function SimpleObjectStore(storeName){ | |
| this.storeName = storeName; | |
| this.changedEvent = "asq:" + this.storeName + "-changed"; | |
| } | |
| SimpleObjectStore.prototype = { | |
| constructor: SimpleObjectStore, | |
| count: function(){ | |
| return this.get().length; |
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
| #!/bin/bash | |
| html2haml -ex $1 > tmp.haml | |
| git mv $1 ${1/.erb/.haml} | |
| mv tmp.haml ${1/.erb/.haml} |
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
| require 'aws' | |
| require 'json' | |
| # Set the following environment variables: | |
| # | |
| # PROJECT_NAME="" | |
| # AWS_ACCESS_KEY_ID="" | |
| # AWS_SECRET_ACCESS_KEY="" | |
| # | |
| # If so desired: |