Skip to content

Instantly share code, notes, and snippets.

@mmzoo
mmzoo / brainwash
Created Sep 3, 2012
A Ruby 1.9.3 snippet that can set IP and FQDN on a Debian/Ubuntu system
View brainwash
#!/usr/bin/env ruby
require 'ipaddr'
module Brainwash
module Help
extend self
def examples
<<-END