Skip to content

Instantly share code, notes, and snippets.

View RYRY1002's full-sized avatar

Riley RYRY1002

View GitHub Profile
@Kaldaien
Kaldaien / valve_delete.md
Created July 8, 2025 06:25
Why I Deleted My Steam Account After 20 Years

Why I Deleted My Steam Account After 20 Years

Some may know me from over a decade worth of modding broken, under-performing or otherwise inconvenient aspects of PC ports. Dedicated users of Special K also know that I have spent as much time battling problems caused by Steam as I have defects in the games themselves.

My experience with PC gaming goes back a further two decades, to the days of shareware, dialing into a BBS to get game patches / user generated content and tedious DRM fetch-quests involving physical game manuals. I was irritated when Half-Life 2 shipped on PC and required a dedicated piece of software to satisfy DRM and patch the game, but at the time these were minor inconveniences. Valve tried to quell concerns of software preservation with the first of a long series of lies wherein they claimed to have a contingency plan for the DRM scheme reaching end-of-life.

   Steam's DRM scheme has reached end-of-life multiple times without the promised parachute.

In 2002, the cl

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active November 2, 2025 04: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:
@aamiaa
aamiaa / RevertNewLayout.md
Last active August 26, 2025 06:39
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
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active October 25, 2025 07:47
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@MeguminSama
MeguminSama / Discord Experiments.js
Last active July 18, 2025 05:34
Discord Experiments.js
let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]);
var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default;
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes);
var user = UserStore.getCurrentUser();
actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [],
});
actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN();
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done";
@steven2358
steven2358 / ffmpeg.md
Last active October 27, 2025 18:19
FFmpeg cheat sheet
@wojteklu
wojteklu / clean_code.md
Last active October 31, 2025 12:34
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@msikma
msikma / rfc5646-language-tags.js
Created February 26, 2015 13:51
RFC 5646 Language Tags
// List of language tags according to RFC 5646.
// See <http://tools.ietf.org/html/rfc5646> for info on how to parse
// these language tags. Some duplicates have been removed.
var RFC5646_LANGUAGE_TAGS = {
'af': 'Afrikaans',
'af-ZA': 'Afrikaans (South Africa)',
'ar': 'Arabic',
'ar-AE': 'Arabic (U.A.E.)',
'ar-BH': 'Arabic (Bahrain)',
'ar-DZ': 'Arabic (Algeria)',