Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am sschneid on github.
  • I am sschneid (https://keybase.io/sschneid) on keybase.
  • I have a public key ASAhlpzVQciGx1DPiv4Ly_32ve6hMOHyRo8EQqPs5zXRjQo

To claim this, I am signing this object:

[default]
aws_access_key_id = AKIBJQATOQGMX2TOF4K3
aws_secret_access_key = n0t4R34LcR3d3NT14LdqSQ3LB5kHYAaBrWd+VEho
(these are invalid credentials)
@sschneid
sschneid / show-vmware-host-usage.rb
Last active January 3, 2024 09:08
Realtime console-based vSphere cluster usage monitoring with Ruby
#!/usr/bin/ruby
require 'rubygems'
require 'yaml'
require 'rbvmomi'
require 'ruby-progressbar'
def getStats()
datacenter = $vim.serviceInstance.find_datacenter
# Description:
# all the things
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# Description:
# aw yiss
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands: