Skip to content

Instantly share code, notes, and snippets.

@AhmadS7
AhmadS7 / terminal-commands.md
Created January 1, 2024 23:01 — forked from bradtraversy/terminal-commands.md
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
@mattifestation
mattifestation / NiftyETWProviders.json
Created December 21, 2018 19:27
ETW providers you never knew existed...
[
{
"ProviderGUID": "72d164bf-fd64-4b2b-87a0-62dbcec9ae2a",
"ProviderName": "AccEventTool",
"ProviderGroupGUID": "4f50731a-89cf-4782-b3e0-dce8c90476ba",
"AssociatedFilenames": [
"accevent.exe",
"inspect.exe",
"narrator.exe",
"srh.dll"

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.

@aparente
aparente / SKILL.md
Last active May 30, 2026 20:06
tufte-viz Claude Code skill — Edward Tufte data visualization principles

name: tufte-viz description: | Ideate and critique data visualizations using Edward Tufte's principles from "The Visual Display of Quantitative Information." Use this skill when: (1) Designing new data visualizations or charts (2) Critiquing or improving existing visualizations (3) Reviewing dashboards or reports for graphical integrity (4) Deciding between visualization approaches (5) Reducing chartjunk or improving data-ink ratio (6) Planning small multiples or high-density displays

"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@3kanAlpha
3kanAlpha / pixiv ID表示-2026-01-19.user.js
Last active May 30, 2026 20:02
pixivのブックマークページで非公開・削除された作品のIDを表示するuserscript
// ==UserScript==
// @name pixiv ID表示
// @namespace http://tampermonkey.net/
// @version 2026-01-19
// @description pixivのブックマークページで非公開・削除された作品のIDを表示する
// @author m4gnett
// @match https://www.pixiv.net/users/*/bookmarks/artworks*
// @icon https://www.google.com/s2/favicons?sz=64&domain=pixiv.net
// @grant none
// ==/UserScript==
@NonLogicalDev
NonLogicalDev / README.md
Last active May 30, 2026 20:00
Fix up KDE apps distributed as flatpacks being unable to open Remote files (ex: Samba shares) from Dolphin (File Explorer)

KDE Flatpak Remote File Fix

Context: Fedora/Bazzite/Kinoite/universal-blue/KDE/Flatpacks

The Problem

When using KDE applications (like Okular or Gwenview) installed as Flatpaks in Fedora KDE Bazzite or other containerized Linux distributions, they may fail to open remote files (like those on Samba shares) when launched from Dolphin File Explorer.

Example error from Okular:

Could not open smb://... Reason: Unable to create KIO worker. Unknown protocol 'smb'.
@MarlonPassos-git
MarlonPassos-git / README.md
Last active May 30, 2026 19:57
grill-me-codex

grill-me-codex

Small Codex skills for better planning with request_user_input.

This is a tiny adaptation of the grill-me workflow for Codex.

The goal is simple: make Codex ask better planning questions before writing code, without forcing you into a heavier workflow like a full spec system.

Why

local states = {}
local timer = nil
local DVD_W, DVD_H = 300, 300
-- dvd
local function bounce(s)
s.x = s.x + s.vx
s.y = s.y + s.vy
if s.x <= s.mx or s.x + s.w >= s.mx + s.mw then