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
| <div id="header"> | |
| <ul class="jumpnav"> | |
| <li id="tablink1"><a href="#tab1">Tab 1</a></li> | |
| <li id="tablink2"><a href="#tab2">Tab 2</a></li> | |
| <li id="tablink3"><a href="#tab3">Tab 3</a></li> | |
| <li id="tablink4"><a href="#tab4">Tab 4</a></li> | |
| </ul> | |
| </div> |
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
| #panelContatiner{ | |
| height:320px; | |
| overflow:hidden; | |
| } | |
| .box { | |
| height:320px; | |
| width:780px; | |
| margin: 0 auto; | |
| padding:10px; |
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/env ruby | |
| # | |
| # capistrano deploy with shared / current directories | |
| # bundle install --gemfile ~/current/Gemfile --deployment --binstubs --path ~/shared/bundle | |
| # ~/current/bin is ls -n -> ~/shared/bin | |
| # replace bin/unicorn with this script, running ~/current/bin/unicorn gives | |
| # bundler 1.02 ~/current/Gemfile | |
| # bundler 1.03 ~/shared/Gemfile | |
| #bundler 1.02 |
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
| if RUBY_VERSION =~ /1.9/ | |
| Encoding.default_external = Encoding::UTF_8 | |
| Encoding.default_internal = Encoding::UTF_8 | |
| 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
| # act like vim | |
| # thanks thoughtbot | |
| # http://robots.thoughtbot.com/post/2166174647/love-hate-tmux | |
| setw -g mode-keys vi | |
| bind h select-pane -L | |
| bind j select-pane -D | |
| bind k select-pane -U | |
| bind l select-pane -R | |
| bind-key -r C-h select-window -t :- | |
| bind-key -r C-l select-window -t :+ |
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
| " http://mislav.uniqpath.com/2011/12/vim-revisited/ | |
| set nocompatible " choose no compatibility with legacy vi | |
| syntax enable | |
| set encoding=utf-8 | |
| set showcmd " display incomplete commands | |
| filetype plugin indent on " load file type plugins + indentation | |
| "" Whitespace | |
| set nowrap " don't wrap lines |
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 'rspec' | |
| require 'stringio' | |
| class Executor | |
| def initialize(io) | |
| @io = io | |
| end | |
| def commands | |
| @commands ||= [] |
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
| FAIL (1:00:18.482) test_execute_raises_on_non_zero_exit_status_and_captures_stdout_and_stderr | |
| --- expected | |
| +++ actual | |
| @@ -1,3 +1,3 @@ | |
| "echo stdout: Nothing written | |
| -echo stderr: Test capturing stderr | |
| +echo stderr: Nothing written | |
| " |
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 'capistrano/setup' | |
| require 'capistrano/deploy' | |
| require 'capistrano/scm' | |
| require 'capistrano/git' | |
| class Capistrano::Git < Capistrano::SCM | |
| module SubmoduleStrategy | |
| include DefaultStrategy | |
| def release |
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
| task :debug do | |
| SSHKit.configure { |config| config.output_verbosity = :debug } | |
| end | |
| task :reset_log_level do | |
| SSHKit.configure { |config| config.output_verbosity = fetch(:log_level) } | |
| end | |
| before 'deploy:migrate', 'debug' | |
| after 'deploy:migrate', 'reset_log_level' |
OlderNewer