Skip to content

Instantly share code, notes, and snippets.

@kellym
kellym / cheat.sh
Last active January 5, 2016 20:00
Vim Cheat Sheet
# Select all
:%y+
# Replace word with register
viwp
# Delete entire word
diw
# Delete to end of current word
@kellym
kellym / keybase.md
Created June 29, 2015 16:14
keybase.md

Keybase proof

I hereby claim:

  • I am kellym on github.
  • I am kellym (https://keybase.io/kellym) on keybase.
  • I have a public key whose fingerprint is 34FF 4F30 689B E395 731F EAF7 0D2B 8A79 FB65 4910

To claim this, I am signing this object:

@kellym
kellym / fiddle.css
Last active August 29, 2015 14:18 — forked from jasongrout/fiddle.css
.widget {
border: 1px solid
}
.widget-templates {display:none}
div.widget {display: inline-block;}
.tablewidget table {border-collapse: collapse}
.tablewidget input {
margin: 0;
border:0px}
.tablewidget table td {
### Keybase proof
I hereby claim:
* I am kellym on github.
* I am kellym (https://keybase.io/kellym) on keybase.
* I have a public key whose fingerprint is 6DD5 1B71 98AF A2C0 6628 2CF1 FCB8 E6D8 D733 9664
To claim this, I am signing this object:
require Rails.root.join('lib', 'simple_form', 'columnar_form.rb')
module ApplicationHelper
def hotspot_for(id, options = {}, &block)
data = { :for => id, :position => :bottom }.merge(options)
render :partial => 'hotspot', :locals => { :data => data, :body => capture(&block) }
end
end