Skip to content

Instantly share code, notes, and snippets.

View sajnikanth's full-sized avatar

Sajnikanth Suriyanarayanan sajnikanth

View GitHub Profile
@sajnikanth
sajnikanth / commit-msg
Created February 22, 2014 01:40
Pre-commit hook for JIRA
#!/bin/sh
project_key="DESK-"
test "" != "$(grep $project_key "$1")" || {
echo >&2 "ERROR: Commit message is missing JIRA ticket number"
exit 1
}
@sajnikanth
sajnikanth / id_rsa.pub
Created February 22, 2014 03:31
Sajnikanth Suriyanarayanan Public Key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNITlyr3K+yP4FGtViWTpJ2Qx7po2EihKt3vey2QiPd51yDbXmERdS8xW6miHJj3lkuwPe+2Fq6tHH1gyZ0SZ1XbgrLgRZtiHo/etOrhrjosb1hlkqqZeyYoWqWVDTwHiWKCqqfCm+gWZIBJBUoWyLgPA+RJ0NC0j2is5goEriuaCs+jJjgEwpGyRyDeQObNOhq1B9Nyuyf9deL5fODtV9w3et6OMruAPlm0PlYdykxZyCO1Egb+VOT2TK6kzHMzcqF/ECvJhqi1YiW4gN9NrDymw1AGvt1K8JQz2MJYSY6kluwPL+JJp1R7z6Ia9Zm7cx9Xz2uwv6Khmr+cTSaIbb sajnikanth@halcyon
@sajnikanth
sajnikanth / random_partner.py
Created July 30, 2018 08:36
Pair Programming Randomiser
import random
import json
# hard-coded for now; feel free to update this
navigators = ['Denys', 'Bo', 'Daniel', 'Saj']
drivers = ['Rabea', 'Mascha', 'Rudy', 'Selam']
groups = {}
def random_person(_list):