Skip to content

Instantly share code, notes, and snippets.

View dinomite's full-sized avatar

Drew Stephens dinomite

View GitHub Profile
@dinomite
dinomite / Trajan Homebrew setup
Created April 12, 2011 14:11
brew --config, brew doctor, and brew missing output from Trajan
trajan:~$ brew --config
HOMEBREW_VERSION: 0.8
HEAD: 72b2570c02cabd8330387a37ee9b3c566a065997
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit arrandale
OS X: 10.6.7
Kernel Architecture: i386
==> Downloading http://www.cityinthesky.co.uk/_media/opensource/pdf2svg-0.2.1.tar.gz
File already downloaded and cached to /Users/drew/Library/Caches/Homebrew
/usr/bin/tar xf /Users/drew/Library/Caches/Homebrew/pdf2svg-0.2.1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/pdf2svg/0.2.1 --disable-debug --disable-dependency-tracking
./configure --prefix=/usr/local/Cellar/pdf2svg/0.2.1 --disable-debug --disable-dependency-tracking
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
@dinomite
dinomite / gitall.pl
Created February 11, 2011 15:50
Perform a git action on a set of subdirectories
#!/usr/bin/env perl
# Drew Stephens <drew@dinomite.net>
# 2011-02-11
#
# Perform an action on all Git repos given on the command line, or globbed.
#
# Check the status of all Git repos in this directory:
# gitall.pl status
#
# Check the status of the Git repos "foo" and "bar" in this directory:
@dinomite
dinomite / gsrebase.pl
Created December 21, 2010 15:12
Stash local changes before doing `git svn rebase`
#!/usr/bin/env perl
# Drew Stephens <drew@dinomite.net>
# 2010-12-17
#
# Stash local changes before doing `git svn rebase`
use strict;
use warnings;
my $applyStash = 0;