Skip to content

Instantly share code, notes, and snippets.

View tomas-stefano's full-sized avatar

Tomas D'Stefano tomas-stefano

  • Ministry of Justice
  • London
View GitHub Profile
#!/usr/bin/env bash
deis register http://deis.$DEIS_TEST_DOMAIN --username CHANGEME --password CHANGEME --email CHANGEME
deis keys:add ~/.ssh/id_rsa.pub
@darokel
darokel / My OSX-10.10-setup.md
Last active December 19, 2019 11:28 — forked from kevinelliott/osx-10.10-setup.md
Instructions for bootstrapping my dev environment on a new machine.

Mac OS X 10.11 El Capitan

Custom recipe to get OS X 10.11 El Capitan running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

@tomas-stefano
tomas-stefano / Capybara.md
Last active April 10, 2024 15:27
Capybara cheatsheet

Capybara Actions

# Anchor
click_link 'Save'

# Button
click_button 'awesome'

# Both above
require "delegate"
class PostsController < ApplicationController
respond_to :html, :json
module PubSub
def add_observer(observer)
(@observers ||= []) << observer
end