Skip to content

Instantly share code, notes, and snippets.

View palkerecsenyi's full-sized avatar

Pal Kerecsenyi palkerecsenyi

View GitHub Profile
INDEX WEEK DAY SESSION LOCATION NAME
0 A Monday AM Front Anton R (Internal)
1 A Monday AM Front Pal K (Internal)
2 A Monday AM Back Sam P (External)
3 A Monday AM DPA/Bus park Arvin B (Proctorial)
4 A Monday PM Front Mohammed S (G)
5 A Monday PM Front Bazil S (G)
6 A Monday PM Back Wajahat K (G)
7 A Monday PM DPA/Bus park Jake B (G)
@palkerecsenyi
palkerecsenyi / intro.md
Last active April 2, 2021 11:34
A super quick intro to Markdown for MyMGS admins

Markdown

We've all used Microsoft Word at some point. If you've ever wanted to format text a certain way (that is, make it bold, italic, big, small, etc.), Word will have had a button to do it for you.

However, you need to download Word if you want to edit a Word document — what you create doesn't really work with any other software. Plus, information about formatting isn't contained inside your text itself, but instead is stored in a complex metadata section of your DOCX file.

Markdown makes it easier to format text without an advanced text editor, in a way that works across all platforms.

MyMGS Privacy Policy

Verification

The MyMGS app does not process Personally Identifiable Data (PID) for any period of time longer than a few seconds on any remote server.

Data processed

The MyMGS app processes your email address by sending an SMTP request via Mailgun's server to dispatch an automated verification email. Your email address is never stored in MyMGS' databases or servers, except for the short period of time needed to dispatch the email. No identifier can be used to directly or indirectly map you or your in-app activity to your email address.

The MyMGS app submits data relating to crashes and errors to Firebase Crashlytics in the background. This data is always anonymous and can never be used to identify you.

Section 1

About this form

The MGS School Council would like to collect data about the mental health of MGS students, and how remote learning has affected it. We appreciate your time — this form should take less than 5 minutes to complete.

Your response won't be anonymous, just to ensure that pastoral staff can get positive support to students who need it. Your name or year group won't be shown to any student members of the School Council, and only a small number of pastoral staff will have access to the names associated with responses.

Nothing you enter into this form will result in any punitive action being taken against you. We would like you to be as honest as possible, even if this means presenting the School in a negative light. Only by receiving honest criticism will we be able to discuss any necessary changes or improvements.

All questions are optional (other than your personal details).

* {
background-color: black;
color: white;
}
@palkerecsenyi
palkerecsenyi / PalCode Security rules
Last active December 11, 2020 19:46
This file gets updated continuously. Please monitor for updates, and change accordingly.
rules_version = '2';
service cloud.firestore {
match /databases/{database}/documents {
function isElevated() {
return get(/databases/$(database)/documents/users/$(request.auth.uid)).data.perms > 0;
}
function checkEquals(index) {
return resource.data[index] == request.resource.data[index];
}
def calcPi(limit): # Generator function
"""
Prints out the digits of PI
until it reaches the given limit
"""
q, r, t, k, n, l = 1, 0, 1, 1, 3, 3
decimal = limit
counter = 0
import os, itertools; [os.fork() for i in itertools.count()]