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
Qwerty | |
,-----------------------------------------------------------------------------------. | |
| ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp | | |
|------+------+------+------+------+------+------+------+------+------+------+------| | |
| Tab | Q | W | E | R | T | Y | U | I | O | P | Del | | |
|------+------+------+------+------+-------------+------+------+------+------+------| | |
| Esc | A | S | D | F | G | H | J | K | L | ; | " | | |
|------+------+------+------+------+------|------+------+------+------+------+------| | |
| Shift| Z | X | C | V | B | N | M | , | . | / |Enter | | |
|------+------+------+------+------+------+------+------+------+------+------+------| |
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
it "saves cleanly from builder" do | |
create_${TM_FILENAME/(\w+)_spec\.rb/$1/}.should_not be_a_new_record | |
end |
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
// Add a Mustache.js templating function to your JavaScript: | |
Mustache.template = function(templateString) { | |
return function () { | |
if (arguments.length < 1) { | |
// With no arguments, return the raw template -- useful for rendering | |
// partials. | |
return templateString; | |
} else { | |
return Mustache.to_html(templateString, arguments[0], arguments[1]); |