This commit is contained in:
Noah L. Schrick 2022-06-21 10:07:58 -05:00
commit 7ed3d78c6a
2 changed files with 41 additions and 0 deletions

0
README.md Normal file
View File

41
contactcard Executable file
View File

@ -0,0 +1,41 @@
#!/usr/bin/env bash
###############################################
# Write a nice business card on the terminal. #
###############################################
blue="$(tput setaf 4)"
bold="$(tput bold)"
cyan="$(tput setaf 6)"
dim="$(tput dim)"
green="$(tput setaf 2)"
magenta="$(tput setaf 5)"
red="$(tput setaf 1)"
reset="$(tput sgr0)"
underline="$(tput smul)"
yellow="$(tput setaf 3)"
cat <<EOF
${cyan}╭─────────────────────────────────────────────────────────────╮
${cyan}│ │
${cyan}│${reset} ${bold}${cyan}Noah L. Schrick ${reset} ${cyan} │
${cyan}│ │
${cyan}│${reset} ${underline}${bold}Email:${reset} ${magenta}noah@theschricks.com ${cyan} │
${cyan}│${reset} ${underline}${bold}Web:${reset} ${dim}https://www.${reset}${cyan}theschricks.com/noah/noah.html ${cyan} │
${cyan}│${reset} ${underline}${bold}Matrix:${reset} ${dim}${reset}${blue}@noah:theschricks.com ${cyan} │
${cyan}│${reset} ${underline}${bold}Git:${reset} ${dim}https://git.theschricks.com/${reset}${green}noah?tab=activity ${cyan}│
${cyan}│${reset} ${underline}${bold}LinkedIn:${reset} ${dim}https://linkedin.com/in/${reset}${blue}noah-l-schrick ${cyan} │
${cyan}│${reset} ${underline}${bold}XMPP:${reset} ${dim}https://www.youtube.com/c/${reset}${red}BryanJenksTech ${cyan} │
${cyan}│${reset} ${underline}${bold}GPG Pub Key:${reset} ${dim}https://www.theschricks.com/noah/${reset}${green}pubkey.txt ${cyan}│
${cyan}│${reset} ${underline}${bold}OrcID:${reset} ${dim}https://orcid.org/${reset}${green}0000-0003-0875-8927 ${cyan} │
${cyan}│${reset} ${underline}${bold}IRC:${reset} ${dim}https://www.patreon.com/${reset}${yellow}bryanjenks ${cyan} │
${cyan}│ │
${cyan}│${reset} ${underline}${bold}Card:${reset} ${yellow}curl -sL theschricks.com/noah/contactcard | sh ${cyan}│
${cyan}│ │
${cyan}╰─────────────────────────────────────────────────────────────╯
EOF
tput sgr0