Skip to content

Instantly share code, notes, and snippets.

View EDM115's full-sized avatar
πŸ”
actively searching for a job

EDM115 EDM115

πŸ”
actively searching for a job
View GitHub Profile
@jbreckmckye
jbreckmckye / Cloudflare.md
Last active December 7, 2025 21:32
The CloudFlare outage was a good thing

The Cloudflare outage was a good thing

Cloudflare, the CDN provider, suffered a massive outage today. Some of the world's most popular apps and web services were left inaccessible for serveral hours whilst the Cloudflare team scrambled to fix a whole swathe of the internet.

And that might be a good thing.

The proximate cause of the outage was pretty mundane: a bad config file triggered a latent bug in one of Cloudflare's services. The file was too large (details still hazy) and this led to a cascading failure across Cloudflare operations. Probably there is some useful post-morteming about canary releases and staged rollouts.

@rebane2001
rebane2001 / twitter-card-mod.js
Last active November 14, 2025 02:10
Twitter Card Mod (paste into console) // Note: Moved to https://github.com/rebane2001/TweetsAgainstHumanity/ (get the extension/userscript there)
twitterCardCount = 5;
function getNextTweets(count) {
const nextTweets = [...document.querySelectorAll("[data-testid='cellInnerDiv']:not(:has(>.HiddenTweet)) [data-testid='tweet']:not([data-twc-used])")].slice(0, count);
nextTweets.forEach(e => e.dataset.twcUsed = true);
return nextTweets;
}
function setStyle(styleText) {
let styleEl = document.querySelector(".twc-style");
@adasThePro
adasThePro / README.md
Last active November 25, 2025 10:53
A complete guide to installing Windows 11 IoT LTSC - a lightweight, bloat-free edition with no ads, no forced updates, and relaxed hardware requirements. Perfect for Windows 10 users whose devices don't meet standard Windows 11 requirements, or anyone seeking a clean, stable Windows experience without the bloat.

Windows 11 IoT LTSC: The Edition That Doesn't Suck

Stop chasing Windows 11 alternatives or experimenting with risky third-party builds to upgrade from Windows 10 or trying to debloat mainstream editions. The ideal solution is already available: Windows 11 IoT LTSC.

It's a lightweight, stable, and bloat-free edition of Windows 11 that's perfect for productivity, development, or even gaming without the unnecessary apps, ads, or forced updates found in mainstream editions. Best of all, if your PC runs Windows 10 well, it'll handle Windows 11 IoT LTSC just as smoothly, with no performance drop or compatibility issues.

In this guide, I'll walk you through everything you need to know about Windows 11 IoT LTSC: how to prepare your system, install the OS, and configure it for daily use. By the end, you'll have a streamlined Windows setup perfect for productivity, development, or even gaming without the baggage of mainstream editions.

At the time of writing, the latest releas

FM AIO Glowing Paint Instructions (AIO: v2.6.0.0+)

  1. Turn on the feature.
  2. Go to your safehouse/a festival.
  3. While in there, navigate to the garage tab.
  4. Open "Designs and paints".
  5. Click on "Paint Car" (if you've applied a livery made by another player before, it must go away first).
  6. Select some intensity (the slider or the value box).
  7. Change the color of your car.
  8. Your car should now glow.
ID: 28; Name: RockOutA
ID: 46; Name: RockOut_B
ID: 19; Name: Number1
ID: 47; Name: RollBack
ID: 8; Name: ClassicalDance
ID: 33; Name: BestFriend
ID: 3; Name: BlowKiss
ID: 0; Name: BodyPop
ID: 34; Name: BringIt
ID: 35; Name: CantHearYou
@rxri
rxri / spicetify_v8_explanation.md
Last active October 7, 2025 21:14
Technical explanation of V8 Snapshot in Spotify

Hi fellow reader,

I'm ririxi, core maintainer of spicetify. Some people asked me to do a technical explanation of what spotify shipped with macOS Intel versions. This would be my first time writing a post like this, so I apologize for any inscriptions.

What is V8 context snapshot?

Spotify under the hood uses CEF (Chromium Embedded Framework) which is a framework around chromium, essentially electron but for C++. Chromium uses a V8 which is a Javascript engine created by Google. V8 can generate serialized representation (bytecode) of the V8 engine's heap. It contains pre-initialized JavaScript objects and functions.

@rebane2001
rebane2001 / plot_discord_predictions.py
Last active March 8, 2025 05:47
Simple script to plot your Discord machine-learning predicted age and gender from the data dump.
"""
Simple script to plot your Discord machine-learning predicted age and gender from the data dump.
To use, simply put this script in your activity/analytics/ folder of your Discord data dump and run it.
You may need to install matplotlib first:
pip install -U matplotlib
thrown together by rebane2001
@EDM115
EDM115 / sudo on PowerShell.md
Last active May 6, 2024 21:07
sudo on PowerShell

sudo on PowerShell

Microsoft plans on adding a sudo like command on windows (info and controversy)
But what if... you could already use it ? 🀭

Prerequisites

  • Have the newer version of powershell installed.
    If you plan on using the old one, replace pwsh with powershell
@EDM115
EDM115 / Discord on Linux : auto upgrade and auto install BetterDiscord.md
Last active November 13, 2025 17:55
Discord on Linux : auto upgrade and auto install BetterDiscord

Discord on Linux : auto upgrade and auto install BetterDiscord

If you've installed discord on Linux through apt, you know how much of a pain it is to manually download and install it every now and then. It's even worse if you're having to reinstall BetterDiscord every time
So here's 2 simple scripts to fix this :

launch-discord.sh

  • Versatile script to launch discord
  • Auto launches the upgrade script if needed (have to be in the same folder)
  • Detaches the Discord instance from the terminal once done
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 11, 2025 01:27
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter: