I hereby claim:
- I am alecdwm on github.
- I am alecdwm (https://keybase.io/alecdwm) on keybase.
- I have a public key ASDO3_Yrr2zxqQQD8nJBfpZg4gcmOzOzKEz0BABoyXXStQo
To claim this, I am signing this object:
#!/bin/bash | |
# Works for any TLS-enabled TCP server, but originally intended for | |
# fetching the sha256 fingerprint of an irc server's TLS cert | |
# when the server refuses to use certificates from a trusted CA. | |
# | |
# Example: | |
# $ get-sha256-fingerprint.sh irc.owls.io:6697 | |
openssl s_client -connect "$1" < /dev/null 2>/dev/null | openssl x509 -fingerprint -sha256 -noout -in /dev/stdin | sed -e "s/://g" |
#!/bin/bash | |
# A quick script to check whether your system's current memory | |
# usage could fit entirely inside its swap space. | |
# | |
# Might be useful in determining the likelihood of a | |
# successful suspend to disk operation. | |
MEM_USED=$(free -m | grep Mem | awk '{print $3}') | |
SWAP_FREE=$(free -m | grep Swap | awk '{print $4}') |
# On the first attempted connection since an ssh-agent restart, | |
# you will be prompted for your ssh key's passphrase. | |
# | |
# On the first attempted connection since a server restart, | |
# a new tmux session will be created. | |
# | |
# On subsequent connections, the existing tmux session will | |
# be used. | |
# | |
# Usage: |
#!/bin/bash | |
# Usage: countdown --help | |
while test $# -gt 0; do | |
case "$1" in | |
"-h"|"--help") | |
showhelp="true" | |
shift; continue;; | |
"-v"|"--version") |
I hereby claim:
To claim this, I am signing this object: