As configured in my dotfiles.
start new:
tmux
start new with session name:
| #!/bin/bash | |
| # | |
| # Show replication lag for one or more postgresql slaves in streaming replication. | |
| # | |
| # [email protected] | |
| # 2012-01-09 | |
| # | |
| psql="which psql" | |
| psql_extra_opts="" |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| # | |
| # Project specific excludes | |
| # | |
| tomcat | |
| # | |
| # Default excludes | |
| # |
| #!/bin/sh | |
| echo "$1 $2 $3 $4" >> ~/test.mcabber.log | |
| EVENT_TYPE=$1 | |
| EVENT_SUBTYPE=$2 | |
| JID=$3 | |
| FILE=$4 | |
| TITLE="Google Hangouts" | |
| SOUND_FILE="$HOME/.mcabber/sounds/alert_47.wav" | |
| ICON="$HOME/.mcabber/images/chat.png" | |
| TIMEOUT=10000 |
| java -jar -DsocksProxyHost=localhost -DsocksProxyPort=8080 program.jar |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| . . . | |
| Messages { | |
| Name = Standard | |
| mailcommand = "/usr/local/bin/sendEmail-backup \"[BACKUP] %t %e of %n %l\" \"%r\"" | |
| operatorcommand = "/usr/local/bin/sendEmail-backup \"[BACKUP] Intervention needed for %j\" \"%r\"" | |
| mail = [email protected] = all, !skipped | |
| operator = [email protected] = mount | |
| console = all, !skipped, !saved | |
| append = "/var/log/bacula/bacula.log" = all, !skipped | |
| catalog = all |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| #!/bin/bash | |
| # Author: Erik Kristensen | |
| # Email: [email protected] | |
| # License: MIT | |
| # Nagios Usage: check_nrpe!check_docker_container!_container_id_ | |
| # Usage: ./check_docker_container.sh _container_id_ | |
| # | |
| # Depending on your docker configuration, root might be required. If your nrpe user has rights | |
| # to talk to the docker daemon, then root is not required. This is why root privileges are not |