Skip to content

Instantly share code, notes, and snippets.

View tinifni's full-sized avatar

Justin Anderson tinifni

View GitHub Profile

Keybase proof

I hereby claim:

  • I am tinifni on github.
  • I am tinifni (https://keybase.io/tinifni) on keybase.
  • I have a public key whose fingerprint is 2673 7929 94CF 679B 0743 A387 D55F BD3D B5CF F253

To claim this, I am signing this object:

@tinifni
tinifni / gist:4456266
Created January 4, 2013 21:32
Bookmarklet to send link of currently viewed website to HipChat
// Replace the following values with your own:
// auth_token
// room_id
// from
javascript:
var auth_token = "Your auth_token";
var room_id = "Room to send message";
var from = "Sender's name";
var hipchat = 'https://api.hipchat.com/v1/rooms/message?auth_token=' + auth_token +
@tinifni
tinifni / gist:3756796
Created September 20, 2012 16:04
Remember what you've done since your last standup
# zsh script checks first if there were any commits done
# by author yesterday. If there were, return those. If
# there weren't, look for all commits since last Friday
# at midnight as it may have been a weekend.
#
# Use your name in the --author for all commands
gitstandup() {
if [ -z "$(git log --all --pretty=format:'* %s' --no-merges --reverse --author=Justin --since=yesterday.midnight)" ]; then
git log --all --pretty=format:'* %s' --no-merges --reverse --author=Justin --since=last.friday.midnight;
@tinifni
tinifni / gist:2649214
Created May 9, 2012 21:58
Chuck Norris block
def my_method
chuck_norris
...
end
end
>> my_method
=> <always desired output>
@tinifni
tinifni / go.yml
Created February 22, 2012 15:34
tmuxinator file
# ~/.tmuxinator/go.yml
# you can make as many tabs as you wish...
project_name: go
project_root: ~/
socket_name: #foo # Not needed. Remove to use default socket
tabs:
- irc: weechat-curses
- server:
layout: main-horizontal