This file contains 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
bindings combos.mash, | |
'R': -> App.reloadConfig | |
'F': (win) -> win.maximize | |
'U': relocate (loc) -> loc.fillColumn() | |
'H': relocate (loc) -> loc.move('column', -1) | |
'J': relocate (loc) -> loc.move('row', 1) | |
'K': relocate (loc) -> loc.move('row', -1) | |
'L': relocate (loc) -> loc.move('column', 1) |
This file contains 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
mkdir -p read_window_layout/features/support | |
curl https://gist.github.com/raw/4495802/9d28d175fc1808e86e29248df793c01460cf7119/read-layout.feature > read_window_layout/features/read-layout.feature | |
curl https://gist.github.com/raw/4495802/ba67bac9506bda4522883f19c118fef23604db9e/features-support-env.rb > read_window_layout/features/support/env.rb |
This file contains 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
xmonad.hs:155:7: | |
Ambiguous occurrence `font' | |
It could refer to either `XMonad.Prompt.font', | |
imported from XMonad.Prompt at xmonad.hs:26:1-20 | |
or `Dzen.font', | |
imported from Dzen at xmonad.hs:35:1-11 | |
(defined at lib/Dzen.hs:89:7) |
This file contains 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
describe 'an ApplicationController spec', :shared => true do | |
before(:all) do | |
ActionController::Routing::Routes.draw do |map| | |
map.resources :foo | |
map.connect '/access', :controller => 'foo', :action => 'access', :conditions => { :method => :put } | |
map.login '/login', :controller => 'foo', :action => 'index' | |
end | |
end | |
after(:all) do |
This file contains 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
# Run this from oly-dev | |
rm -rf */vendor/libs/{aasm,haml,rspec_hpricot_matchers} | |
rm -rf */vendor/plugins/{better_partials,cucumber,rspec,webrat,will_paginate} | |
rm -rf */vendor/rails |
This file contains 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
[Wed Apr 08 16:09:15 2009] [error] [client 98.212.135.224] Premature end of script headers: profile, referer: http://my-web-site-not.example.com/profile/pictures | |
[ pid=17938 file=Hooks.cpp:502 time=2009-04-08 16:09:15.667 ]: | |
Backend process 17974 did not return a valid HTTP response. It returned no data. |
This file contains 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
-- % spec -fs matcher_spec.rb | |
a string | |
- should should be pretty lengthy | |
- can be short | |
- can be long | |
- can be too short (FAILED - 1) | |
- can be too long (FAILED - 2) | |
1) |
This file contains 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
## expand %m, %*; expand '$(echo hi)', '${foovar}' | |
setopt prompt_percent prompt_subst | |
_prompt_git_info () { | |
local g="$(git rev-parse --git-dir 2>/dev/null)" | |
if [ -n "$g" ]; then | |
local r | |
local b | |
if [ -d "$g/../.dotest" ] |
This file contains 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 'rubygems' | |
require 'spec' | |
class Foo | |
def bar | |
end | |
end | |
describe 'multistubs' do | |
it "should raise then return" do |
This file contains 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
Initially, the first time ActionView::Template#split is hit (so view loading has begun?): | |
(rdb:1) where | |
--> #0 ActionView::Template.split(file#String) | |
at line /Users/kyleh/oly-dev/admin/vendor/rails/actionpack/lib/action_view/template.rb:226 | |
#1 ActionView::Template.initialize(template_path#String, load_paths#ActionView::Template:...,...) | |
at line /Users/kyleh/oly-dev/admin/vendor/rails/actionpack/lib/action_view/template.rb:103 | |
#2 ActionView::Template::Path.new(file#String) | |
at line /Users/kyleh/oly-dev/admin/vendor/rails/actionpack/lib/action_view/template.rb:58 | |
#3 Array.directory? |