Skip to content

Instantly share code, notes, and snippets.

View momolly1024's full-sized avatar
๐ŸŒ
helloooo

Molly momolly1024

๐ŸŒ
helloooo
View GitHub Profile
@OrionReed
OrionReed / dom3d.js
Last active May 4, 2026 11:01
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; // ยฏ\\_(ใƒ„)_/ยฏ
@wojteklu
wojteklu / clean_code.md
Last active May 17, 2026 14:56
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily โ€“ by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@fokayx
fokayx / git_remote_set-url.md
Last active March 31, 2026 06:07
Git switch remote URLs. Git ๆ›ดๆ›้ ็ซฏไผบๆœๅ™จๅ€‰ๅบซ็ถฒๅ€

Git ๆ›ดๆ›้ ็ซฏไผบๆœๅ™จๅ€‰ๅบซ็ถฒๅ€URL

1.็ขบ่ช็›ฎๅ‰Git้ ็ซฏไผบๆœๅ™จ็ถฒๅ€๏ผš git remote -v

git remote -v
origin  https://github.com/USERNAME/REPOSITORY.git (fetch)
origin  https://github.com/USERNAME/REPOSITORY.git (push)

2.ๆ›ดๆ›Git้ ็ซฏไผบๆœๅ™จไฝ็ถฒๅ€๏ผŒไฝฟ็”จ๏ผšgit remote set-url

@rxaviers
rxaviers / gist:7360908
Last active May 16, 2026 18:51
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue: