Skip to content

Instantly share code, notes, and snippets.

View easierbycode's full-sized avatar

▓▒░ ♔ Daniel ♔ ░▒▓ easierbycode

View GitHub Profile
{
"frames": [
{ "filename": "twitterBtn0.gif", "frame": { "x": 0, "y": 832, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } },
{ "filename": "twitterBtn1.gif", "frame": { "x": 0, "y": 866, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } },
{ "filename": "twitterBtn2.gif", "frame": { "x": 0, "y": 900, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } },
{ "filename": "gotoTitleBtn0.gif", "frame": { "x": 114, "y": 832, "w": 114, "h": 34 }, "rotated": false, "trimmed": true, "spriteSourceSize": { "x": 0, "y": 0, "w": 114, "h": 34 }, "sourceSize": { "w": 114, "h": 34 } },
{ "filename": "gotoTitleBtn1.gif", "frame": { "x": 114, "y": 866, "w": 114, "h": 34 }, "rotated":
function fitCanvas() {
var c = document.querySelector("#canvas canvas");
if (!c) return;
var vw = window.innerWidth;
var vh = window.innerHeight;
var scale = Math.min(vw / 256, vh / 480);
c.style.width = Math.floor(256 * scale) + "px";
c.style.height = Math.floor(480 * scale) + "px";
}
https://dlm2.download.intuit.com/akdlm/SBD/QuickBooks/2024/Latest/QuickBooksEnterprise24Trial.exe
#!/usr/bin/env bash
PORT=12201
INTF=eth0 # change if your external interface is different
SOURCE_CIDR="0.0.0.0/0" # no restriction — allows any source (for testing)
echo "1) Verify Graylog is listening on port $PORT:"
ss -tulpen | grep ":$PORT"
echo
echo "2) Check current iptables INPUT rules for port $PORT:"
@easierbycode
easierbycode / deno.jsonc
Created September 6, 2025 14:42
appify:mac - compiled deno to DMG
{
"tasks": {
"dev": "deno run -A --watch=server.ts,static/,games/ server.ts",
"start": "deno run -A server.ts",
"copy:assets:windows": "powershell -NoProfile -Command \"New-Item -ItemType Directory -Force build/windows | Out-Null; Copy-Item -Recurse -Force static build/windows/static; if (Test-Path games) { Copy-Item -Recurse -Force games build/windows/games }\"",
"build:windows": "deno compile --allow-all --target x86_64-pc-windows-msvc --output build/windows/codemonkey-games-launcher.exe server.ts && deno task copy:assets:windows",
"run:windows": "build/windows/codemonkey-games-launcher.exe",
"build-run:windows": "deno task build:windows && deno task run:windows",
"fmt": "deno fmt",
"lint": "deno lint",