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
sudo su - | |
mkdir -p /opt/bin | |
curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose-`uname -s`-`uname -m` > /opt/bin/docker-compose | |
chmod +x /opt/bin/docker-compose |
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
{ | |
"always_show_minimap_viewport": true, | |
"indent_guide_options": [ "draw_normal", "draw_active" ], | |
"line_padding_bottom": 1, | |
"line_padding_top": 1, | |
"highlight_modified_tabs": true, | |
"translate_tabs_to_spaces": true, | |
"find_selected_text": true, | |
"word_wrap": true, | |
"bold_folder_labels": true, |
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 | |
set -e | |
sudo su | |
echo '64.150.181.206 energyworksadmin.wreckage.io' >> /etc/hosts | |
sleep 3 | |
echo "Attempting to connect to energyworksadmin.wreckage.io..." |
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
#!/usr/bin/ruby2.0 | |
class Proxy | |
instance_methods.each do |m| | |
undef_method m unless m =~ /(^__|^send$|^object_id$)/ | |
end | |
def initialize(*targets) | |
@targets = targets | |
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
[2014-11-05T23:57:12+00:00] ERROR: cookbook_file[/home/deployer/.ssh/id_rsa.pub] (inflection::default line 67) had an error: Chef::Exceptions::FileNotFound: Cookbook 'inflection' (0.1.0) does not contain a file at any of these locations: | |
files/ubuntu-12.04/id_deploy.pub | |
files/ubuntu/id_deploy.pub | |
files/default/id_deploy.pub | |
This cookbook _does_ contain: ['/tmp/kitchen/cookbooks/inflection/files/default/id_deploy','/tmp/kitchen/cookbooks/inflection/files/default/wrap-ssh4git.sh'] | |
[2014-11-05T23:57:12+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
>>>>>> Converge failed on instance <identity-ubuntu-1204>. | |
>>>>>> Please see .kitchen/logs/identity-ubuntu-1204.log for more details | |
>>>>>> ------Exception------- |
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 'spec_helper' | |
describe SigninController do | |
describe "#signin_page" do | |
before do | |
@user = FactoryGirl.create(:user) | |
end | |
context "when the user is already signed in" do | |
before do | |
controller.sign_in(@user) |
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
def hello(name) | |
puts "Hello, #{name}!" | |
end |
NewerOlder