Skip to content

Instantly share code, notes, and snippets.

@loomsen
Created June 12, 2010 21:34
Show Gist options
  • Save loomsen/436106 to your computer and use it in GitHub Desktop.
Save loomsen/436106 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
#==BEGIN
#This Script checks for new kernel releases.
#written by Norbert Varzariu <loomsen@gmail.com>
#==END
require 'net/http'
#myDestSrv='www.kernel.org'
#myDestPth='/kdist/finger_banner'
myRe=/.* stable version .* (2\.6\..+)/
puts Net::HTTP.get('www.kernel.org','/kdist/finger_banner')
#puts $myRun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment