Advertisement
AyrA

card.sh

Mar 16th, 2021
1,272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.51 KB | None | 0 0
  1. #!/usr/bin/env bash
  2. #ref:https://redd.it/m6erxq
  3. ###############################################
  4. # Write a nice business card on the terminal. #
  5. ###############################################
  6.  
  7. # This is a copycat from Bryan Jenks: https://github.com/tallguyjenks/BusinessCard
  8.  
  9. # ╭═══════════════════════════════════════════════════════╮
  10. # ║                                                       ║
  11. # ║           Michael Tsouchlarakis / michaeltd           ║
  12. # ║                                                       ║
  13. # ║      Work:  tsouchlarakis@gmail.com                   ║
  14. # ║      FOSS:  Gentoo Linux avocado.                     ║
  15. # ║                                                       ║
  16. # ║   Twitter:  https://twitter.com/tsouchlarakismd       ║
  17. # ║       npm:  https://npmjs.com/~michaeltd              ║
  18. # ║    GitHub:  https://github.com/michaeltd              ║
  19. # ║  LinkedIn:  https://linkedin.com/in/michaeltd         ║
  20. # ║       Web:  https://michaeltd.netlify.com/            ║
  21. # ║                                                       ║
  22. # ║      Card:  curl -sL https://tinyurl.com/mtd-card|sh  ║
  23. # ║                                                       ║
  24. # ╰═══════════════════════════════════════════════════════╯
  25.  
  26. ######################################
  27. # Font attributes, colors, bg colors #
  28. ######################################
  29. #bg_black="$(tput setab 0)"
  30. #bg_blue="$(tput setab 4)"
  31. #bg_cyan="$(tput setab 6)"
  32. #bg_default="$(tput setab 9)"
  33. #bg_green="$(tput setab 2)"
  34. #bg_magenta="$(tput setab 5)"
  35. #bg_red="$(tput setab 1)"
  36. #bg_white="$(tput setab 7)"
  37. #bg_yellow="$(tput setab 3)"
  38. #black="$(tput setaf 0)"
  39. #blink="$(tput blink)"
  40. #default="$(tput setaf 9)"
  41. #end_underline="$(tput rmul)"
  42. #hidden="$(tput invis)"
  43. #reverse="$(tput rev)"
  44. white="$(tput setaf 7)"
  45. blue="$(tput setaf 4)"
  46. bold="$(tput bold)"
  47. cyan="$(tput setaf 6)"
  48. dim="$(tput dim)"
  49. green="$(tput setaf 2)"
  50. magenta="$(tput setaf 5)"
  51. red="$(tput setaf 1)"
  52. reset="$(tput sgr0)"
  53. underline="$(tput smul)"
  54. yellow="$(tput setaf 3)"
  55.  
  56. cat <<EOF
  57.  
  58. ${cyan}╔═════════════════════════════════════════════════════════╗
  59. ${cyan}║${reset}         ${red}__ __      __    _ __   ____  _           __${reset}    ${cyan}║
  60. ${cyan}║${reset}        ${red}/ //_/_  __/ /_  (_) /__/ __ \(_)  _____  / /${reset}    ${cyan}║
  61. ${cyan}║${reset}       ${red}/ ,< / / / / __ \/ / //_/ /_/ / / |/_/ _ \/ /${reset}     ${cyan}║
  62. ${cyan}║${reset}      ${red}/ /| / /_/ / /_/ / / ,< / ____/ />  </  __/ /${reset}      ${cyan}║
  63. ${cyan}║${reset}     ${red}/_/ |_\__,_/_.___/_/_/|_/_/   /_/_/|_|\___/_/${reset}       ${cyan}║
  64. ${cyan}║${reset}         ${red}-~=# 161 = floss = cypher = nrk #=~-${reset}            ${cyan}║
  65. ${cyan}║                                                         ║
  66. ${cyan}╠═════════════════════════════════════════════════════════╣
  67. ${cyan}║                                                         ║
  68. ${cyan}║${reset} ${red}■${reset} ${underline}${bold}KubikPixel:${reset} ${bold}Web & App developer with 3D experiments${reset} ${red}■${reset} ${cyan}║
  69. ${cyan}║                                                         ║
  70. ${cyan}║${reset}     ${underline}${bold}Email:${reset}  ${green}kubikpixel@dismail.de                       ${cyan}║
  71. ${cyan}║${reset}      ${underline}${bold}XMPP:${reset}  ${yellow}kubikpixel@dismail.de                       ${cyan}║
  72. ${cyan}║${reset}    ${underline}${bold}Matrix:${reset}  ${cyan}@kubikpixel:tchncs.de                       ${cyan}║
  73. ${cyan}║                                                         ║
  74. ${cyan}║${reset}       ${underline}${bold}Web:${reset}  ${dim}https://thunix.net/${reset}${yellow}~kubikpixel/             ${cyan}║
  75. ${cyan}║${reset}      ${underline}${bold}Blog:${reset}  ${dim}https://paper.wf/${reset}${green}kubikpixel/                ${cyan}║
  76. ${cyan}║${reset}    ${underline}${bold}Gemini:${reset}  ${dim}gemini://tilde.pink/${reset}${white}~kubikpixel/            ${cyan}║
  77. ${cyan}║                                                         ║
  78. ${cyan}║${reset}  ${underline}${bold}Mastodon:${reset}  ${dim}https://chaos.social/${reset}${blue}@kubikpixel            ${cyan}║
  79. ${cyan}║${reset}   ${underline}${bold}Twitter:${reset}  ${dim}https://twitter.com/${reset}${white}kubikpixel              ${cyan}║
  80. ${cyan}║${reset}    ${underline}${bold}Reddit:${reset}  ${dim}https://www.reddit.com/user/${reset}${red}KubikPixel      ${cyan}║
  81. ${cyan}║${reset}  ${underline}${bold}Codeberg:${reset}  ${dim}https://codeberg.org/${reset}${blue}KubikPixel             ${cyan}║
  82. ${cyan}║                                                         ║
  83. ${cyan}║${reset}      ${underline}${bold}Card:${reset}  ${yellow}curl -sL 0x0.st/Nlpj | sh                   ${cyan}║
  84. ${cyan}║                                                         ║
  85. ${cyan}╚═════════════════════════════════════════════════════════╝
  86.  
  87. EOF
  88.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement