start new:
tmux
start new with session name:
tmux new -s myname
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
# Original blog post: <https://mnx.io/blog/a-proper-server-naming-scheme/> | |
# Original word list: <http://web.archive.org/web/20091003023412/http://tothink.com/mnemonic/wordlist.txt> | |
# Sample usage: `curl <gist> | tail --lines +4 | shuf | head --lines 1` | |
acrobat | |
africa | |
alaska | |
albert | |
albino | |
album | |
alcohol |
# On slow systems, checking the cached .zcompdump file to see if it must be | |
# regenerated adds a noticable delay to zsh startup. This little hack restricts | |
# it to once a day. It should be pasted into your own completion file. | |
# | |
# The globbing is a little complicated here: | |
# - '#q' is an explicit glob qualifier that makes globbing work within zsh's [[ ]] construct. | |
# - 'N' makes the glob pattern evaluate to nothing when it doesn't match (rather than throw a globbing error) | |
# - '.' matches "regular files" | |
# - 'mh+24' matches files (or directories or whatever) that are older than 24 hours. | |
autoload -Uz compinit |
#!/bin/sh | |
# | |
# Shell script: get_pfqueue_data.sh | |
# Date: 21-Dec-2016 | |
# | |
# Script to scrape queue metrics from pfctl | |
# and output in influxdb line protocol with interface name & | |
# q name as tags and q bytes & q drops as data. | |
# | |
# Copy this script to a directory on your pfsense machine and ensure |
silly gist hack, why do we need you? :( |
if [[ -f "/mnt/c/WINDOWS/system32/wsl.exe" ]]; then | |
# We're in WSL, which defaults to umask 0 and causes issues with compaudit | |
umask 0022 | |
if [[ "${PWD}" = "/mnt/c/Users/${USER}" ]]; then | |
# We're in a default WSL shell | |
cd "${HOME}" | |
fi | |
fi | |
if [[ ! -d "$HOME/.zinit" ]]; then |
Modern OpenSSH has native support for FIDO Authentication. Its much simpler and should also be more stable with less moving parts. OpenSSH also now has support for signing arbitary files witch can be used as replacement of gnupg. Git also supports signing commits/tags with ssh keys.
ssh
, ssh-add
and ssh-keygen
on most computers