Skip to content

Instantly share code, notes, and snippets.

View promise's full-sized avatar
💢
Making a bug repellent that actually works.

Glenn promise

💢
Making a bug repellent that actually works.
View GitHub Profile
@promise
promise / modmail-oauth-middleware.md
Last active July 3, 2023 10:40
An OAuth2 middleware for Dragory's Modmail bot

Dragory Modmail OAuth Integration (+ confidential logs)

Add an OAuth2 middleware to verify the user has access to the inbox server.

Setup

Copy the files into your modmail project. Location of the files are in the comments on all the files.

Configure it in the webserverPlugin.js-file.

Each eye can make a 576-megapixel image 1000 times per second. With the use of https://toolstud.io/photo/megapixel.php, I found out each eye makes 1.01TB of lossless JPEG images per second, if we think it's a camera. So if you have two 100% functioning eyes, you generate potentially 2.02 terrabytes each second. Through a day cycle, that is 174.528 petabytes. Through a full year, that is 63746.352 petabytes. (thinking one year is 365.25 days)

Worldwide, including blind people and people with low vision

With the source of https://www.who.int/blindness/GLOBALDATAFINALforweb.pdf I found out 39.365 million people are blind.