Skip to content

Instantly share code, notes, and snippets.

@henk23
henk23 / Caddyfile
Last active July 20, 2024 00:16
Caddy with json logs and fail2ban
# /etc/caddy/Caddyfile
{
log {
output file /var/log/caddy/caddy.log
format json
}
}
(logging) {
@henk23
henk23 / userscript-teams-giphy-gif.js
Created November 29, 2021 09:26
UserScript: Replace giphy.com links with actual GIFs in Microsoft Teams
// ==UserScript==
// @name Replace GIF links with actual GIFs in Microsoft Teams
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Replace GIF links with actual GIFs in Microsoft Teams
// @author Heiko
// @match https://teams.microsoft.com/*
// @icon https://www.google.com/s2/favicons?domain=microsoft.com
// @grant none
// ==/UserScript==