Skip to content

Instantly share code, notes, and snippets.

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

Kira KiraStack

🏠
Working from home
  • 03:43 (UTC)
View GitHub Profile
@KiraStack
KiraStack / TerrainCollision.lua
Created February 1, 2026 19:14
Shared module for generating and caching chunks for collision.
--[=[
@class TerrainCollision
@deprecated
Shared module for generating and caching chunks for collision.
]=]
-- Could use convex hulls (bloat)
-- but it is more complex and memory intensive
-- Constants
@KiraStack
KiraStack / extract.js
Created January 30, 2026 17:55
The snippet temporarily injects an iframe to access Discord’s same-origin localStorage, reads a stored token, parses it, then logs it.
// inject
const iframe = document.createElement('iframe');
// stdout
console.log(
'Token: %c%s',
'font-size:16px;',
JSON.parse(
document.body.appendChild(iframe)
.contentWindow
/* Vibrant Folder Colors for Obsidian
* Updated 2025-12-20 (YYYY-MM-DD): Reflects current Obsidian structure
* Colors top-level folders based on pattern
*/
:root {
/* Primary folder colors */
--color-red: #e22c3c; /* deep red */
--color-red-orange: #e9404b; /* warm red-orange */
--color-hot-red: #e3365e; /* hot red */