Skip to content

Instantly share code, notes, and snippets.

@dlangille
dlangille / check_acme_certs.sh
Created July 27, 2017 23:00
Nagios check to verify that Let's Encrypt certificates are not older than 65 days old
#!/bin/sh
CERTDIR="/var/db/acme/certs"
FIND="/usr/bin/find"
SUDO="/usr/local/bin/sudo"
WC="/usr/bin/wc"
MAX_DAYS="65"
RESULT=""
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 3, 2024 19:09
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname