Skip to content

Instantly share code, notes, and snippets.

View joeworkman's full-sized avatar

Joe Workman joeworkman

View GitHub Profile
@joeworkman
joeworkman / brightness.rb
Last active April 9, 2020 18:36 — forked from ttscoff/brightness.rb
Ruby wrapper for brightness CLI (https://github.com/nriley/brightness)
#!/usr/bin/env ruby
# Brett Terpstra 2019/Joe Workman 2020
# This script adds the ability to increment/decrement display brightness
# levels to the nriley/brightness CLI (Copyright (c) 2014-2019, Nicholas Riley)
# Requires CLI installation: `brew install brightness`
# See https://github.com/nriley/brightness
CMD = "/usr/local/bin/brightness"
# Display usage and exit
def usage(code)

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post