Skip to content

Instantly share code, notes, and snippets.

@konklone
konklone / hell yeah.md
Created April 18, 2016 01:12
scandinavian electronic music I have been listening to lately
@cbeer
cbeer / gist:c62d364c10e3150bbdf1
Created July 16, 2014 15:47
Logstash to Piwik
input { stdin { } }
filter {
grok {
match => { "message" => "%{COMMONAPACHELOG} %{QS:agent} %{QS:referrer}" }
}
date {
match => [ "timestamp" , "dd/MMM/yyyy:HH:mm:ss Z" ]
}
@carlosmcevilly
carlosmcevilly / gist:2221249
Created March 27, 2012 22:55
fix git commit with wrong email address in git config, before pushing
If:
- you add and commit with the wrong email address in git, and
- your remote has a hook set up to prevent you from pushing with the bad address
Then you need to amend the author of your commit before push can succeed:
1. fix your email address in git config:
$ git config user.name "Your Name"