Skip to content

Instantly share code, notes, and snippets.

View fusion94's full-sized avatar

Tony Guntharp fusion94

View GitHub Profile
@fusion94
fusion94 / blame.rb
Created January 19, 2013 04:29 — forked from rbsgn/blame.rb
# Put this file in the root of your git repository then run `ruby blame.rb`.
# You will need gsed. You can install gsed with `brew install gsed`.
# Crazy shell script taken from http://stackoverflow.com/questions/4589731/git-blame-statistics
input = `git ls-tree -r HEAD|gsed -re 's/^.{53}//'|while read filename; do file "$filename"; done|grep -E ': .*text'|gsed -r -e 's/: .*//'|while read filename; do git blame "$filename"; done|gsed -r -e 's/.*\\((.*)[0-9]{4}-[0-9]{2}-[0-9]{2} .*/\\1/' -e 's/ +$//'|sort|uniq -c`
aggregated = {}
input.lines.each do |line|
line.strip!
@fusion94
fusion94 / README.md
Last active December 11, 2015 14:08
GitHub README.md template

Synopsis

At the top of the file there should be a short introduction and/ or overview that explains what the project is.

The Details

A short description of the motivation behind the creation and maintenance of the project. This should explain why the project exists.

Contributing

@fusion94
fusion94 / MozillaLicense
Last active December 11, 2015 14:09
Mozilla Public License Version 2.0
Mozilla Public License Version 2.0
==================================
1. Definitions
--------------
1.1. "Contributor"
means each individual or legal entity that creates, contributes to
the creation of, or owns Covered Software.
@fusion94
fusion94 / ApacheLicense
Created January 23, 2013 21:19
Apache 2.0 License
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
@fusion94
fusion94 / AUTHORS
Created January 24, 2013 01:46
Authors file
Tony Guntharp
@fusion94
fusion94 / CONTRIBUTING.md
Created January 24, 2013 01:48
CONTRIBUTING.md

To contribute, just issue a pull request. Include tests, please.

If you add any new files please make sure you add the source header to the top of that file.

@fusion94
fusion94 / GITIGNORE
Created January 24, 2013 01:49
.gitignore template
.DS_Store
@fusion94
fusion94 / gist:5025189
Created February 24, 2013 19:33
Emoji list
:bowtie: :smile: :laughing: :blush: :smiley: :relaxed: :smirk: :heart_eyes: :kissing_heart: :kissing_closed_eyes: :flushed: :relieved: :satisfied: :grin: :wink: :stuck_out_tongue_winking_eye: :stuck_out_tongue_closed_eyes: :grinning: :kissing: :kissing_smiling_eyes: :stuck_out_tongue: :sleeping: :worried: :frowning: :anguished: :open_mouth: :grimacing: :confused: :hushed: :expressionless: :unamused: :sweat_smile: :sweat: :disappointed_relieved: :weary: :pensive: :disappointed: :confounded: :fearful: :cold_sweat: :persevere: :cry: :sob: :joy: :astonished: :scream: :neckbeard: :tired_face: :angry: :rage: :triumph: :sleepy: :yum: :mask: :sunglasses: :dizzy_face: :imp: :smiling_imp: :neutral_face: :no_mouth: :innocent: :alien: :yellow_heart: :blue_heart: :purple_heart: :heart: :green_heart: :broken_heart: :heartbeat: :heartpulse: :two_hearts: :revolving_hearts: :cupid: :sparkling_heart: :sparkles: :star: :star2: :dizzy: :boom: :collision: :anger: :exclamation: :question: :grey_exclamation: :grey_question: :zzz: :
# Hubot API
#Robot = require('hubot').Robot
#Adapter = require('hubot').Adapter
Robot = require '/Users/tguntharp/tmp/hubot/src/robot'
Adapter = require '/Users/tguntharp/tmp/hubot/src/adapter'
{TextMessage,EnterMessage,LeaveMessage} = require '/Users/tguntharp/tmp/hubot/src/message'
#TextMessage = require('hubot').TextMessage
/*
LEAST LIKELY TO COMPILE SUCCESSFULLY:
Ian Phillipps, Cambridge Consultants Ltd., Cambridge, England
*/
#include <stdio.h>
main(t,_,a)
char
*
a;