Skip to content

Instantly share code, notes, and snippets.

@semanticentity
semanticentity / script.js
Last active December 25, 2025 23:26
Vector Attack
const canvas = document.getElementById('gameCanvas');
const ctx = canvas.getContext('2d');
const radarCanvas = document.getElementById('radarCanvas');
const radarCtx = radarCanvas.getContext('2d');
const speedIndicator = document.getElementById('speed-indicator');
const headingIndicator = document.getElementById('heading-indicator');
const shieldIndicator = document.getElementById('shield-indicator');
const laserStatus = document.getElementById('laser-status');
const hyperspaceStatus = document.getElementById('hyperspace-status');
@semanticentity
semanticentity / wellformed-robotstxt.js
Last active December 24, 2025 06:08
Heuristic robots.txt validator — detects malformed structure, orphaned rules, missing User-agent, sitemap issues, and unknown directives in-place. Optimized for real-world crawler behavior.
(function () {
/**
* Recognized directives (ignored if unknown)
* This is NOT a strict allowlist — unknowns are warnings only
*/
var KNOWN_DIRECTIVES = [
"user-agent",
"allow",
"disallow",
"sitemap",
@semanticentity
semanticentity / index.html
Created December 20, 2025 09:28
Regions, Not Rectangles
<div id="app">
<header class="panel">
<div class="titleRow">
<h1>Regions, Not Rectangles</h1>
<div class="badge">Based on interview with <a href="https://www.youtube.com/watch?v=kGIIwyJ7G94" target="_blank">Bill Atkinson, discussing Lisa source code</a></div>
</div>
<p class="sub">
A web window manager demo: visible regions are stored as <strong>scanline deltas</strong> and rendered as
<strong>top‑down slabs</strong>. (This is the core idea Bill Atkinson is describing.)
@semanticentity
semanticentity / index.html
Created October 15, 2025 23:42
SEQUENCER:SYSTEM
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SEQUENCER:SYSTEM</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" rel="stylesheet">
<style>
@semanticentity
semanticentity / index.html
Created October 15, 2025 02:10
SEQUENCER:SYSTEM
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SEQUENCER:SYSTEM</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" rel="stylesheet">
@semanticentity
semanticentity / index.html
Created October 10, 2025 21:34
WireframeLang Editor v0.0.2
<!-- WIZZY PANEL -->
<div id="wizzy">
<button data-sn="--- ">New section</button>
<button data-sn=" | ">Column “|”</button>
<button data-sn="--- 50/50 ">2-col 50/50</button>
<button data-sn="--- 33/34/33 ">3-col thirds</button>
<button data-sn="▣ ">CTA ▣</button>
<button data-sn="▸ ">Sub-head ▸</button>
<button data-sn="• ">Bullet •</button>
<button data-sn="[[progress 50]]">Progress</button>
@semanticentity
semanticentity / index.html
Created September 16, 2025 19:31
WHITE DWARF
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WHITE DWARF</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@semanticentity
semanticentity / index.html
Created August 30, 2025 02:27
WHITE DWARF
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WHITE DWARF</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@semanticentity
semanticentity / awesome-gtm-quick-wins.md
Created June 18, 2025 22:14
Awesome Google Tag Manager Quick Wins

Awesome GTM Quick Wins

A collection of dead-simple, high-impact Google Tag Manager recipes for marketers, analysts, and developers who want results without touching the production codebase.

This is a plug-and-play library of GTM tags, triggers, and variables that will supercharge your analytics, unlock conversion insights, and make your clients or boss wonder how they ever lived without you.


How This Works (For Beginners)