mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-25 20:59:22 +01:00
vcard: initial commit
This commit is contained in:
parent
f632eff644
commit
73a1ca528f
1
vcard/.gitignore
vendored
Normal file
1
vcard/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.png
|
17
vcard/aminda.vcard
Normal file
17
vcard/aminda.vcard
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
BEGIN:VCARD
|
||||||
|
VERSION:4.0
|
||||||
|
FN:Aminda Suomalainen
|
||||||
|
GENDER:F
|
||||||
|
EMAIL:suomalainen+git@mikaela.info
|
||||||
|
EMAIL;TYPE=deltachat:delta@aminda.eu
|
||||||
|
KEY;MEDIATYPE=application/pgp-keys:https://www.aminda.eu/PGP/0xBAE30723.txt
|
||||||
|
KIND:individual
|
||||||
|
PHOTO;MEDIATYPE=image/jpeg:https://media.githubusercontent.com/media/Mikaela/mikaela.github.io/lfs-media/avatar/250.jpeg
|
||||||
|
URL:https://www.aminda.eu
|
||||||
|
IMPP:xmpp:mikaela@blesmrt.net
|
||||||
|
IMPP:matrix:u/_xmpp_mikaela=40blesmrt.net:matrix.org
|
||||||
|
IMPP:matrix:u/aminda:pikaviestin.fi
|
||||||
|
IMPP:xmpp:aminda_pikaviestin.fi@matrix.org
|
||||||
|
IMPP:matrix:u/mikaela.suomalainen:matrix.org
|
||||||
|
IMPP:xmpp:mikaela.suomalainen_matrix.org@matrix.org
|
||||||
|
END:VCARD
|
16
vcard/generate-qr.bash
Executable file
16
vcard/generate-qr.bash
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# Turn vcards into QR codes
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# loop through all vcard files
|
||||||
|
for vcard in *.vcard; do
|
||||||
|
if [ -f "$vcard" ]; then
|
||||||
|
# -l H - high error correction
|
||||||
|
# -t utf8 - output to terminal
|
||||||
|
# -r - read file
|
||||||
|
# -o output file
|
||||||
|
qrencode -l H -t utf8 -r $vcard
|
||||||
|
qrencode -l H -o $vcard.png -r $vcard
|
||||||
|
fi
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user