Skip to content

Instantly share code, notes, and snippets.

View DoddiC's full-sized avatar
👨‍🎓
Hi!

Chidvi Doddi DoddiC

👨‍🎓
Hi!
View GitHub Profile
@danthegoodman1
danthegoodman1 / npm-vendor.sh
Last active December 27, 2025 05:32
NPM Vendor in a package to a `vendor/` subdir. Helps against supply chain attacks, and makes it easier for LLMs to learn how packages work. Opus 4.5 did most of the work.
#!/bin/bash
# Downloads an npm package and extracts it to the vendor directory
# Does NOT install to node_modules - this is an alternative to npm install
#
# Usage: ./scripts/vendor-package.sh <package-name>[@version]
#
# Examples:
# ./scripts/vendor-package.sh lodash
# ./scripts/vendor-package.sh lodash@4.17.20
@ulrischa
ulrischa / showstorage.js
Created December 25, 2025 16:27
Bookmarklet to show localStorage and sessionStorage
javascript:(()=>{try{const dump_storage=(name)=>{const result={name,ok:false,error:null,items:{}};let s=null;try{s=window[name];}catch(e){result.error=`Accessing window.${name} threw: ${String(e)}`;return result;}if(!s){result.error=`window.${name} is not available`;return result;}let len=0;try{len=s.length;}catch(e){result.error=`${name}.length threw: ${String(e)}`;return result;}const keys=[];for(let i=0;i<len;i++){try{keys.push(s.key(i));}catch(e){keys.push(null);result.error=(result.error?result.error+"\n":"")+`${name}.key(${i}) threw: ${String(e)}`;}}for(const k of keys){if(k===null)continue;try{result.items[k]=s.getItem(k);}catch(e){result.items[k]=null;result.error=(result.error?result.error+"\n":"")+`${name}.getItem(${JSON.stringify(k)}) threw: ${String(e)}`;}}result.ok=result.error===null;return result;};const payload={origin:location.origin,href:location.href,timestamp:new Date().toISOString(),localStorage:dump_storage("localStorage"),sessionStorage:dump_storage("sessionStorage")};const text=JSON.st
@alganet
alganet / um.sh
Last active December 25, 2025 23:22
um.sh - A simple, extensible, literate auto-documenting standard for automation
#!/bin/sh
# ISC License
# Copyright (c) 2025, Alexandre Gomes Gaigalas <alganet@gmail.com>
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
@yrashk
yrashk / inferal-workspace-architecture.md
Last active December 27, 2025 16:23
Inferal Workspace Architecture

Inferal Workspace Architecture: How We Work at Inferal

Your org's brain that AI can use

This is not our product. This document describes our internal operating environment - how we run the company. We share it to show the environment you'd join and demonstrate our philosophy in action. For what we're building, see What We're Building below.

This document describes the conceptual architecture of our company workspace - a text-based, version-controlled knowledge and operations hub designed to replace tools like Notion and Webflow while being natively accessible to AI assistants.

Why We Built This

@Krishna9758
Krishna9758 / gist:8f6e0990bd8bdaedcb7c36d203c5c61c
Created December 23, 2025 04:38
Project R-1: Arch Linux on Spreadtrum Watch
# Project R-1: The $50 Wrist Cyberdeck
I couldn't afford a Rabbit R1, so I decided to build a Linux wrist-computer using generic "e-waste" hardware.
### The Hardware
* **Base:** S10 Ultra Clone (Generic Android Watch)
* **Chipset:** Spreadtrum SC9832E (Quad Core Cortex A53)
* **RAM/Storage:** 4GB / 64GB
* **Price:** ~$50 USD (₹4,000 INR)
@olekenneth
olekenneth / README.md
Last active December 27, 2025 19:01
How to export your org-mode and org-agenda to Apple Reminders
@2dogsandanerd
2dogsandanerd / gist:2a3d54085b2daaccbb1125601945ceeb
Last active December 25, 2025 20:11
Enterprise RAG Core – Feature Manifest V2.55
Note: This manifest describes a system designed for "Zero Data Loss" ingestion. It prioritizes accuracy and auditability over speed.
# Enterprise RAG Core – Feature Manifest V2.55
**Version:** V2.55 (Public Release Candidate)
**Status:** Production Ready / Code Verified
**Summary:** A high-precision, hybrid Graph-Vector RAG platform featuring a multi-lane ingestion engine with consensus reconciliation.
---
@hackermondev
hackermondev / writeup.md
Last active December 29, 2025 10:29
How we pwned X (Twitter), Vercel, Cursor, Discord, and hundreds of companies through a supply-chain attack

hi, i'm daniel. i'm a 16-year-old high school senior. in my free time, i hack billion dollar companies and build cool stuff.

about a month ago, a couple of friends and I found serious critical vulnerabilities on Mintlify, an AI documentation platform used by some of the top companies in the world.

i found a critical cross-site scripting vulnerability that, if abused, would let an attacker to inject malicious scripts into the documentation of numerous companies and steal credentials from users with a single link open.

(go read my friends' writeups (after this one))
how to hack discord, vercel, and more with one easy trick (eva)
Redacted by Counsel: A supply chain postmortem (MDL)

@dhinakg
dhinakg / serial.md
Created December 15, 2025 18:27
Getting serial on modern Macs

Getting serial on modern Macs

Modern devices default to serial output over DockChannel by default, which is why macvdmtool serial doesn't work. In order to use legacy UART:

On the target device:

  1. Disable SIP
  2. Disable boot-arg filtering
  3. Set the following boot args:
  • serial=3 (or serial=7 or whatever)
@ecast162
ecast162 / ANTIGRAVITY_BUG_REPORT.md
Created December 11, 2025 21:23
Antigravity Virtual Memory (VSZ) Bloat - 1.4TB per Process

Antigravity Virtual Memory Bloat Bug Report

Report Date: December 11, 2025
Reporter: System Administrator
Severity: Medium (Performance Impact)
Category: Memory Management / Resource Usage


🐛 Bug Summary