Skip to content

Instantly share code, notes, and snippets.

View teriiehina's full-sized avatar

teriiehina teriiehina

View GitHub Profile
@teriiehina
teriiehina / changelog.css
Last active August 29, 2015 14:10
Create a HTML changelog between two git revisions.
<style type="text/css">
body
{
line-height: 1.6em;
color:#333333;
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
}
table
{
@teriiehina
teriiehina / commit-msg.rb
Last active August 29, 2015 14:10
a hook launched just before git creates the commit (aka .git/hooks/commit-msg)
#!/usr/bin/env ruby
require 'rubygems'
require 'raspell'
chars_count_min = 10
chars_count_max = 80
message_file = ARGV[0]
first_line = File.open(message_file, &:gets)
### Keybase proof
I hereby claim:
* I am teriiehina on github.
* I am teriiehina (https://keybase.io/teriiehina) on keybase.
* I have a public key whose fingerprint is 4AC0 0707 583F B83F 8376 C342 10B6 E4A1 C604 35EE
To claim this, I am signing this object: