Skip to content

Instantly share code, notes, and snippets.

View MeguminSama's full-sized avatar
🏳️‍🌈
Programming

megumin MeguminSama

🏳️‍🌈
Programming
View GitHub Profile

Keybase proof

I hereby claim:

  • I am meguminsama on github.
  • I am megumin (https://keybase.io/megumin) on keybase.
  • I have a public key ASAlG643kJ5B5FkCVo0qlJO5QfcxBOf_bCPtB36kUAC06wo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am meguminsama on github.
* I am megumin (https://keybase.io/megumin) on keybase.
* I have a public key ASANPoFM66rC6unJW15wlKexh6d2ZcGzklIIDurh8CX_Qgo
To claim this, I am signing this object:
@MeguminSama
MeguminSama / Discord Experiments.js
Last active October 1, 2024 09:51
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";
@MeguminSama
MeguminSama / Roles_Terms.md
Last active March 30, 2022 19:09
Roles Bot Privacy Policy & Terms of Service

Roles Bot Privacy Policy & Terms of Service Joint Document

See below for the Privacy Policy and Terms of Service.

Roles Privacy Policy

This Privacy Policy applies to the usage of the Roles#0229 bot on Discord.

Usage of Data

[class^="channelTextArea"]::before {
content: "";
width: 32px;
height: 32px;
bottom: calc(100% - 3px); /* Mess with the - 3px to change its vertical position */
right: 10px; /* Switch this from right to left to put it on the left side, or increase/decrease to change its position */
position: absolute;
image-rendering: pixelated;
background-image: url("https://raw.githubusercontent.com/adryd325/oneko.js/14bab15a755d0e35cd4ae19c931d96d306f99f42/oneko.gif");
animation: oneko 1s infinite; /* change 1s to make the animation slower/faster */