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
| #!/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) |