tmux new-session
tmux new -s SessionName
tmux new -s SessionName -n WindowName
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://gist.github.com/1595572). | |
# |
=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_on('Link Text') # Click either a link or a button | |
click('Button Value') |
#### COPY/PASTE #### | |
## vi keybindings in copy mode | |
setw -g mode-keys vi | |
# setup 'v' to begin selection in copy mode | |
bind-key -t vi-copy v begin-selection | |
bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy" |
(1..100).each do |x| | |
if x % 3 == 0 | |
print "Crackle" | |
if x % 5 == 0 | |
print "Pop" | |
end | |
print "\n" | |
elsif x % 5 == 0 | |
puts "Pop" | |
else |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |