Skip to content

Instantly share code, notes, and snippets.

View hartzler's full-sized avatar

Matt (Dragon) Hartzler hartzler

View GitHub Profile

Keybase proof

I hereby claim:

  • I am hartzler on github.
  • I am hartzler (https://keybase.io/hartzler) on keybase.
  • I have a public key whose fingerprint is 48BD 8871 5131 AD84 77D9 DC10 A094 CEB6 025F FB71

To claim this, I am signing this object:

@hartzler
hartzler / gist:1487959
Created December 16, 2011 21:01
example crow plugin
# example: inline image links plugin
# http://urbandud.files.wordpress.com/2011/12/lindsay-lohan-pb-usa-2012-13.jpg
# <img src="http://urbandud.files.wordpress.com/2011/12/lindsay-lohan-pb-usa-2012-13.jpg">
plugins.push(
name: "Inline Images Plugin"
description: "Changes youtube urls into embeded iframes so you can watch inline."
match: [[
/http(s)?:\/\/.*?.(jpg|jpeg|png|gif|bmp|ico)/i,
(captures)->
@append_html "<img src=\"#{captures[0]}\">"
@hartzler
hartzler / elasticsearch.yml
Created December 10, 2010 17:02
demonstration of open/close API nuking local gateway index
network:
tcp:
keep_alive: true
host: 127.0.0.1
cluster:
name: development
gateway: