Advertisement
metalx1000

QR Code Format Examples

Nov 6th, 2024
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.66 KB | None | 0 0
  1. #!/bin/bash
  2. ######################################################################
  3. #Copyright (C) 2024  Kris Occhipinti
  4. #https://filmsbykris.com
  5.  
  6. #This program is free software: you can redistribute it and/or modify
  7. #it under the terms of the GNU General Public License as published by
  8. #the Free Software Foundation version 3 of the License.
  9.  
  10. #This program is distributed in the hope that it will be useful,
  11. #but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. #GNU General Public License for more details.
  14.  
  15. #You should have received a copy of the GNU General Public License
  16. #along with this program.  If not, see <http://www.gnu.org/licenses/>.
  17. ######################################################################
  18.  
  19. list=(
  20.   "https://filmsbykris.com"
  21.   "tel:+1 (385) 429-0198;"
  22.   "smsto:555-555-5555;"
  23.   "smsto:555-555-5555:This is the message.  Please Visit https://filmsbykris.com;"
  24.  
  25.   "BEGIN:VCARD
  26. VERSION:2.1
  27. N:Kris
  28. TEL;HOME;VOICE:555-555-5555
  29. TEL;WORK;VOICE:666-666-6666
  30. URL:https://filmsbykris.com
  31. END:VCARD"
  32.  
  33. "BEGIN:VEVENT
  34. SUMMARY:Films By Kris Video
  35. LOCATION:The World Wide Web
  36. URL:http://filmsbykris.com
  37. DESCRIPTION:Watch a cool video
  38. DTSTART:20241113T090000
  39. DTEND:20241113T100000
  40. RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=T000000Z
  41. BEGIN:VALARM
  42. TRIGGER:-PT0M
  43. ACTION:DISPLAY
  44. END:VALARM
  45. END:VEVENT"
  46.  
  47. "WIFI:S:MyWiFi;T:WPA;P:SecretPassword;;"
  48. "mailto:billgates@microsoft.com?subject=Subject&body=This is the Body"
  49. "tel:+1 (385) 429-0198;This is extra Text"
  50. )
  51.  
  52. for i in "${list[@]}"; do
  53.   clear
  54.   echo "$i"
  55.   echo "$i"|qrencode -t utf8
  56.   read -p "Enter to Continue."
  57. done
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement