Skip to content

Instantly share code, notes, and snippets.

=====================================================================
[PROJECT REGULUS] - MASTER COMPUTATION ENGINE v2.0
=====================================================================
TARGET YEAR SET TO: 2026
SCANS ACTIVE : Months [8, 9, 10, 11]
Purpose: Calculate precise moments when Regulus aligns exactly with
the Great Sphinx of Giza facing True East (azimuth 90°)
in the pre-dawn sky, evaluating naked-eye visibility and
optimizing for maximum atmospheric red-shift.
<!DOCTYPE html><html><head><meta charset="utf-8">
<style>
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');
*{margin:0;padding:0;box-sizing:border-box}
body{background:#555}
.page{position:relative;width:1080px;height:1350px;overflow:hidden;background:#f3f3eb;color:#1a1a0f;font-family:'Bai Jamjuree',sans-serif}
.glow{position:absolute;width:980px;height:980px;border-radius:50%;background:radial-gradient(circle,rgba(241,163,205,.32),rgba(241,163,205,0) 64%)}
.eb{position:absolute;font-family:'IBM Plex Mono',monospace;font-size:24px;letter-spacing:.22em;text-transform:uppercase;font-weight:500;color:#a6477d}
.q{position:absolute;font-weight:600;line-height:1.13;letter-spacing:-.01em}
.bd{position:absolute;font-weight:400;line-height:1.5}
@marcelmtz
marcelmtz / cwe502-mage-os-findings.md
Created June 30, 2026 22:57
CWE-502: Cache Object Injection in Mage-OS — Validation & Fix

CWE-502: Cache Object Injection in Mage-OS — Validation & Fix

Original finding: PHP Foundation security review by Volker Metzger (@edorian)
This document: Independent validation of attack paths in Mage-OS + implementation of a fix


Summary

SymfonyAdapterProvider in Mage-OS (and identically in magento/magento2 2.4.9) deserializes cache entries from Redis and the filesystem without any integrity check. An attacker who can write to the cache backend can inject a serialized PHP object that executes arbitrary code the next time Magento reads that cache key.

@binsooy
binsooy / privacy.html
Created June 30, 2026 22:56
Privacy Policy Badminton Match Generator
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Privacy Policy — Badminton Match Generator</title>
<style>
body { font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
max-width: 720px; margin: 40px auto; padding: 0 16px; line-height: 1.6; color: #1a1a1a; }
h1 { font-size: 1.6rem; }
@chiragtayal
chiragtayal / gist:105256b50d08afb2ef007bde1014f2d4
Created June 30, 2026 22:56
VPP based NAT Gateway config on AWS Graviton instance c6g.large
#!/usr/bin/env bash
#
# vpp-nat44-setup.sh (single-interface / classify mode)
# ------------------------------------------------------------------
# Top-to-bottom VPP + NAT44 configuration for an ARM/Graviton EC2
# NAT instance. Behaves as a NAT-gateway replacement (SNAT egress)
# using a SINGLE data interface in classify mode.
#
# This is the configuration proven to work on this host:
# - single data ENI marked BOTH inside and outside (classify feature)
@alankbeck
alankbeck / librechat.yaml
Last active June 30, 2026 22:57
more models longer responses
endpoints:
custom:
- name: "together.ai"
apiKey: "${TOGETHERAI_API_KEY}"
baseURL: "https://api.together.xyz/v1"
models:
default:
- "deepseek-ai/DeepSeek-V4-Pro"
- "moonshotai/Kimi-K2.6"
- "MiniMaxAI/MiniMax-M2.7"
@ai-apollo
ai-apollo / x-buzz-specific-2026-07-01.md
Created June 30, 2026 22:56
バズ型×Wiki 5本 2026-07-01

バズ型 × specific Wiki 5本(2026-07-01)

生成日: 2026-07-01 使用MCP: x-writing-context-specific (Wiki探索/本文取得) + lark-doc-mcp (型ライブラリ選定) 選定方式: クールダウン14日 → score = いいね数 / (使用回数+1) 降順 上位5


① 裏技Tips共有

@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created June 30, 2026 22:55
Rimworld output log published using HugsLib
Log uploaded on Tuesday, June 30, 2026, 7:55:01 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
Vanilla Backgrounds Expanded(vanillaexpanded.backgrounds): VBE(1.0.0)
@hrfhtfhruhy
hrfhtfhruhy / Flight Simulator 2026.md
Created June 30, 2026 22:54
Flight Simulator 2026 (NSP ROM) Latest Setup

Flight Simulator 2026 – Full Game Details

Flight Simulator 2026 is an arcade-style flight simulation game that lets players pilot a variety of aircraft through time-based missions and checkpoint challenges. Unlike hardcore flight simulators that focus on complete realism, this game combines accessible controls with fast-paced objectives, making it suitable for both casual players and aviation enthusiasts. Players can unlock new aircraft, upgrade their performance, and complete increasingly difficult flying missions across diverse environments.

Game Information

  • Title: Flight Simulator 2026
  • Developer: Play Lab
@allamand
allamand / kiro-cli-java-modernization-prompts.md
Created June 30, 2026 22:54
Kiro CLI prompt library — modernizing legacy Java apps (extracted from AWS Agentic Application Modernization workshop)

Kiro CLI prompt library — modernizing legacy Java apps

Extracted from the AWS Agentic Application Modernization workshop.

These 8 prompts are the real value of the workshop. They are portable to any legacy Java codebase — replace <APP>, <APP-SERVER>, <ENTITY> with your own context.

Each prompt imposes a strict output format (table, 1–10 score, top-3, arrows). Without that constraint, agent output is unusable for a go/no-go customer review.