Skip to content

Instantly share code, notes, and snippets.

View robotloveskitten's full-sized avatar

Tim Barkow robotloveskitten

View GitHub Profile
@robotloveskitten
robotloveskitten / capybara cheat sheet
Created February 3, 2018 02:33 — 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')

Keybase proof

I hereby claim:

  • I am robotloveskitten on github.
  • I am tbarkow (https://keybase.io/tbarkow) on keybase.
  • I have a public key whose fingerprint is 6F7B 0B84 FDB1 CAE2 4D31 B413 A2FC F471 5CF7 866A

To claim this, I am signing this object:

https://rink.hockeyapp.net/apps/2a3fd0498af8dcc8040051ac8163adcf/
#!/usr/bin/env bash
# Media Temple account number
account="XXXXXX"
# A list of website directories to back up
websites="example.com"
homedir="/home/$account/users/.home"
@robotloveskitten
robotloveskitten / index.html
Created October 30, 2012 04:00
A CodePen by Tim Barkow. Perspective Slides
<div class="clip">
<div class="container">
<div class="leftback">
<h1>left back</h1>
</div>
<div class="left">
<h1>left</h1>
</div>
<div class="right">
<h1>right</h1>
@robotloveskitten
robotloveskitten / index.html
Created September 2, 2012 14:36
Playing around with form field presentation. The javascript simply switches styles on the sections as you complete them, triggering css which modifies the presentation. This makes it easy to go back and forth, since the HTML and field values never change.
<html>
<head>
<link href="stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="column">
<section id="first" class="current">
<div class="card">
<h3>Section One</h3>
@robotloveskitten
robotloveskitten / dabblet.css
Created March 26, 2012 23:02
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body { background:#fff;padding:50px;}
button {
font-size:1.5em;
padding:.3em .5em;
border-radius:5px;
border:1px solid #0a76f5;
background: #f06;