I hereby claim:
- I am jimrhoskins on github.
- I am jimrhoskins (https://keybase.io/jimrhoskins) on keybase.
- I have a public key whose fingerprint is 2C69 D167 F84F 6C46 69BC 0EA4 653F 5CB0 FD31 55C6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Function for starting/resuming tmux sessions by name | |
# workon sessionname | |
# If outside of vim will connect to existing or create new session and connect | |
# If in a vim session and exists, will switch sessions | |
# If in vim and doesn't exist: fails TODO: fix this | |
workon() { | |
exist=$(tmux ls | cut -d ":" -f 1 | grep "^$1$") | |
if [[ -n $exist ]]; then | |
print Attaching to session $1 | |
if [[ -n $TMUX ]]; then |
test |
def tooltip(location, close_button=false, &block) | |
content = capture(&block) | |
tooltip_carrot = "<span class=\"icon icon-tooltip-carrot\"></span>".html_safe | |
close_link = close_button ? "<a class=\"close-tooltip\"><span class=\"icon icon-close-tooltip\"></span></a>".html_safe : "" | |
content_tag(:span, (content + close_link + tooltip_carrot), :class => "tooltip tooltip-#{location}") | |
end | |
// The following should work | |
// Default no close button |
# -*- ruby -*- | |
# NOTE Copy this to your home folder as .autotest | |
# | |
# Originally from http://wincent.com/knowledge-base/Setting_up_autotest_to_use_Growl | |
# | |
# Modifications: | |
# * Minor refactoring to use .autotest_images directory | |
# [Geoffrey Grosenbach http://peepcode.com] | |
# * Test::Unit compatibility [Pat Nakajima] |