Skip to content

Instantly share code, notes, and snippets.

View aiko-chan-ai's full-sized avatar
🌸
Hello everyone! I'm Ely~

Elysia aiko-chan-ai

🌸
Hello everyone! I'm Ely~
View GitHub Profile
@aiko-chan-ai
aiko-chan-ai / discord_webpack.md
Last active March 30, 2024 03:02
Discord Webpack

Get + Find modules

!function(){"use strict";function e(){let e=window.webpackChunkdiscord_app.push([[Symbol()],{},e=>e]);return window.webpackChunkdiscord_app.pop(),e}function t(){let t=[];for(let n of Object.values(e().c))n.exports&&n.exports!==window&&t.push(n.exports);return t}function n(e){return t().find(e)}function r(e){return t().filter(e)}function o(e,t=!1){var o=t?[]:null;let i=(t?r:n)(function(n){let r=e(n);return r&&(t?o.push(r):o=r),r});return t?o.map((e,t)=>"string"==typeof e?i[t][e]:i[t]):"string"==typeof o?i[o]:i}function i(e,t){if(e?.displayName===t||"function"==typeof e?.getName&&e.getName()===t)return!0;for(let n of Object.getOwnPropertyNames(e)){try{e[n]}catch{console.warn("%c[elysia] %cFailed to access property","color: purple","",n,e);continue}if(e[n]?.displayName===t||"function"==typeof e[n]?.getName&&e[n]?.getName()===t)return n}}function l(e,t){var n=null;for(let r of t){if(e&&["object","function"].includes(typeof e)&&r in e)continue;let o=null;for(let i of Object.getOwnProper
@Dziurwa14
Dziurwa14 / codes.md
Last active May 10, 2024 04:52
Discord error codes

Error Codes

All collected Discord error codes, categorized by type (first 2 digits).

Miscellaneous

Code Message
0 General error (such as a malformed request body, amongst other things)

Unknown API object

@Raz-js
Raz-js / discord_javascript_documentation.md
Last active December 29, 2023 19:20
Discord Javascript Documentation

How To Open Discord Console

  1. Press CTRL + SHIFT + I (Developer Tools)
  2. Click on "Console"
  3. Clear the console image
  4. Now you can use the js snippets below by simply pasting them and pressing ENTER or editing some of the variables first depends on the snippet

If CTRL + SHIFT + I don't work:

Discord now disables the developer console by default :(
To fix this, go to %appdata%/discord/settings.json and set this variable to true:

@XYZenix
XYZenix / experiments.csv
Last active May 10, 2024 14:14
discord experiments
id name hash type
channel_categories 2070146447
recommend_mobile_notice RECOMMEND_MOBILE_NOTICE 1486371970
report-experiment Report Experiment 2207596622 user
survey_video_chat SURVEY_VIDEO_CHAT 3678716185
search_experiment_dm 1770646087
search_experiment_dm_canary 612745901
search_experiment_guild 2512661867
search_experiment_guild_2 2937879064
search_experiment_guild_canary 3007049259
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*
@neox5
neox5 / HOWTOTSLIB.md
Last active November 5, 2023 05:01
How to create a npm Typescript library with tests

How to create a TypeScript library (Setup, Prettier, ESLint, Jest, Publish)

TLDR;

Follow steps below. For more information checkout the references.

If something is missing or you find any mistakes, please let me know in the comments below.

@brainfucksec
brainfucksec / bash.bashrc
Last active May 1, 2024 09:24
Termux bash.bashrc
######################################
#
# Termux bash.bashrc
# by brainf+ck
#
# Last modified: 2022/06/30
#
######################################
#### Global ##########################
@jcreedcmu
jcreedcmu / escape.js
Created February 19, 2018 18:09
Escaping nodejs vm
////////
// The vm module lets you run a string containing javascript code 'in
// a sandbox', where you specify a context of global variables that
// exist for the duration of its execution. This works more or less
// well, and if you're in control of the code that's running, and you
// have a reasonable protocol in mind// for how it expects a certain
// context to exist and interacts with it --- like, maybe a plug-in
// API for a program, with some endpoints defined for it that do
// useful domain-specific things --- your life can go smoothly.