Skip to content

Instantly share code, notes, and snippets.

View optikfluffel's full-sized avatar
🤔
mmh..

Udo optikfluffel

🤔
mmh..
View GitHub Profile
Wed Jul 12 09:59:04 UTC 2017
@optikfluffel
optikfluffel / ex_doc post-commit hook
Last active August 29, 2015 13:58
After setting up my gh-pages branch according to a short howto from chrisjacob (https://gist.github.com/chrisjacob/825950) I added this little post-commit hook to automatically update the docs generated from ex_doc for a little Elixir playground I have.
#!/bin/bash
git checkout master
mix docs
cd docs/
git checkout gh-pages
git add .
git commit -m "update documentation"
git push origin gh-pages
@optikfluffel
optikfluffel / keybase.md
Last active February 1, 2018 18:56
Keybase proof

Keybase proof

I hereby claim:

  • I am optikfluffel on github.
  • I am optikfluffel (https://keybase.io/optikfluffel) on keybase.
  • I have a public key ASDRu8qiCRf9rzyr0ZaYBOyh0j-NbOV2glWv1ikhb9nM9Qo

To claim this, I am signing this object:

@optikfluffel
optikfluffel / kitty.zsh
Created February 2, 2014 18:40
zsh function to download an image from placekitten.com
kitty() { command wget -O kitty.jpg http://placekitten.com/"$2"/"$3" }
@optikfluffel
optikfluffel / coderwall.coffee
Created November 19, 2012 10:13
Display your coderwall.com badges without using a library like jQuery
# Display your coderwall.com badges without using a library like jQuery
# CONFIGURE your username
username = 'optikfluffel'
url = "http://www.coderwall.com/#{username}.json?callback=processJSON"
loadJSON = (url) ->
head = document.getElementsByTagName('head')[0]
newScript = document.createElement('script')
@optikfluffel
optikfluffel / logstash.conf
Created September 4, 2012 17:00 — forked from jippi/rc.d
Logstash Init script
input {
file {
type => nginx_web
path => ["/var/log/nginx/*"]
exclude => ["*.gz"]
}
}
filter {
grok {