Skip to content

Instantly share code, notes, and snippets.

View chessercat's full-sized avatar

brianna chessercat

View GitHub Profile
@chessercat
chessercat / edited_mupdf_installs_correctly
Created November 8, 2012 00:38
mupdf fails to build on 10.6 --corrections work
$ brew edit mupdf
# per https://github.com/mxcl/homebrew/issues/15890#issuecomment-10169768, changed line 43 to ENV['SYS_FREETYPE_INC'] = "-I#{MacOS.x11_prefix}/include/freetype2"
$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install mupdf
==> Downloading http://mupdf.googlecode.com/files/mupdf-1.1-source.tar.gz
Already downloaded: /Library/Caches/Homebrew/mupdf-1.1.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/mupdf-1.1.tar.gz
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'mechanize'
require 'fileutils'
#the plan is to make a module with all parts of scraping the data, post to git. This would be built out to pull the callsign from the previously created sqlite db, use it as a parameter in the url, pull all the files, upload the list as a child table
class TestMech < Mechanize
attr :my_links
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'mechanize'
require 'fileutils'
#the plan is to make a module with all parts of scraping the data, post to git. This would be built out to pull the callsign from the previously created sqlite db, use it as a parameter in the url, pull all the files, upload the list as a child table
class TestMech < Mechanize
attr :my_links
require 'rubygems'
require 'nokogiri'
require 'open-uri'
require 'mechanize'
require 'fileutils'
#the plan is to make a module with all parts of scraping the data, post to git. This would be built out to pull the callsign from the previously created sqlite db, use it as a parameter in the url, pull all the files, upload the list as a child table
class TestMech < Mechanize
attr :my_links