Skip to content

Instantly share code, notes, and snippets.

Erdem Turançiftçi erdemtu

Block or report user

Report or block erdemtu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@erdemtu
erdemtu / Rakefile
Last active Aug 29, 2015
A Rakefile for making a few jekyll and github-pages tasks easier. v0.1
View Rakefile
require 'time'
# Get and parse the date
DATE = Time.now.strftime("%Y-%m-%d")
POST_TIME = Time.now.strftime("%Y-%m-%d %H:%M:%S %z")
desc 'create a new post'
task :post, :title do |t, args|
title = args[:title]
slug = "#{DATE}-#{title.downcase.gsub(/[^\w]+/, '-')}"
You can’t perform that action at this time.