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:
I hereby claim:
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 |
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 | |