Skip to content

Instantly share code, notes, and snippets.

Avatar
🍍
Pineapple a day keeps a pinedoctor away

Alexander Mankuta pointlessone

🍍
Pineapple a day keeps a pinedoctor away
View GitHub Profile
@pointlessone
pointlessone / Rakefile
Last active Dec 10, 2015 — forked from anonymous/.rvmrc
HPMoR epub e-book builder task It requires Nokogiri and gepub gems.
View Rakefile
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'fileutils'
require 'gepub'
desc "Fetch the book from hpmor.com"
task :fetch do
unless File.exists? 'book-source/images/cover.jpg'