Skip to content

Instantly share code, notes, and snippets.

View laGameTV's full-sized avatar
👋
Hey there

Lennox laGameTV

👋
Hey there
View GitHub Profile
@MeguminSama
MeguminSama / Discord Experiments.js
Last active March 13, 2026 05:12
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";
@karx
karx / kaaroStream-Twitch.js
Created October 11, 2019 09:09
HTML Canvas - Record and stream to Twitch.tv | Used along with a server instance with ffmpeg https://github.com/karx/kaaroStream-bridge
let kaaro_stream_bridge_url = "boomboom.store:3012";
let stream_key = '<twitch_streaming_key>';
let mediaRecorder;
let mediaStream;
let ws_url = window.location.protocol.replace('http', 'ws') + '//' + // http: => ws:, https: -> wss:
kaaro_stream_bridge_url +
'/rtmp/' +
encodeURIComponent(`rtmp://live-sin.twitch.tv/app/${stream_key}`);
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active March 14, 2026 20:01
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example