Skip to content

Instantly share code, notes, and snippets.

desc 'Generate tags page'
task :tags do
puts "Generating tags..."
require 'rubygems'
require 'jekyll'
include Jekyll::Filters
options = Jekyll.configuration({})
site = Jekyll::Site.new(options)
site.read_posts('')
@iamgabeortiz
iamgabeortiz / tumblr.rb
Created April 27, 2014 13:31 — forked from derek-watson/tumblr.rb
Import tumblr Posts into Jekyll
#!/usr/bin/env ruby
# Script to import tumblr posts into local markdown posts ready to be consumed by Jekyll.
# Inspired by New Bamboo's post http://blog.new-bamboo.co.uk/2009/2/20/migrating-from-mephisto-to-jekyll
# Supports post types: regular, quote, link, photo, video and audio
# Saves local copies of images
require 'rubygems'
require 'open-uri'
require 'nokogiri'
@iamgabeortiz
iamgabeortiz / git-loglive
Created April 24, 2014 16:59 — forked from tlberglund/git-loglive
GIT LogLive Bash Script
#!/bin/bash
while :
do
clear
git --no-pager log --graph --pretty=oneline --abbrev-commit --decorate --all $*
sleep 1
done