Skip to content

Instantly share code, notes, and snippets.

View LumberJaxolotl's full-sized avatar

Chris Cormier LumberJaxolotl

View GitHub Profile
@LumberJaxolotl
LumberJaxolotl / resize-arabic.css
Last active March 21, 2024 19:50
CSS rule that scales text of any content using arabic-script. Works with an exaustive list of languages that use arabic-based scripts or have arabic-script varients.
/* scales-up any text using arabic-script for improved legibility */
*:is(:lang(ar), :lang(fa), :lang(fa-AF), :lang(tg), :lang(ur), :lang(ps), :lang(ckb), :lang(ug), :lang(ks), :lang(skr), :lang(bal), :lang(sd), :lang(ota-Arab), :lang(kk-Arab), :lang(ky-Arab), :lang(az-Arab), :lang(tk-Arab), :lang(uz-Arab), :lang(pa-Arab), :lang(ms-Arab), :lang(tt-Arab), :lang(ha-Arab), :lang(ff-Arab), :lang(kr-Arab), :lang(wo-Arab), :lang(bm-Arab), :lang(tmh-Arab), :lang(yo-Arab), :lang(ig-Arab), :lang(sw-Arab), :lang(so-Arab)) {
font-size: 1.2em;
}
/*
Languages supported:
ar - Arabic
fa - Persian
@LumberJaxolotl
LumberJaxolotl / m-montreal-schedule-image-to-ics.txt
Last active July 14, 2025 20:51
ChatGPT prompt to take an image of the M Montreal weekly schedule and convert the data into an ics file, making it easy to bulk import shifts into any calander app (ex: Google Calendar, Apple Calendar)
give these calander dates (known as shifts) with times to me in text format each seperated by a line break.
remove the title text in the brackets.
just for the shifts that start at 23:59, for the end time of that shift add on the next day before the end time.
print this list to the chat.
Based off the given shifts create an ics file titled in the format 'M Montreal Shifts [first shift date] - [last shift date]'.
the timezone for the shifts is montreal time.
the shifts are not repeating events.
each shift that starts at 08:00 title it as "Early Morning Shift ☀️".