Skip to content

Instantly share code, notes, and snippets.

View Ran-Mewo's full-sized avatar
😊
>~<

Ran Ran-Mewo

😊
>~<
  • Earth
View GitHub Profile
@ipenywis
ipenywis / cursor-memory-bank-rules.md
Last active December 9, 2025 14:06
Cursor Memory Bank

Cursor's Memory Bank

I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional.

Memory Bank Structure

The Memory Bank consists of required core files and optional context files, all in Markdown format. Files build upon each other in a clear hierarchy:

flowchart TD
@hackermondev
hackermondev / research.md
Last active December 10, 2025 19:08
Unique 0-click deanonymization attack targeting Signal, Discord and hundreds of platform

hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.

3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.

I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:

Cloudflare

By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k

@Furnyr
Furnyr / unity_embedded_app_sdk_1.md
Last active November 29, 2025 09:59
Using Unity 2022.3.8f1 with the Discord Embedded App SDK

April 13, 2024 Edit

I recently published the first complete version of a project that can help with creating activities with Unity. If you want to check it out here's the repository: Dissonity

Introduction

This file contains information about my experience using Unity with the Embedded App SDK, so if you plan to make a Discord activity with Unity you may find this helpful. I am not a professional developer though, and the SDK has become public just recently, so take my words with a pinch of salt.

I used Unity 2022.3.8f1, I haven't tested other versions but it may work similarly.

Yura uwuifier specification v1.1

Abstract

Yura uwuifier specification describes an algorithm used to convert the text to its "uwuified" form, considering edge cases and keeping the text readable.

This specification follows RFC 2119.

Definitions

EMOJIS is a list of UTF-8 encoded strings. It MUST contain these strings: &lt;3, :3, UwU, OwO, ^^, &gt;w&lt;, &gt;~&lt;, &gt;.&lt;, &gt;w&lt;, ^w^, (◕ᴥ◕), ʕ•ᴥ•ʔ, ʕ→ᴥ←ʔ, (*^ω^), (◕‿◕✿), (*^.^*), (つ✧ω✧)つ, (/ =ω=)/. EMOJIS must not match any of the replacement rules. Implementations MAY amend the list.

@augustin-laurent
augustin-laurent / rocm_arch_guide.md
Last active December 8, 2025 09:43
ROCm Installation guide on Arch
Date of the guide : September, 2025

Introduction

In this post, I will provide the solution that worked on my system on how to install Radeon Open Compute (ROCm) on Arch (linux-6.6.7.arch1-1) for RX 6900 XT (Should work on other 6000 series). ROCm is an open-source software platform that allows GPU-accelerated computation. This tool is a prerequist to use GPU Acceleration on TensorFlow or PyTorch. In this guide I will use Paru as my AUR package helper, feel free to use any other (https://wiki.archlinux.org/title/AUR_helpers). I will assume you have a working operating system and know what you do with it (Otherwise Arch will be painfull for you).

@kritishd8
kritishd8 / emoji-picker.css
Last active August 11, 2023 02:56
Emoji Picker
:root {
--radius-secondary: 10px;
}
.header-1nkwgG, .header-11eigE, .header-JHwfVI {
--webkit-shadow: none;
box-shadow: none !important;
filter: none;
}
.positionLayer-1cndvf.layer-2aCOJ3 {
@SizableShrimp
SizableShrimp / README.md
Last active June 30, 2025 17:16
How to setup shading with Minecraft Forge

How to setup shading with Minecraft Forge

Shading is the concept of packing external dependencies inside your jar so that they exist in production. Without this, using external libraries would produce ClassNotFoundExceptions when you run your mod jar outside of an IDE. This guide explains how to setup shading through Gradle.

Assumptions

This guide assumes that:

  • You are on ForgeGradle 5 or higher
  • You are on Gradle 7.0 or higher
@MeguminSama
MeguminSama / Discord Experiments.js
Last active December 8, 2025 20: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";
@kotx
kotx / KeyBind.java
Last active December 11, 2022 22:21
Dumb Fabric keybind thing.
package moe.whip.pilot.keys;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.options.KeyBinding;
@Environment(EnvType.CLIENT)
public class KeyBind extends KeyBindBase {
private KeyBinding keyBinding;
private boolean pressed;
@MPThLee
MPThLee / enableDiscordExperiments.js
Last active December 9, 2025 18:39
This code doesn't work anymore. I just decided to remove this code. You can check working code on comments.
/**
* !!!! This code doesn't work anymore !!!!
*
* - You can check working code on comments. I won't update this code anymore.
*
* Also, I just decided to remove this code. You can check revisions for old code.
* Since this code was made for discord client that almost 5 years ago, It seems like doesn't work anymore.
* I don't want people keep arguing in the comments, i decided to remove this code.
*
* Note: This code is now fulfilled with Javascript comments. This code won't work even if you pasted to console. doesn't do anything.