Entries in RubyGem (1)

Monday
11Jan2010

Sick of browsing for your ip address? whatismyip to the rescue

Tonight I finally got fet-up with browsing around my OS and the internet just to get my public and local ip addresses. Sick of visiting whatismyip.com or some other site whose only purpose is to tell you your public ip address. Never fear, whatismyip ruby gem is here!

Jimmy-Bakers-iMac:~ jimmy$ gem install whatismyip
Now simply type 'whatismyip'..
Successfully installed whatismyip-1.0.0
1 gem installed
Jimmy-Bakers-iMac:~ jimmy$ whatismyip 

Public IP:
==========
68.86.753.09
    
Local IP's:
===========
lo0: 127.0.0.1
en1: 192.168.1.148