Skip to content

Instantly share code, notes, and snippets.

@bjeavons
bjeavons / steps.txt
Created February 10, 2015 21:45
steps for changing term background color on any SSH
/*
* How to change background iTerm color on SSH when using fish shell
*/
// Put this in a file, replace RGB color with your current bgcolor. ex: original-bgcolor
tell application "iTerm"
tell the current terminal
tell the current session
set background color to {0,0,0}
end tell
@bjeavons
bjeavons / done-yesterday
Created May 19, 2015 16:31
Quick script to list what I did yesterday via iDoneThis
#!/bin/bash
# 1)Install jq from http://stedolan.github.io/jq/download/
# 2) Get your username from https://idonethis.com/accounts/settings/account/
# 3) Get your token from https://idonethis.com/api/token/
# 4) Fill out this file and place in your path
URL="https://idonethis.com/api/v0.1/dones/?owner=[USERNAME]&done_date=yesterday"
AUTH="Token [TOKEN]"