Skip to content

Instantly share code, notes, and snippets.

@ninjaPixel
ninjaPixel / darkNotions.css
Created July 13, 2025 09:48
Obsidian Theme: Dark Notions
/*@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,700;1,600;1,700&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:ital,wght@0,100..900;1,100..900&display=swap');*/
.theme-light,
.theme-dark {
/*start My own vars*/
--warm-grey-000: #282A2C;
--warm-grey-100: #2C2E31;
--warm-grey-200: #323437;
@Crocoblock
Crocoblock / query.sql
Last active June 13, 2026 17:40
JetEngine. Query builder. SQL query to get related items with related metadata
-- Please note! in m1.rel_id = 16 row, you need to replace 16 with your actual relation ID
-- and instead of 'walk_time', 'drive_time' and 'public_transport' use your actual meta keys
SELECT
m1._ID,
m1.parent_object_id,
m1.child_object_id,
m1.meta_value AS walk_time,
m2.meta_value AS drive_time,
m3.meta_value AS public_time

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.

@bradtraversy
bradtraversy / sample.md
Created March 23, 2018 18:17
Markdown Cheat Sheet

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

This text is italic

<#
.SYNOPSIS
Fixes Electron/Chromium apps (Discord, GitHub Desktop, etc.) silently crashing (not starting).
.DESCRIPTION
This script resolves an issue caused by the Antigravity 2.0 IDE update, which injects rogue
AppContainer SIDs into the %LOCALAPPDATA% folder permissions. These SIDs break the Chromium
sandbox, causing apps installed in this directory to crash immediately upon launch.
How it works:
@ehsan18t
ehsan18t / processor-boost-mode.md
Last active June 13, 2026 17:23
Enable Processor Boost Mode Control in Advanced Power Settings

Enable Processor Boost Mode Control in Windows

Disable Turbo Boost to Reduce Power Consumption and Heat

Why Do We Need It?

If your laptop’s CPU is running very hot and you’ve tried to undervolt it, you’ve probably discovered there’s no easy way to do so—especially on laptops whose BIOS doesn’t expose those controls. I ran into the same issue with my Ryzen 7 5800H, despite numerous attempts, I couldn’t undervolt because the firmware simply wouldn’t allow it. While it may seem drastic, disabling Turbo Boost is one workaround—and you might be surprised how little real-world performance you lose by turning it off.

@amirmushichge
amirmushichge / fable-economy_SKILL
Created June 12, 2026 06:37
Token optimization protocol for Claude Fable and other high-capability / high-cost models. Apply this skill at the START of any session involving iterative code builds, multi-file projects, design systems, game development, document generation, or any task likely to span more than 3 exchanges. Trigger phrases: “let’s build”, “add these features”…
-----
## name: fable-economy
description: >
Token optimization protocol for Claude Fable and other high-capability / high-cost models.
Apply this skill at the START of any session involving iterative code builds, multi-file
projects, design systems, game development, document generation, or any task likely to
span more than 3 exchanges. Trigger phrases: “let’s build”, “add these features”,
“improve this”, “refactor”, “implement all of”, “make it look better”, or any request
that implies multiple changes to an existing artifact. Also trigger when the user asks