{{ message }}

Instantly share code, notes, and snippets.

# Billie Hilton wmhilton

Created Dec 9, 2015 — forked from seanh/mergelog.py
A custom merge driver for git, for automatically merging my 'log.txt' file in a simplistic way.
View mergelog.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 #!/bin/env python """mergelog This is a custom merge driver for git. It should be called from git with a stanza in .git.config like this: [merge "mergelog"] name = A custom merge driver for my log.txt file. driver = ~/scripts/mergelog %O %A %B %L recursive = binary
Created Jul 3, 2013 — forked from isaacs/comma-first-var.js
View comma-first-var.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 // See comments below. // This code sample and justification brought to you by // Isaac Z. Schlueter, aka isaacs // standard style var a = "ape", b = "bat", c = "cat", d = "dog",
Created Jan 20, 2013 — forked from cscorley/example.tex
View example.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 \documentclass{jhwhw} \author{Christopher S. Corley} \title{Class homework solutions} \date{October 19, 2011} \begin{document} \problem{Some problem name} blahblah \solution
Created Nov 9, 2015 — forked from KyleGobel/upsert.sql
Insert/Update Upsert Trigger in Postgres
View upsert.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
 CREATE OR REPLACE FUNCTION upsert_user() RETURNS trigger AS $upsert_user$ declare existing record; begin if (select EXISTS(select 1 from users where user_id = NEW.user_id)) then select user_name, user_class, user_age into strict existing from users where user_id = new.user_id;
Last active Aug 29, 2015 — forked from NPashaP/.block
UI for editing tree graph structures
View index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters