Skip to content

Instantly share code, notes, and snippets.

View HonbraDev's full-sized avatar

Honbra HonbraDev

View GitHub Profile
@aamiaa
aamiaa / RevertNewLayout.md
Last active February 15, 2026 15:48
Revert New Discord Layout

The original snippet no longer works!

On 02/09/2024 at around 8pm UTC, Discord flipped an experiment (2023-09_mobile_redesign_override_toggles) which ignores the layout toggle that this script relied on.

If you want to continue using the old layout, you can either use a modded mobile client (such as Vendetta) to disable that experiment, or downgrade to an old version of the app.

Method 1 - Downgrading (Android)

Tip

Use this one if you want a fast, beginner-friendly solution and don't mind using a version from November 2023

  1. Download version 205.15 of Discord mobile app from ApkMirror
// ==UserScript==
// @name Photopea Premium
// @namespace http://tampermonkey.net/
// @version 2024-02-03
// @description Unlock Photopea Premium by patching their JS
// @author mat
// @match https://www.photopea.com/
// @match https://www.photopea.com/?utm_source=homescreen
// @icon https://www.google.com/s2/favicons?sz=64&domain=photopea.com
// @grant GM_webRequest
#!/usr/bin/env python3
# Download your data dump and place this file in the "messages" folder of your data dump.
# Run it using python
from datetime import datetime, timedelta, timezone
import dateutil.parser
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
import matplotlib.dates as mdates
import csv
@HonbraDev
HonbraDev / ct-linear.csv
Last active October 17, 2024 10:32
Czech Television's online linear channels
channel assetId streamIdClear streamIdDrm streamIdHbbtv title altTitle
CH_1 CT1 102 122 132 ČT1
CH_1_JM CT1jm 103 123 133 I1jm ČT1 JM
CH_1_SM CT1sm 104 124 134 I1sm ČT1 SM
CH_1_JZC CH_1_JZC 105 125 135 CH_1_JZC ČT1 JZC
CH_1_SVC CH_1_SVC 106 126 136 CH_1_SVC ČT1 SVC
CH_2 CT2 202 222 232 ČT2
CH_24 CT24 2402 2422 2432 ČT24
CH_4 CT4 402 422 432 ČT Sport ČT sport
CH_5 CT5 502 522 532 ČT :D
@velzie
velzie / manifest-v2-chrome.md
Last active December 25, 2025 23:58
How to keep using adblockers on chrome and chromium

NOTE

by the time you're reading this, this probably no longer works since the policy has been removed. I reccomend you to check out https://github.com/r58Playz/uBlock-mv3 instead

How to keep using adblockers on chrome and chromium

  1. google's manifest v3 has no analouge to the webRequestBlocking API, which is neccesary for (effective) adblockers to work
  2. starting in chrome version 127, the transition to mv3 will start cutting off the use of mv2 extensions alltogether
  3. this will inevitably piss of enterprises when their extensions don't work, so the ExtensionManifestV2Availability key was added and will presumably stay forever after enterprises complain enough

You can use this as a regular user, which will let you keep your mv2 extensions even after they're supposed to stop working

@hackermondev
hackermondev / zendesk.md
Last active February 5, 2026 09:19
1 bug, $50,000+ in bounties, how Zendesk intentionally left a backdoor in hundreds of Fortune 500 companies

hi, i'm daniel. i'm a 15-year-old with some programming experience and i do a little bug hunting in my free time. here's the insane story of how I found a single bug that affected over half of all Fortune 500 companies:

say hello to zendesk

If you've spent some time online, you’ve probably come across Zendesk.

Zendesk is a customer service tool used by some of the world’s top companies. It’s easy to set up: you link it to your company’s support email (like support@company.com), and Zendesk starts managing incoming emails and creating tickets. You can handle these tickets yourself or have a support team do it for you. Zendesk is a billion-dollar company, trusted by big names like Cloudflare.

Personally, I’ve always found it surprising that these massive companies, worth billions, rely on third-party tools like Zendesk instead of building their own in-house ticketing systems.

your weakest link