Skip to content

Instantly share code, notes, and snippets.

View gregwoodfill's full-sized avatar

Greg Woodfill gregwoodfill

View GitHub Profile
execute pathogen#infect()
syntax on
filetype plugin indent on
if has('gui_running')
set guifont=Menlo:h14
endif
" store tons of history
@gregwoodfill
gregwoodfill / gist:9125767
Created February 20, 2014 23:42
Script to download tomcat and install to /opt/tomcat
require 'net/http'
require 'digest'
require 'fileutils'
include FileUtils
tomcat_version = "7.0.52"
tomcat_tgz = "apache-tomcat-#{tomcat_version}.tar.gz"
tomcat_dl_url = URI("http://mirror.reverse.net/pub/apache/tomcat/tomcat-7/v7.0.52/bin/#{tomcat_tgz}")
tomcat_md5_url = URI("https://www.apache.org/dist/tomcat/tomcat-7/v7.0.52/bin/#{tomcat_tgz}.md5")