Skip to content

Instantly share code, notes, and snippets.

View github.css
body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
@x2q
x2q / wordpress_importer.rb
Created Mar 18, 2012 — forked from stammy/wordpress_importer.rb
Import a WordPress database and generate markdown files for Jekyll
View wordpress_importer.rb
# based on the import script by icebreaker, which is based on mojombo's
# https://github.com/mojombo/jekyll/blob/master/lib/jekyll/migrators/wordpress.rb
# https://gist.github.com/303570
# edited to rewrite image URLs to use my CloudFront URL
require 'rubygems'
require 'sequel'
require 'fileutils'
# $ export DB=my_wpdb