Skip to content

Instantly share code, notes, and snippets.

@johnsockwell
Last active November 25, 2022 14:51
Show Gist options
  • Select an option

  • Save johnsockwell/3cb5a24eae57f4f8ac925e0dc8d8b549 to your computer and use it in GitHub Desktop.

Select an option

Save johnsockwell/3cb5a24eae57f4f8ac925e0dc8d8b549 to your computer and use it in GitHub Desktop.

Schemas for encoding QR codes

URL

Url Scheme: https://example.com

Location

Geo Scheme: geo:37.33182,-122.03118

Maps: http://maps.apple.com/?address=1,Infinite+Loop,Cupertino,California

Message

SMS scheme: sms:1-408-555-1212

SMSTO format: SMSTO:1-408-555-1212:Hello World

Email

mailto scheme: mailto:john.appleseed@apple.com

Phone Number

tel scheme: tel:+1-408-555-5555

Contact

vCard Format:

BEGIN:VCARD
VERSION:3.0
N:Appleseed;John;;MR.;
FN: John Appleseed
ORG:Apple Inc
TEL;TYPE=WORK,VOICE:(408) 555-1212
EMAIL:john.appleseed@apple.com
END:VCARD

MeCard format: MECARD:N:Appleseed,John;TEL:14085551212;EMAIL:john.appleseed@apple.com;;

Event

iCalendar format:

BEGIN:VCALENDAR
BEGIN:VEVENT
SUMMARY:My Event
LOCATION:My Office
DTSTART:20170125T090000
DTEND:20170125T100000
END:VEVENT
END:VCALENDAR

Wifi Configuration

Wifi scheme: WIFI:T:WPA;S:mynetwork;P:mypasscode;;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment