Skip to content

Instantly share code, notes, and snippets.

View jessereynolds's full-sized avatar

Jesse Reynolds jessereynolds

View GitHub Profile
@jessereynolds
jessereynolds / brew --config
Created May 7, 2012 12:25
brew install mtr - problems with gtk+
jesse@Heart-of-Gold ~ $ brew --config
HOMEBREW_VERSION: 0.9
HEAD: 2808a7eeaf92dd2c5abcf43dbec154d14c2d5cc4
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.7.3
Kernel Architecture: x86_64
Xcode: 4.3.2
GCC-4.0: N/A
This file has been truncated, but you can view the full file.
==> Installing mtr dependency: gtk+
==> Downloading http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-2.24.10.tar.xz
Already downloaded: /Users/jesse/Library/Caches/Homebrew/gtk+-2.24.10.tar.xz
xz -dc "/Users/jesse/Library/Caches/Homebrew/gtk+-2.24.10.tar.xz" | /usr/bin/tar xf -
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gtk+/2.24.10 --disable-glibtest --disable-introspection --disable-visibility
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/gtk+/2.24.10 --disable-glibtest --disable-introspection --disable-visibility
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
@jessereynolds
jessereynolds / unicorn
Created January 26, 2012 21:44
/etc/init.d script for unicorn
#!/bin/sh
#
# init.d script for single or multiple unicorn installations. Expects at least one .conf
# file in /etc/unicorn
#
# Modified by jay@gooby.org http://github.com/jaygooby
# based on http://gist.github.com/308216 by http://github.com/mguterl
#
## A sample /etc/unicorn/my_app.conf
##
@jessereynolds
jessereynolds / multiple default routes on mac
Created October 3, 2011 23:42
Problem with multiple default routes on mac os x 10.7.1 (Lion)
Well this is annoying.
Today I am using USB to my iPhone 3GS for internet access on Telstra next-g. Things work fine. Network System Preferences says "iPhone USB is currently active and has the IP address 172.20.10.2.".
Here's the routing table:
Destination Gateway Flags Refs Use Netif Expire
default 172.20.10.1 UGSc 77 6 en3
127 127.0.0.1 UCS 0 0 lo0
127.0.0.1 127.0.0.1 UH 9 8776 lo0