Skip to content

Instantly share code, notes, and snippets.

View luciusf's full-sized avatar

Maximilian Fischer luciusf

View GitHub Profile
@luciusf
luciusf / .muttrc
Last active February 10, 2024 21:22
Let typing 'a' in mutt archive a message, in the same way thunderbird does it
#macro index,pager s "<save-message>?" "save to a different folder"
save-hook . =Archives.%[%Y]
macro index,pager a s<return>y'$'y "archive email"
@luciusf
luciusf / domaincheck.sh
Last active August 4, 2021 09:15
Check availability of domain names
#!/bin/bash
# Name: Check for domain name availability
# original at https://linuxconfig.org/check-domain-name-availability-with-bash-and-whois/
DOMAINS=( '.app' '.at' '.biz' '.box' '.cc' '.ch' '.cloud' '.co.uk' '.com' '.com.au' \
'.de' '.dev' '.eu' '.global' '.info' '.in' '.io' '.it' '.link' '.mobi' '.net' '.network' \
'.one' '.org' '.page' '.rocks' '.sh' '.site' '.sk' '.tech' '.tel' '.tv' '.web' '.xyz' )
ELEMENTS=${#DOMAINS[@]}