Skip to content

Instantly share code, notes, and snippets.

View codelahoma's full-sized avatar

Rod Knowlton codelahoma

View GitHub Profile
@codelahoma
codelahoma / multiple-resultsets.clj
Last active March 2, 2017 13:56
Using clojure.java.jdbc to process multiple result sets from a SQL Server instance.
;; 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])

HTML5/JavaScript/CSS Starting Points

A list of links to resources for the beginning web app programmer.

General

  • Mozilla Developer Network If could only offer a single link for getting started, I don't think I could do any better than this one. From the site:

>We are an open community of developers building resources for a

@codelahoma
codelahoma / get-your-vim-on.md
Last active August 5, 2020 17:22
Get Your Vim On

Get Your Vim On

Rod Knowlton (@codelahoma)

Tulsa Web Devs - 8/20/2012

Last Updated: - 10/11/2013

First Things First

" 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>

Welcome to Drift!

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.

@codelahoma
codelahoma / rails31init.md
Created August 31, 2011 17:51 — forked from jraines/rails31init.md
Rails 3.1 with Rspec, Cucumber, Factory Girl, Haml, and Simple Form

Install Rails 3.1 RC

gem install rails --pre

generate new app, skipping Test::Unit file generation

rails new my_app -T

Set up Gemfile