Skip to content

Instantly share code, notes, and snippets.


Emanuele Vicentini baldowl

View GitHub Profile
baldowl / import.rb
Created Jan 8, 2012 — forked from juniorz/import.rb
Import a blogger archive to jekyll (octopress version)
View import.rb
require 'rubygems'
require 'nokogiri'
require 'fileutils'
require 'date'
require 'uri'
# usage: ruby import.rb my-blog.xml
# my-blog.xml is a file from Settings -> Basic -> Export in blogger.
data = ARGV[0]
baldowl / god.rb
Created Jun 24, 2010 — forked from defunkt/god.rb
How to avoid untracked rake processes
View god.rb
rails_root = "/data/github/current"
20.times do |num| do |w|
w.dir = rails_root
w.env = {'RAILS_ENV' => 'production'} = "dj-#{num}" = 'dj'
w.interval = 30.seconds
You can’t perform that action at this time.