Skip to content

Instantly share code, notes, and snippets.

View Quentame's full-sized avatar
🏠
Automating ...

Quentame

🏠
Automating ...
  • Lyon, France
  • 14:26 (UTC +02:00)
View GitHub Profile
@flandrade
flandrade / automatically-add-icalendar-events.md
Last active July 5, 2024 19:26
Automatically Add iCalendar Events (.ics) to Calendars

Automatically Add iCalendar Events (.ics) to Calendars

Do you want to create a calendar event so that you can display it on an iPhone's calendar app or in Google Calendar? This can be done by using iCalendar events RFC 5545 as part of the following workflow:

  1. The user signs up for an event online.
  2. The user receives the iCalendar file as an attachment in the email.
  3. The .ics file contains information for the event at a specific time and date.
@insidegui
insidegui / gist:a18124c0c573a4eb656f5c485ea7dae4
Last active June 14, 2024 12:37
Unofficial documentation for the iCloud Apple device image URL format
https://statici.icloud.com/fmipmobile/deviceImages-9.0/iPhone/iPhone9,4-2-3-0/online-infobox__3x.png
A B C D E F G
A: deviceImages version seems to determine the format of the image specifier (C, D, E, F)
B: device marketing name
C: device model identifier
D: color cover glass (front color)
1 - Black
2 - White
E: device enclosure color (back color)
@tmthrgd
tmthrgd / nginx-status-text.conf
Created May 27, 2016 12:00
Nginx status code to message map.
map $status $status_msg {
default "An error occured";
100 Continue;
101 "Switching Protocols";
102 Processing; # WebDAV; RFC 2518
200 OK;
201 Created;
202 Accepted;
203 "Non-Authoritative Information";
204 "No Content";