Skip to content

Instantly share code, notes, and snippets.

View HKLF4's full-sized avatar

Anton Cherkasov HKLF4

View GitHub Profile
@HKLF4
HKLF4 / audio_tag.rb
Created August 27, 2012 09:54
Octopress HTML5 Audio Tag
# Title:
# Octopress HTML5 Audio Tag
# http://antoncherkasov.me/projects/octopress-plugins
# Author:
# Anton Cherkasov
# http://antoncherkasov.me
# [email protected]
# Syntax:
# {% audio url/to/mp3 %}
# {% audio url/to/mp3 url/to/ogg %}
@HKLF4
HKLF4 / esotalk.lighttpd.conf
Created August 21, 2012 13:35
esoTalk: Lighttpd rewrite rules
# http://example.org
$HTTP["host"] == "example.org" {
url.rewrite-if-not-file = ( "^/([^.]+)$" => "/index.php/$1" )
}
#http://example.org/forum
$HTTP["host"] == "example.org" {
url.rewrite-if-not-file = ( "^/forum/([^.]+)$" => "forum/index.php/$1" )