Skip to content

Instantly share code, notes, and snippets.

@kingslayer
kingslayer / keybinding.md
Last active November 30, 2021 23:08
read2text test

KeyBinding madness

Theres a somewhat mysterious individual who is consistently leaving brilliant little pieces of code and information in my comments. Dr. Drang has been visited by this apparition as well. Were both duly impressed with what he (or she?) does.

So, Im digging through the code Lris posted and I find a DefaultKeyBinding.dict file. Its the best one Ive ever seen, and it inspires me to do some fiddling of my own. I figured Id post my result, but with due credit to Lri (hi, Lri!).

@kingslayer
kingslayer / capybara cheat sheet
Created March 29, 2016 04:40 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
PS1="\e[32;1m\](\e[0;92m\]\u\e[37;1m\]@\e[35;1m\]\h\[\e[32;1m\])\e[37;1m\]:\e[32;1m\](\[\e[37;1m\]\w\[\e[32;1m\])\n$ \[\e[0m\]"
export LSCOLORS='Exfxcxdxbxegedabagacad'