Skip to content

Instantly share code, notes, and snippets.

Andy Fowler andyfowler

Block or report user

Report or block andyfowler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:5118546
class a {
protected $foo;
public function showFoo() {
echo $this->foo;
View ip_route_match.rb
#!/usr/bin/env ruby -wKU
def UBER_ip_route_match(command, regex)
command.split("\n").select { |l| l =~ regex }.first.to_s[/([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/] || ''
c = ' dev eth1 proto kernel scope link src dev lo scope link
default via dev eth1'
# c = %x{/sbin/ip route list match #{ip}}
View mac apps.mdown

Now I'm Trapped Here

  • MacPorts
  • QuickSilver
  • TextMate
  • Xcode
You can’t perform that action at this time.