Skip to content

Instantly share code, notes, and snippets.

View sharl's full-sized avatar
🐰

Sharl Morlaroll sharl

🐰
View GitHub Profile
@sharl
sharl / .diagrc
Created March 29, 2012 02:41
~/.*diagrc をこんなふうにまとめてみたいなあ
[global]
fontpath = /usr/share/fonts/truetype/ttf-japanese-gothic.ttf
[blockdiag]
fontpath = /usr/share/fonts/truetype/sazanami/sazanami-gothic.ttf
[nwdiag]
fontpath = /usr/share/fonts/truetype/takao/TakaoGothic.ttf
@sharl
sharl / emacs.rb
Created February 24, 2012 08:29
Yet Another Emacs 23.4 homebrew Formula (ATOK support? unconfirmed)
require 'formula'
class Emacs < Formula
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.4.tar.bz2'
md5 '070c68ad8e3c31fb3cb2414feaf5e6f0'
homepage 'http://www.gnu.org/software/emacs/'
if ARGV.include? "--use-git-head"
head 'git://git.sv.gnu.org/emacs.git'
else
@sharl
sharl / emacs.rb
Created February 21, 2012 03:13
Yet Another Emacs 23.4 homebrew Formula
require 'formula'
class Emacs < Formula
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.4.tar.bz2'
md5 '070c68ad8e3c31fb3cb2414feaf5e6f0'
homepage 'http://www.gnu.org/software/emacs/'
if ARGV.include? "--use-git-head"
head 'git://git.sv.gnu.org/emacs.git'
else
@sharl
sharl / gist:1816742
Created February 13, 2012 12:52
Freetype2 2.4.8 Formula
require 'formula'
class Freetype2 <Formula
url 'http://download.savannah.gnu.org/releases/freetype/freetype-2.4.8.tar.bz2'
homepage 'http://freetype.sourceforge.net/index2.html'
md5 'dbf2caca1d3afd410a29217a9809d397'
version '2.4.8'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
@sharl
sharl / lynx-dev.rb
Created October 20, 2011 09:21
lynx-dev brew formula
require 'formula'
class LynxDev < Formula
url 'http://lynx.isc.org/current/lynx2.8.8dev.9.tar.bz2'
homepage 'http://lynx.isc.org/current/'
md5 '35c4dfbacfd3c7024e2da079cd3e46ea'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
@sharl
sharl / gist:1139256
Created August 11, 2011 09:25
cpan2deb speed up test (Web::Scraper)
real 0m19.031s (use locate)
real 0m14.668s (use corelist)