gem install rails --pre
rails new my_app -T
Drift is an always-already versioned, cloud-backed text editor. You can use it to take notes, and save them in the GitHub cloud.
Your gists are always saved locally, and any changes you make will get pushed to GitHub's servers.
To name a gist, touch its name in the toolbar.
You can use the share button at the top-right to copy a link to one of your gists, or view it on the web in Safari.
" CtrlP config to replace Gary Bernhardt's Command-T config | |
" from 'File Navigation with Vim' | |
" (http://www.destroyallsoftware.com/file-navigation-in-vim.html) | |
map <leader>f :ClearCtrlPCache<cr>\|:CtrlPCurWD<cr> | |
map <leader>gf :ClearCtrlPCache<cr>\|:CtrlPCurFile<cr> | |
map <leader>b :CtrlPBuffer<cr> | |
" Custom Rails specific CtrlP mappings | |
map <leader>gv :ClearCtrlPCache<cr>\|:CtrlP app/views<cr> | |
map <leader>gc :ClearCtrlPCache<cr>\|:CtrlP app/controllers<cr> |
>We are an open community of developers building resources for a
;; Does not handle parametized queries for the | |
;; simple reason that I was dealing with a pre-formatted | |
;; string to call a stored procedure. | |
;; | |
;; Feel free to fork and improve. :-) | |
(require '[clojure.java.jdbc :as j] | |
'[clojure.java.jdbc.sql :as s]) | |
# moved internal properties to arguments.callee so | |
# we don't have to worry about name collisions with our | |
# context. | |
tco = (fn) -> | |
(args...) -> | |
my = arguments.callee | |
my.recurred = false | |
my.args = [] |
When watching David Nolen's excellent Lambda Jam keynote on InfoQ, the references to interesting reading came a little too fast and furious for me to jot down, so I went through the slides and put this gist together.
Steve Souder's Mobile Perf Tools (sources listed below)