Skip to content

Instantly share code, notes, and snippets.

View steevee's full-sized avatar

Steve Craig steevee

View GitHub Profile
@steevee
steevee / snapshotAndRotate.rb
Last active April 18, 2016 13:59 — forked from simonmorley/gist:19f9c9b1142d43b2e278
Google Compute Engine Snapshot Create and Rotate in Ruby
#!/usr/bin/ruby
require 'json'
require 'time'
require 'optparse'
require 'ostruct'
class Snapshot
def initialize(args)