Skip to content

Instantly share code, notes, and snippets.

View EmilePerron's full-sized avatar

Émile Perron EmilePerron

View GitHub Profile
@EmilePerron
EmilePerron / content.js
Created August 2, 2022 18:18
Arc Boost to make Microsoft Teams show notification 2 mins before events
const notifiedEvents = new Map();
let events = [];
// Load and refresh events when the calendar view is open
function refreshEvents() {
const eventNodes = document.querySelectorAll("[aria-label*='organized by'][aria-label*='for more options'][title*='from']");
if (!eventNodes.length) {
return;
@EmilePerron
EmilePerron / README.md
Created November 22, 2022 19:06
Troubleshooting issues with Coraza WAF / ModSecurity

Troubleshooting issues with Coraza WAF / ModSecurity

If a request receives an HTTP 403 Unauthorized response, and you know your project's code isn't triggering the error, the most likely explanation is that the firewall is blocking your request.

If that's the case, take a look at the Caddy logs and you'll see the errors.

project-php-1 | {"level":"error","ts":1666882916.7945118, ...