Skip to content

Instantly share code, notes, and snippets.

# HG changeset patch
# User Greg Hurrell <glh@fb.com>
# Date 1398722963 25200
# Mon Apr 28 15:09:23 2014 -0700
# Branch stable
# Node ID 0636a785b24d45923b50d694ba2937cddd4d3af5
# Parent bcfd44abad933390b1b21d7ffcd107fca0023dd2
help: clarify distinction among `contains`/`file`/`filelog`
For a Mercurial new-comer, the distinction between `contains(x)`, `file(x)`, and
$ make clean
$ ruby extconf.rb
checking for float.h... yes
checking for ruby.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for fcntl.h... yes
checking for sys/errno.h... yes
checking for sys/socket.h... yes
checking for ruby/st.h... yes
diff --git a/ruby/command-t/controller.rb b/ruby/command-t/controller.rb
index 747d35f..908a743 100644
--- a/ruby/command-t/controller.rb
+++ b/ruby/command-t/controller.rb
@@ -242,6 +242,7 @@ def show
@prompt.focus
register_for_key_presses
set_up_autocmds
+ @active_finder.initial_buffer = @initial_buffer
clear # clears prompt and lists matches
$ yak-layout optimize colemak -c 10
Optimizing Colemak:
Starting fitness: 239,576.58
Iteration 0:
⎋ F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 ⌽
` 1 2 3 4 5 6 7 8 9 0 - = ⌫
⇥ q w f p g j l u y ; [ ] \
⇪ a r s x d h n e i o ' ↩
⇧ z t c v b k m , . / ⇧
f ⌃ ⌥ ⌘ ␣ ⌘ ⌥ ← ↑ ↓ →
$ yak-layout corpus-stats
Corpus length: 7,198,132 bytes
Unigrams by frequency (top 68 of 68):
-------------------------------------
e: 319,790 (11.37%)
t: 233,143 (8.29%)
r: 176,189 (6.26%)
a: 170,065 (6.05%)
n: 169,157 (6.01%)
$ yak-layout layout-stats
Qwerty layout stats:
--------------------
Finger utilization:
-------------------
Left Ring Finger: 369,490 (10.49%) |----o |
Left Middle Finger: 427,167 (12.13%) |----o |
Left Index Finger: 686,492 (19.50%) |-------o |
* 937d61b (HEAD -> master, origin/master, origin/HEAD, github/master) Make :Acks handle custom delimiters and options (11 days ago) <Greg Hurrell>
* c6694c0 Merge branch 'pull/19' (12 days ago) <Greg Hurrell>
|\
| * c03cd0d (pull/19) doc: Make handler limitations more explicit (12 days ago) <Greg Hurrell>
| * 013acf1 Remove unnecessary whitespace change (12 days ago) <Greg Hurrell>
| * 7950cce doc: Avoid unwanted syntax highlighting (13 days ago) <Greg Hurrell>
| * cc52164 doc: Correct g:FerretLLHandler default (13 days ago) <Greg Hurrell>
| * bf5236d Only lookup handler settings when needed (13 days ago) <Greg Hurrell>
| * f0a7ca0 doc: Update HISTORY section (13 days ago) <Greg Hurrell>
| * b2e2b08 doc: Apply grammar tweak (13 days ago) <Greg Hurrell>
From f0d6ada3424fb0d02dfcb9a474e751e30fe37662 Mon Sep 17 00:00:00 2001
From: Wincent Colaiuta <win@wincent.com>
Date: Fri, 20 Nov 2009 21:52:16 +0100
Subject: [PATCH] Fix typo in README
FixtureReplacement generates methods like "valid_user_attributes", not
"valid_user".
Signed-off-by: Wincent Colaiuta <win@wincent.com>
---
From 4c3574c21d09efbdd649f93f3db3af7455f9369e Mon Sep 17 00:00:00 2001
From: Wincent Colaiuta <win@wincent.com>
Date: Wed, 23 Jun 2010 01:39:29 +0200
Subject: [PATCH] Add the ability to override default "spec/acceptance" dir
Some users may wish to keep their acceptance specs in a directory that
is completely separate from their existing "specs" directory (for
example, because they don't want to run the acceptance specs whenever
they do "rake spec").
'Browser#html does not fail for huge pages' FAILED
expected "" to include "hello</body>"
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/expectations/fail_with.rb:41:in `fail_with'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/expectations/handler.rb:21:in `handle_matcher'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/expectations/extensions/kernel.rb:27:in `should'
/Users/wincent/trabajo/vendor/celerity/celerity.git/spec/browser_spec.rb:83:
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in `instance_eval'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:40:in `execute'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_methods.rb:37:in `execute'
/usr/local/jruby-1.5.1/lib/ruby/gems/1.8/gems/rspec-1.3.0/lib/spec/example/example_group_methods.rb:214:in `run_examples'