Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on January 4, 2015 at 09:07 PM

Section 1 (Text)

#!/usr/bin/ruby                                                      

require 'resolv'

puts "Ener a new IP Address"
  ip_change = nil
  loop do
    ip_change = gets.chomp
    case ip_change
    when Resolv::IPv4::Regex
      break
    end
  cmd=`/sbin/ifconfig eth0 #{ip_change}`
  puts "OK. The new IP address for eth0 is #{ip_change}\n"
end