Skip to content

Instantly share code, notes, and snippets.

View plskz's full-sized avatar
🦝
Learning

Zai Santillan plskz

🦝
Learning
View GitHub Profile
@plskz
plskz / alias.txt
Created March 19, 2024 00:13
aliases
-='cd -'
...=../..
....=../../..
.....=../../../..
......=../../../../..
1='cd -1'
2='cd -2'
3='cd -3'
4='cd -4'
5='cd -5'
@plskz
plskz / DOM3D.js
Created March 27, 2024 14:42 — forked from OrionReed/dom3d.js
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; // ¯\\_(ツ)_/¯
@plskz
plskz / r3f.code-snippets
Created February 18, 2025 01:02
r3f code snippets
{
"R3F - Mesh Component": {
"prefix": "r3fc",
"body": [
"const ${1:BoxMesh} = ({ ...props }) => {",
" return (",
" <mesh {...props}>",
" <boxBufferGeometry args={[1, 1, 1]} />",
" <meshPhysicalMaterial color={'blue'} />",
" </mesh>",
@plskz
plskz / rbx-gag-sprinklers-2acc.bash
Last active July 6, 2025 08:51
Automator for Roblox grow a garden (2 accounts - sprinklers)
#!/bin/bash
CLICLICK="/opt/homebrew/bin/cliclick"
buy_sprinklers_left() {
$CLICLICK w:1500 c:412,80 # left ready
$CLICLICK w:800 tc:330,448 # buy basic sprinklers
$CLICLICK w:800 c:423,562 # down (advance)
$CLICLICK w:800 tc:347,452 # buy advance sprinklers