Skip to content

Instantly share code, notes, and snippets.

View christian-acuna's full-sized avatar

Christian Acuña christian-acuna

  • eero
  • San Francisco, CA
View GitHub Profile
@christian-acuna
christian-acuna / capybara cheat sheet
Created December 6, 2016 23:38 — 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:

@christian-acuna
christian-acuna / flightplan-deploy.md
Created August 5, 2016 04:37 — forked from learncodeacademy/flightplan-deploy.md
Deploy Node.js Apps with Flightplan

##Setup your server (this would ideally be done with automated provisioning)

  • add a deploy user with password-less ssh see this gist
  • install forever npm install -g forever

##Install flightplan

  • npm install -g flightplan
  • in your project folder npm install flightplan --save-dev
  • create a flightplan.js file