Skip to content

Instantly share code, notes, and snippets.

View mbriggs's full-sized avatar

Matt Briggs mbriggs

View GitHub Profile
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.
(message (progn (string-match "foobar \\(.*\\)" "foobar -print me-")
(match-string 1)))
(message (progn (string-match "foobar \\(.*\\)" "foobar -print me-")
(match-string 1)))
(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))
;; Display ido results vertically, rather than horizontally
(setq ido-decorations '("\n " "" "\n " "\n ..." "{" "}" " [No match]" " [Matched]" " [Not readable]" " [Too big]" " [Confirm]"))
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):
(loop for i in '(1 2 3)
for k in (* i i)
collect k)
(loop for i in '(1 2 3)
for l in (+ 1 i)
for k = (* i l)
collect k)
(defun build-railgun-files ()
(loop for type in (railgun-file-types)
for files in (all-files-under-dir-recursively (railgun-search-path type))
for file-info in (mapcar 'railgun-build-file-info files)
collect file-info))
@mbriggs
mbriggs / gist:3165054
Created July 23, 2012 18:04
my notes for day 1 throne of js, in org mode
* day 1
** ashkenas on backbone
*** only 800loc
*** keeps your ui code stateless
*** a way to manage data
*** the expectations today are more then filling out forms and submitting them to the server
**** initial use of ajax was about as conservative as possible (html chunks)
*** philosophy is DIY ideal API
**** get the truth out of the DOM
***** the dom is not the document, it is the interface