From d9f8183821c04c99dc0aebb99411039ea3f5a1e7 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Sat, 3 Sep 2011 00:20:01 +0200 Subject: [PATCH] add small script to create new posts --- post | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 post diff --git a/post b/post new file mode 100755 index 0000000..d6e350a --- /dev/null +++ b/post @@ -0,0 +1,31 @@ +#!/usr/bin/env ruby +# encoding: utf-8 + +OUTPUT_DIR = File.expand_path("~/projects/fnordig.de/_posts") +EDITOR = ENV['EDITOR'] || 'vi' +EXTENSION=".markdown" +HEADER = <