Skip to content

Instantly share code, notes, and snippets.

View lucaoskaique's full-sized avatar
🏠
Working from home

Lucas Kaíque lucaoskaique

🏠
Working from home
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; // ¯\\_(ツ)_/¯
@mathix420
mathix420 / medium.user.js
Last active March 12, 2026 11:01
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 3.0
// @inject-into content
@ra-kesh
ra-kesh / react-performance.md
Created September 4, 2023 04:58 — forked from mathesond2/react-performance.md
Notes From Steve Kinney's "React Performance" Frontend Masters Course

React Performance

Notes From Steve Kinney's "React Performance" Frontend Masters Course

General

re: optimizations: "Start with a problem first, then solve it. dont go looking for problems."

"measure first before you optimize for performance. And then measure again."

@b0c0de
b0c0de / css-3d-disco-ball.markdown
Created November 20, 2019 03:36
CSS 3D Disco Ball