Skip to content

Instantly share code, notes, and snippets.

=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')
#!/bin/bash
# PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Store the base dir
BASEDIR=$( cd $(dirname $0); pwd)
# Get all dependencies
sudo apt-get update
/*
DarkMono v1.5.2 What.cd Stylesheet
Author: Callum Jefferies (callumj) - Modified by htrd
Contact: callum.jefferies@gmail.com - a.hatred@gmail.com
Date: 01/23/2011 - Modified on 7/27/2012
All images and artwork (c) 2011 htrd
*/
/*
DarkMono v1.5.2 What.cd Stylesheet
Author: Callum Jefferies (callumj) - Modified by htrd
Contact: callum.jefferies@gmail.com - a.hatred@gmail.com
Date: 01/23/2011 - Modified on 7/27/2012
All images and artwork (c) 2011 htrd
*/