Skip to content

Instantly share code, notes, and snippets.

View boomboompower's full-sized avatar
🐧
LGTM

boomboompower boomboompower

🐧
LGTM
View GitHub Profile
@OrionReed
OrionReed / dom3d.js
Last active February 23, 2026 17:13
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@UkoeHB
UkoeHB / gamedev_assets.md
Created January 25, 2024 23:18 — forked from benfrankel/gamedev_assets.md
Gamedev free assets
@0xdevalias
0xdevalias / _deobfuscating-unminifying-obfuscated-web-app-code.md
Last active March 17, 2026 13:22
Some notes and tools for reverse engineering / deobfuscating / unminifying obfuscated web app code
@XYZenix
XYZenix / experiments.csv
Last active March 13, 2026 12:05
discord experiments
id name hash type
recommend_mobile_notice RECOMMEND_MOBILE_NOTICE 1486371970 user
friend_suggestions_new_user FRIEND_SUGGESTIONS_NEW_USER 363329543 user
friend_suggestions_old_user FRIEND_SUGGESTIONS_OLD_USER 2977431864 user
download_mobile_apps_notice_early DOWNLOAD_MOBILE_APPS_NOTICE_EARLY 4114369261 user
download_mobile_apps_notice_medium DOWNLOAD_MOBILE_APPS_NOTICE_MEDIUM 856100386 user
download_mobile_apps_notice_late DOWNLOAD_MOBILE_APPS_NOTICE_LATE 943913767 user
invite_new_invite INVITE_NEW_INVITE 2363164837 user
survey_video_chat SURVEY_VIDEO_CHAT 3678716185 user
search_experiment_dm DM 1770646087 user
@NovaFox161
NovaFox161 / december-summary.md
Created December 17, 2021 21:00
DDevs Q&A Summary 17/12/2021

DDevs Q&A December 2021 Summary - Happy Holidays!

Forward

This is a nonexhaustive summary of the DDevs Q&A stage. Most of the points below are paraphrased for brevity. Ephasis is my own unless explicitly stated, and my opinions on certain things may shine through. Please refer to a VOD of the stage for the exact wording from the Discord Developers.

Upcoming Features (and demos if available)

  • Application Commands Permissions V2
    • "Super super super close"
    • Will not release before the holidays because fixing things on christmas is just not cool
  • Closed beta testing will occur after the holidays
@Stalruth
Stalruth / stage_2021-12-18.md
Last active May 10, 2022 10:00
December 2021 Discord Developer stage
@ssshake
ssshake / isWrit
Last active June 21, 2024 10:28
Photon PUN Cheat Sheet
## Photon Methods
**public class Blank : Photon.PunBehaviour**
instead of mono behavior, use this to receive photon callbacks in your script.
**public override void OnLeftRoom()**
An example of overriding a punbehavior callback
/**
Simple(ish) example of discord gateway
This code will get to ready, and then remain connected with heartbeats
see https://discordapi.com/topics/gateway for more info
zlib compression is implemented as it will be required in gateway v7 (so get used to it now)
*/
const WebSocket = require('ws'); // npmjs.org/ws
const zlib = require('zlib-sync'); // npmjs.org/zlib-sync
const erlpack = require('erlpack'); // github.com/discordapp/erlpack
@nicolamalizia
nicolamalizia / Brainfuck.java
Last active September 7, 2022 00:20
Tiny Brainfuck Interpreter Written in Java
import java.util.*;
public class Brainfuck {
private Scanner sc = new Scanner(System.in);
private final int LENGTH = 65535;
private byte[] mem = new byte[LENGTH];
private int dataPointer;
public void interpret(String code) {
int l = 0;
for(int i = 0; i < code.length(); i++) {