Skip to content

Instantly share code, notes, and snippets.

@TheAMM
TheAMM / twitter_media_source.user.js
Last active October 28, 2026 05:30
Twitter Media Source userscript
// ==UserScript==
// @name Twitter Media Source
// @namespace https://gist.github.com/TheAMM
// @downloadURL https://gist.github.com/TheAMM/de48c152076fec4c0ba530ad09081f40/raw/twitter_media_source.user.js
// @updateURL https://gist.github.com/TheAMM/de48c152076fec4c0ba530ad09081f40/raw/twitter_media_source.user.js
// @version 2.1.9
// @description Allows copying direct full-size image/video links on Twitter (with a #tweetid source suffix), downloading media, and navigating back to a Tweet from a media URL.
// @author AMM
// @match https://twitter.com/*
// @match https://x.com/*
@Julynx
Julynx / 15_python_tips.md
Last active March 20, 2026 02:56
15 Python Tips To Take Your Code To The Next Level!
@OmerFarukOruc
OmerFarukOruc / claude.md
Last active October 22, 2026 22:40
AI Agent Workflow Orchestration Guidelines

AI Coding Agent Guidelines

These rules define how an AI coding agent should plan, execute, verify, communicate, and recover when working in a real codebase. Optimize for correctness, minimalism, and developer experience.

Apply these guidelines within the runtime's instruction hierarchy and permissions. Use only available capabilities; follow the fallback when a feature is unavailable.

Keep one shared core in AGENTS.md. Load it through the runtime's supported instruction mechanism; where Claude Code needs a CLAUDE.md, use an @AGENTS.md import. Confirm that the shared file is loaded.


@dvdknaap
dvdknaap / ResetMacPassword.md
Created July 27, 2018 08:28
Reset Mac password

Recent admin password via Recovery mode

  • Hold during boot cmd+R
  • Click on the top left scheen on the 'Utilities' menu and then on 'Terminal'
  • When Terminal is open typ 'resetpassword' and press enter

Reset your admin password using Single-user mode

  • Hold during boot cmd+S
  • Type 'mount -uw /' and press enter
  • Type 'launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist' and hit enter
  • After this you can reset any username with 'passwd username'

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.

@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


@ergosteur
ergosteur / Public Mobile-IPv4-plus-Quad9_DNS.mobileconfig
Last active November 11, 2026 04:04
iOS mobileconfig file for forcing IPv4 on Public Mobile cellular data APN to resolve VPN connectivity issues - https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1Ki000000fxlXKAQ&lang=en_US
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadContent</key>
<array>
<!-- PAYLOAD 1: DNS SETTINGS (Quad9 ECS) -->
<dict>
@rohitg00
rohitg00 / llm-wiki.md
Last active November 11, 2026 03:44 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 20K+ Stars ⭐️, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.

@octocat
octocat / hello_world.rb
Created October 1, 2014 16:19
Hello world!
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello #{@name}!"
end
end
hello = HelloWorld.new("World")
@erikerhardt
erikerhardt / erik_qmd_template.qmd
Last active November 11, 2026 03:50
A qmd quarto template document, full
---
title: Title
subtitle: Subtitle
description: |
A qmd quarto template document.
abstract: |
Document abstract may be somewhat long.
author:
- name: Erik Erhardt
url: https://StatAcumen.com/about