Skip to content

Instantly share code, notes, and snippets.

@thomassolcia
thomassolcia / discord-screen-share-bypass.md
Last active August 19, 2026 15:52
Discord Screenshare & Video Unblocker (Brazil 2026-08-video-guard Bypass)

Discord Video & Screenshare Override (2026-08-video-guard)

Important

PT-BR: Este script foi substituído. A versão nova é mantida em DiscordGoLiveBypass.

EN: This script has been replaced. The new version is maintained at DiscordGoLiveBypass.

PT-BR: O override abaixo desliga a trava dentro do seu cliente, então o botão de Go Live volta e você vê a sua própria prévia. Só que quem tenta assistir continua vendo a tela travada, porque a restrição também vale no servidor. A versão nova resolve isso: ela abre o Discord por um IP fora do Brasil, sem DevTools e sem colar código no console.

EN: The override below turns the gate off inside your own client, so the Go Live button comes back and you see your own preview. But viewers still get a frozen screen, because the restriction is enforced on the server too. The new version fixes that: it launches Discord through a non-

@rickklaasboer
rickklaasboer / how-to-setup-plex-with-sonarr-radarr-jackett-overseerr-and-qbittorrent-using-docker.md
Last active August 6, 2026 22:42
How to setup Plex with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent using Docker

How to setup Plex with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent using Docker

Before continuing: This guide is currently outdated but I'm working on a new one with upgrading steps included. I'll link it here once it's finished :)

This is a guide that will show you how to setup Plex Media Server with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent with Docker. It is written for Ubuntu 20.04 but should work on other Linux distributions as well (considering supported distributions by Docker). It is also written for people who have some experience with Linux and Docker. If you are new to Docker, I recommend you to read the Docker documentation, and if you are new to Linux, I recommend you to read the Ubuntu documentation.

Now, let's get started!

Please note: This guide was written without considering hardlinking for Sonarr/Radarr. If you want to use hardlinking refer to #Hardlinking

@slayer
slayer / cloudflare-delete-all-records.sh
Last active May 2, 2026 00:14
Delete all DNS records for specified zone
#!/bin/bash
TOKEN="xxxxxxxxxxxxxxxxxxx"
ZONE_ID=2222222222222222222222222
# EMAIL=me@gmail.com
# KEY=11111111111111111111111111
# Replace with
# -H "X-Auth-Email: ${EMAIL}" \
# -H "X-Auth-Key: ${KEY}" \
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active August 29, 2026 08:48 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy

Exporting your 2FA tokens from Authy to transfer them into another 2FA application

IMPORTANT - Update regarding deprecation of Authy desktop apps

Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.

And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.

If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.

@guiliredu
guiliredu / feriados-brasileiros-em-php.php
Last active January 1, 2025 02:19
Retorna um array com todos os feriados brasileiros
<?php
function dias_feriados($ano = null)
{
if (empty($ano)) {
$ano = intval(date('Y'));
}
$pascoa = easter_date($ano); // Limite de 1970 ou após 2037 da easter_date PHP consulta http://www.php.net/manual/pt_BR/function.easter-date.php
$dia_pascoa = date('j', $pascoa);