A module to automatically translate snake_case method calls into CamelCase method calls. For example:
class MyObject
include Snakeable
def FooBar
"baz"
end
end
table | |
thead | |
tr | |
th = sort_link(@q, :number) | |
th = sort_link(@q, :production_status) | |
th = sort_link(@q, :current_step) | |
th = order_name(:production_type) | |
th = order_name(:type) | |
th = order_name(:brand) | |
th = order_name(:color) |
// http://stackoverflow.com/questions/133925/javascript-post-request-like-a-form-submit | |
// form_submit('/contact/', {name: 'Johnny Bravo'}); | |
function form_submit(path, params, method) { | |
method = method || "post"; // Set method to post by default if not specified. | |
// The rest of this code assumes you are not using a library. | |
// It can be made less wordy if you use one. | |
var form = document.createElement("form"); | |
form.setAttribute("method", method); | |
form.setAttribute("action", path); |
A module to automatically translate snake_case method calls into CamelCase method calls. For example:
class MyObject
include Snakeable
def FooBar
"baz"
end
end
# out of date | |
# see https://github.com/lingceng/lingceng-config | |
[user] | |
name = zhongkx | |
email = zhongkx@reocar.com | |
[push] | |
default = simple | |
[alias] | |
st = status | |
ci = commit |
" out of date | |
" see https://github.com/lingceng/lingceng-config | |
" | |
" Grep Operator Vim Plugin | |
" | |
" Description: | |
" Grep text recursively in current file and open the quickfix window. | |
" | |
" Install: | |
" Put this plugin here ~/.vim/plugin/grep-operator.vim |
" ctrlp.vim | |
" | |
" cd D:/Vim/vimfiles | |
" git clone https://github.com/kien/ctrlp.vim.git bundle/ctrlp.vim | |
" | |
" :helptags D:\Vim\vimfiles\bundle\ctrlp.vim\doc | |
" | |
set runtimepath^=D:\Vim\vimfiles\bundle\ctrlp.vim |
" out of date | |
" see https://github.com/lingceng/lingceng-config | |
" | |
" lingceng vimrc | |
" | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" vundle plugins ----------- {{{ | |
" set the runtime path to include Vundle and initialize |