Skip to content

Instantly share code, notes, and snippets.

View robbie-smith's full-sized avatar

Robbie Smith robbie-smith

  • Guild Education
  • Denver, Co
View GitHub Profile

Keybase proof

I hereby claim:

  • I am robbie-smith on github.
  • I am rsmith06 (https://keybase.io/rsmith06) on keybase.
  • I have a public key ASCMTMj-YQF5NzIZrQk2otqhugNTbRbZ8Cdb9qcJ1l3eiQo

To claim this, I am signing this object:

on run argv
tell application "iTerm"
set testProfile to false
if (count of windows) is 1 then
tell current window
repeat with aTab in tabs
set profileName to profile name of current session of aTab
if profileName is "Test" then
set testProfile to true
select aTab
Command Line
------------
* Kill rogue process that you can't find
> sudo kill -9 $(lsof -i :3000 -t)
- Note: It will kill your chrome browser too, if you have a localhost:3000
tab/window open.
Git
---
* Reset file to specific version in commit
> git checkout <commit_hash> --path/to/file
on run argv
tell application "iTerm2"
set testProfile to false
if (count of windows) is 1 then
tell current window
repeat with aTab in tabs
set profileName to profile name of current session of aTab
if profileName is "Test" then
set testProfile to true
select aTab

Tools

  • FZF
  • RipGrep
  • Postgresql
  • pgcli
  • BetterTouchTool
  • homebrew
  • rbenv
  • node
@robbie-smith
robbie-smith / car_spec.rb
Last active December 22, 2016 03:54
factory girl talk
require 'rails_helper'
describe "user can view all carpools" do
before do
@user = create(:user)
page.set_rack_session(user_id: @user.id)
create_list(:minivan_riders)
end