Skip to content

Instantly share code, notes, and snippets.

View lagsalot's full-sized avatar

Brandt Lofton lagsalot

View GitHub Profile
@munkius
munkius / README.md
Last active March 25, 2016 23:46 — forked from rowanu/README.md
The Hotness Dashing widget updated for inversed ranges

Dashing Hotness Widget

Are you dashing? Are you hot? Then you need the Dashing Hotness Widget!

See the blog post for more details.

About

This widget is similar to the basic Number widget, except that the entire widget changes colour based on the value displayed. It is designed to draw attention to

@isa
isa / README.md
Last active December 11, 2015 07:48 — forked from filler/README.md

RHEL 6.3 veewee templates for vagrant use

These templates can be used to feed to veewee to spin up an el6 basebox for use with vagrant.

There are some coded values in definition.rb and ks.cfg which point at Yale-ishness. Amend to point at local RHEL iso/yum repo.

Built successfully with veewee 0.2.3, vagrant 1.0.3, Virtualbox 4.1.18.

Config Management

@maccman
maccman / juggernaut.rb
Created June 26, 2012 02:49
Sinatra Server Side Event streaming.
# Usage: redis-cli publish message hello
require 'sinatra'
require 'redis'
conns = []
get '/' do
erb :index
end
@rubiojr
rubiojr / rbvmomi_example1.rb
Created September 5, 2011 15:28
Ruby VMWare VSphere API Example 1 (rbvmomi)
require 'rubygems'
require 'rbvmomi'
require 'pp'
require 'alchemist'
hyper = 'thunder03'
vim = RbVmomi::VIM.connect :host => hyper, :user => 'root', :password => 'secret', :insecure => true
#
# get current time
@ahoward
ahoward / a.rb
Created November 9, 2010 14:48
#! /usr/bin/env ruby
require 'yaml'
require 'rubygems'
require 'main'
require 'tinder'
require 'orderedhash'
Main {
@ahoward
ahoward / gist
Created November 7, 2010 16:33
#! /usr/bin/env ruby
Main {
name 'gist'
description <<-__
command line script for writing and reading to http://gist.github.com/
__