Skip to content

Instantly share code, notes, and snippets.

git filter-branch --env-filter 'if [ $GIT_AUTHOR_EMAIL = wrong@email ]; then GIT_AUTHOR_EMAIL=right@email; fi; export GIT_AUTHOR_EMAIL'
ardiyu07 / import.rb
Last active January 3, 2016 23:39 — forked from dnagir/import.rb
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]