Skip to content

Instantly share code, notes, and snippets.

@JustinLloyd
JustinLloyd / remove-adobe.bat
Created February 8, 2016 03:59
Remove Adobe Acrobat updaters from Windows machines
echo "Remove Adobe Acrobat update service"
sc stop "AdobeARMservice"
sc delete "AdobeARMservice"
echo Remove "Adobe" updaters
schtasks /query /fo csv | grep -i "adobeaamupdater" | cut -d "," -f 1 | for /f "tokens=1" %%i in ('cat') do schtasks /delete /tn %%i /f

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.

@saket1999
saket1999 / Mods of Reddit
Created April 20, 2023 13:38
Following are the mods and the number of subreddits they are moderators of
This file has been truncated, but you can view the full file.
greatyellowshark, 462
GuacamoleFanatic, 375
AlphaBravoGolfTango, 370
Flair_Helper, 359
just-a-traveler, 326
Phooey640, 303
Riverat627, 297
awkwardtheturtle, 287
Blank-Cheque, 236
@johnnytshi
johnnytshi / CLAUDE.md
Last active November 17, 2026 04:28
CUDA to ROCm porting guide for Claude Code

ROCm/CUDA Porting Guide: Complete Reference


Target Audience: CUDA developers porting to ROCm, GPU optimization engineers
Hardware Context: RDNA3/3.5/4, CDNA architectures
Use Case: General GPU compute, neural network inference, HPC workloads


@SirusDoma
SirusDoma / CXO2.md
Last active November 17, 2026 04:18
CXO2: O2Jam Remake Project

CXO2

A faithful, customizable, and cross-platform implementation of O2Jam client written in C++ on top of Genode, an in-house game engine based on SFML.

Unlike other remake or clone projects, the project is made to be a faithful, literal "clone"/"carbon copy". This includes everything we know about O2Jam, including but not limited to: interface, avatar, asset formats, network protocol and online system.

It is not aimed to be a 1:1, which means some minor design/details may deviate slightly from the original O2Jam, But the project will always remain faithful to the original O2Jam.

@renich
renich / 00-gentoo-installation-partitioning.bash
Last active November 17, 2026 04:04
Install Gentoo on BtrFS subvolumes + UEFI
#!/usr/bin/env bash
# WARNING!!
# This will obliterate all the data in your partition!! (not actually true, but act as if it was)
# Do NOT execute this script if you don't fully understand it!
# a few vars
amount_of_swap=$( free --si -g | grep Mem: | gawk '{ print $2 + 1}' )
# create directories
@bartowski1182
bartowski1182 / calibration_datav5.txt
Created January 2, 2026 01:29
Calibration data used for latest imatrix. Includes work from Dampf, Kalomaze, and extra dataset from combined_all_small from edaddario
This file has been truncated, but you can view the full file.
In addition to a significant decrease in hepatic lipid accumulation in the IOE group, which inhibited energy intake by propionate enrichment, hepatic lipids were also significantly reduced in the mice in the IOP group, which was largely enriched with butyrate. Compared with the IOE group, IOP had a stronger regulatory effect on hepatic metabolism and triglyceride metabolism and higher levels of TCA cycle in the host. In addition, butyrate has the ability to promote browning of white adipose tissue (WAT) to brown adipose tissue (BAT).^[@ref39],[@ref40]^ WAT stores energy, whereas BAT uses energy for heating and consequently host energy expenditure increases.^[@ref41],[@ref42]^ However, adipose tissue weight does not change after WAT browning.^[@ref43]^ Therefore, the weight of adipose tissue of mice in the IOP group dominated by butyrate was greater than that of the mice in the IOE group dominated by propionate.
@bradmontgomery
bradmontgomery / h5_tools_cheatsheet.md
Last active November 17, 2026 03:37
A cheat-sheet for the command-line tools for HDF5

A cheat sheet of HDF5 command-line tools.

Because I forget these exist, and then I also forget how to use them.

Installation

You may or may not get these by installing the hdf5 libraries.

  • Mac OS: brew install hdf5 or to get the 1.8 version: brew install hdf5@1.8
  • Ubuntu: apt install h5utils
@hadley
hadley / speak-paragraph.R
Last active November 17, 2026 03:37
Speak the current paragraph/selection in RStudio/Positron with Gemini TTS (streaming via ffplay)
# Speak the current paragraph of the active editor document using Gemini TTS.
# Requires: GOOGLE_API_KEY env var, httr2, jsonlite, rstudioapi, and ffplay
# (from ffmpeg) on the PATH.
# Source this file in your session (or .Rprofile), then call speak_paragraph().
# In Positron, bind it to a key via keybindings.json:
# {
# "key": "cmd+alt+s",
# "command": "workbench.action.executeCode.console",
# "when": "editorTextFocus",
# "args": { "langId": "r", "code": "speak_paragraph()", "focus": false }