Commands for controlling the Raspberry Pi 2 LEDs.
See rpi-leds for a node module that does this.
- OK (ACT) LED =
led0 - Power (PWR) LED =
led1
Allow access
| # Enable gzip. Highly recommending for best peformance | |
| gzip on; | |
| gzip_comp_level 6; | |
| gzip_types text/html text/css text/javascript application/json application/javascript application/x-javascript; | |
| # By default, do not set expire headers | |
| expires 0; | |
| # Set expires header for console CSS and JS. | |
| # These files are timestamped with each new release, so it is safe to cache them agressively. |
| [alias] | |
| # See http://cat.pdx.edu/~hunner/git-lg.png for an example | |
| lg = "log --decorate --pretty=format:'%C(yellow)%h%C(reset) %C(green)%G?%C(reset) %C(blue)%an%C(reset) %C(cyan)%cr%C(reset) %s %C(auto)%d%C(reset)' --graph --date-order" |
| # This class is meant to solve the problem of synchronizing pe_repo agent | |
| # packages to compile masters when there is no internet access. | |
| # | |
| # This profile assumes that the Puppet MoM (master of masters) is able to reach | |
| # the internet to download the needed packages, or they've been sneaker-netted to the MoM. | |
| # | |
| class profile::app::puppet::master::pe_repo_packages { | |
| # MoM gets some symlinks setup. | |
| if $::servername == $facts['networking']['fqdn'] { |
| " Don't try to be vi compatible | |
| set nocompatible | |
| " Helps force plugins to load correctly when it is turned back on below | |
| filetype off | |
| " TODO: Load plugins here (pathogen or vundle) | |
| " Turn on syntax highlighting | |
| syntax on |
| Renew Puppet CA cert. | |
| Not the perfect idea, but should alleviate the need to resign every cert. | |
| What you need from existing puppet ssl directory: | |
| ca/ca_crt.pem | |
| ca/ca_key.pem | |
| Create an openssl.cnf: | |
| [ca] |
| #!/usr/bin/env bash | |
| set -Eeuo pipefail | |
| trap cleanup SIGINT SIGTERM ERR EXIT | |
| script_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" &>/dev/null && pwd -P) | |
| usage() { | |
| cat <<EOF | |
| Usage: $(basename "${BASH_SOURCE[0]}") [-h] [-v] [-f] -p param_value arg1 [arg2...] |
| # use ImageMagick convert | |
| # the order is important. the density argument applies to input.pdf and resize and rotate to output.pdf | |
| convert -density 90 input.pdf -rotate 0.5 -attenuate 0.2 +noise Multiplicative -colorspace Gray output.pdf |
Commands for controlling the Raspberry Pi 2 LEDs.
See rpi-leds for a node module that does this.
led0led1Allow access
| @binkmail.com | |
| @bobmail.info | |
| @chammy.info | |
| @devnullmail.com | |
| @letthemeatspam.com | |
| @mailinater.com | |
| @mailinator.net | |
| @mailinator2.com | |
| @notmailinator.com | |
| @reallymymail.com |
| @binkmail.com | |
| @bobmail.info | |
| @chammy.info | |
| @devnullmail.com | |
| @letthemeatspam.com | |
| @mailinater.com | |
| @mailinator.net | |
| @mailinator2.com | |
| @notmailinator.com | |
| @reallymymail.com |