Skip to content

Instantly share code, notes, and snippets.

@Pythonation
Pythonation / prompt.md
Last active June 12, 2026 16:58
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@maxwellmlin
maxwellmlin / LPX-Trial-Reset.sh
Created April 14, 2021 03:46
Logic Pro X Trial Reset
mv -v ~/Library/Application\ Support/.lpxuserdata ~/.Trash
@centau
centau / vide-component-wrapper.luau
Last active June 12, 2026 16:55
vide utility that wraps the creation of components
local vide = require(PATH_TO_VIDE)
local source = vide.source
local effect = vide.effect
local apply = vide.apply
local action = vide.action
type source<T> = vide.source<T>
type maybe<T> = T|source<T>
--* sizing *--------------------------------------------------------------------
@arbaes
arbaes / atomic-arch-check.sh
Last active June 12, 2026 16:54
Atomic Arch vulnerability scan (atomic-lockfile injection checker)
#!/usr/bin/env bash
# Atomic Arch / atomic-lockfile AUR campaign check
# Sources:
# - https://lists.archlinux.org/archives/list/aur-general@lists.archlinux.org/thread/FGXPCB3ZVCJIV7FX323SBAX2JHYB7ZS4/
# - https://www.sonatype.com/blog/atomic-arch-npm-campaign-adds-malicious-dependency
# - https://ioctl.fail/preliminary-analysis-of-aur-malware/
set -uo pipefail
# Known IOC strings: the malicious npm dep names this campaign rotates through,
# plus the payload's path inside the npm package ("preinstall": "./src/hooks/deps").
@Erudition
Erudition / zen-sidebery.js
Created April 16, 2025 05:33
Sidebery replacement for Zen Browser Tabs
// Fetch first extension matching the name if any
let sidebery_policy = WebExtensionPolicy.getActiveExtensions().filter((ext) => ext.name == "Sidebery")[0]
let sidebery_browser;
let init_sidebery_browser;
if (sidebery_policy) {
let sidebery_extension = sidebery_policy.extension;
let sidebery_uri = sidebery_extension.manifest.sidebar_action.default_panel;
@Androkai
Androkai / hip-hop-hacker.md
Last active June 12, 2026 16:51
The Hip Hop Hacker

The following is a popular story about a "hacker" also known as "I hacked 127.0.0.1" I translated for you guys from German to English. The original is from here: http://www.stophiphop.com/modules/news/article.php?storyid=184

###################

The Hip Hop Haker

The Internet is full of people pretending to be semi-professional 1337-Hax0rz. Until now, we at StopHipHop.de thought that real hackers were a myth, just like the weapons of mass destruction in Iraq. But on the evening of April 4, something extraordinary happened...

In our IRC channel #stopHipHop it went around. Not because especially attractive metal girls were pleasing us with their curves again. No. A mighty evil hip-hopper, seemingly disgusted by our objective and serious website, entered our chat channel to demonstrate devastating consequences of his cracker art. (For all you newbies, our site is directed at hip-hoppers - in an ironic way).

@artrybalko
artrybalko / ifttt_hello_world.py
Created December 23, 2021 17:18
ifttt_hello_world.py
from fastapi import FastAPI, status, Request
from fastapi.responses import JSONResponse
from pydantic import BaseModel
from typing import Optional
from datetime import datetime, timezone
import uuid
app = FastAPI()
@carefree-ladka
carefree-ladka / Google 2026 Interview Preparation - Complete Weekly Roadmap.mdx
Created December 31, 2025 15:09
Google 2026 Interview Preparation - Complete Weekly Roadmap

Google 2026 Interview Preparation - Complete Weekly Roadmap

image

Target: Crack Google L3/L4/L5 by 2026 Duration: 24 weeks (6 months intensive preparation) Daily Time Commitment: 3-4 hours minimum


LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.