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
{ | |
"mingle.local": { | |
"_enabled": true, | |
"_rules": { | |
"#card-index": { | |
"font-size": "5em", | |
"color": "#0076BA" | |
}, | |
"#show_enumeratedpropertydefinition_479_drop_link": { | |
"font-weight": "bold", |
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
// 1: how could you rewrite the following to make it shorter? | |
if (foo) { | |
bar.doSomething(el); | |
} else { | |
bar.doSomethingElse(el); | |
} | |
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
Post-install message from multi_json: | |
******************************************************************************** | |
MultiJson.encode is deprecated and will be removed in the next major version. | |
Use MultiJson.dump instead. | |
MultiJson.decode is deprecated and will be removed in the next major version. | |
Use MultiJson.load instead. | |
MultiJson.engine is deprecated and will be removed in the next major version. |
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
(message (progn (string-match "foobar \\(.*\\)" "foobar -print me-") | |
(match-string 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
(message (progn (string-match "foobar \\(.*\\)" "foobar -print me-") | |
(match-string 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
(setq inferior-lisp-program "sbcl") | |
(require 'slime) | |
(add-to-list 'load-path (concat (directory-of-library "slime") "/contrib")) | |
(require 'fancy-slime) | |
(slime-setup '(fancy-slime)) |
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
;; Display ido results vertically, rather than horizontally | |
(setq ido-decorations '("\n " "" "\n " "\n ..." "{" "}" " [No match]" " [Matched]" " [Not readable]" " [Too big]" " [Confirm]")) |
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
test: #keys_for should return array of keys. (Icg::ReferenceDataTableTest): | |
ActiveRecord::StatementInvalid: PGError: ERROR: operator does not exist: extensions.hstore -> unknown | |
LINE 1: ...ata_rows"."reference_data_table_id" = 9 AND (data -> 'test_f... | |
^ | |
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. | |
: SELECT key FROM "icg_reference_data_rows" WHERE "icg_reference_data_rows"."reference_data_table_id" = 9 AND (data -> 'test_field' = 'AA') ORDER BY key desc | |
app/models/icg/reference_data_table.rb:70:in `keys_for' | |
/test/unit/icg/reference_data_table_test.rb:141:in `__bind_1337184784_849713' | |
Error: | |
test: #keys_for should return empty array when field does not exist. (Icg::ReferenceDataTableTest): |
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
(loop for i in '(1 2 3) | |
for k in (* i i) | |
collect k) |
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
(loop for i in '(1 2 3) | |
for l in (+ 1 i) | |
for k = (* i l) | |
collect k) |