Skip to content

Instantly share code, notes, and snippets.

@necrodome
necrodome / capybara cheat sheet
Last active September 4, 2016 18:14 — 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')

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name:

Twitter公式クライアントのコンシューマキー

Twitter for iPhone

Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU

Twitter for Android

Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPad

Consumer key: CjulERsDeqhhjSme66ECg

D, [2013-01-05T04:05:48.257715 #67253] DEBUG -- : USING JID: blather-test@jabber.org
D, [2013-01-05T04:05:48.292271 #67253] DEBUG -- : SENDING: (/Volumes/MacintoshHD/Users/moon/.rvm/gems/ruby-1.9.3-p327-turbo@blather-test/gems/blather-0.8.1/lib/blather/stream/client.rb:21:in `start') <stream:stream to='jabber.org' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en' >
D, [2013-01-05T04:05:48.330570 #67253] DEBUG -- : RECEIVING (stream) <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="jabber.org" id="77bf7a740ec9a36b" version="1.0"/>
D, [2013-01-05T04:05:48.331778 #67253] DEBUG -- : RECEIVING (features) <stream:features xmlns:stream="http://etherx.jabber.org/streams">
<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>CRAM-MD5</mechanism>
<mechanism>LOGIN</mechanism>
<mechanism>PLAIN</mechanism>
<mechanism>DIGEST-MD5</mechanism>