A complete reference for the ~/.claude/themes/*.json schema, including all 69 reachable tokens. Pairs with theme.schema.json for editor validation and autocomplete.
Custom themes require Claude Code v2.1.118 or later.
A complete reference for the ~/.claude/themes/*.json schema, including all 69 reachable tokens. Pairs with theme.schema.json for editor validation and autocomplete.
Custom themes require Claude Code v2.1.118 or later.
| // ==UserScript== | |
| // @name OSRS Wiki - Leagues Task Filters | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2024-11-27.3 | |
| // @description Additional filtering for leagues tasks on the osrs wiki | |
| // @author https://oldschool.runescape.wiki/w/User:Loaf | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=runescape.wiki | |
| // @require https://code.jquery.com/jquery-3.6.0.min.js | |
| // @grant none | |
| // @license MIT |
| #!/bin/bash | |
| # Install and sync Claude Code plugins from public marketplaces | |
| # | |
| # Registers marketplaces, updates them, installs plugins, and enables them. | |
| # Idempotent — safe to re-run anytime. | |
| # | |
| # Usage: | |
| # curl -fsSL <gist-raw-url>/sync-claude.sh | bash | |
| # | |
| # Prerequisites: |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Corgi Error Pages</title> | |
| <link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&family=Outfit:wght@300;500;700&display=swap" rel="stylesheet"> | |
| <style> | |
| * { margin: 0; padding: 0; box-sizing: border-box; } | |
| body { background: #0a0a0f; font-family: Outfit, sans-serif; color: #e8eaed; } |
| using Org.BouncyCastle.Crypto; | |
| using Org.BouncyCastle.Crypto.Parameters; | |
| using Org.BouncyCastle.OpenSsl; | |
| using Org.BouncyCastle.Security; | |
| using System; | |
| using System.IO; | |
| using System.Security.Cryptography; | |
| namespace MyProject.Data.Encryption | |
| { |
| #add 'node_modules' to .gitignore file | |
| git rm -r --cached node_modules | |
| git commit -m 'Remove the now ignored directory node_modules' | |
| git push origin master |
| var weights = new [] { | |
| new {Desc = "A", Weight = 40}, | |
| new {Desc = "B", Weight = 25}, | |
| new {Desc = "B1", Weight = 20}, | |
| new {Desc = "C", Weight = 3}, | |
| new {Desc = "D", Weight = 1}, | |
| new {Desc = "E", Weight = 1}, | |
| new {Desc = "F", Weight = 10} | |
| }; |
| using Newtonsoft.Json; | |
| /// <summary> | |
| /// This is a slightly modified C# implementation of the JSON API format. | |
| /// Documentation is available here: http://jsonapi.org/format/ | |
| /// </summary> | |
| public class JsonResult | |
| { | |
| /// <summary> |
| public static class Base32 | |
| { | |
| public static byte[] ToBytes(string input) | |
| { | |
| if (string.IsNullOrEmpty(input)) | |
| { | |
| throw new ArgumentNullException("input"); | |
| } | |
| input = input.TrimEnd('='); //remove padding characters |
| # http://stackoverflow.com/a/10472358/2607840 | |
| Function Get-ProjectReferences ($rootFolder) | |
| { | |
| $projectFiles = Get-ChildItem $rootFolder -Filter *.csproj -Recurse | |
| $ns = @{ defaultNamespace = "http://schemas.microsoft.com/developer/msbuild/2003" } | |
| $projectFiles | ForEach-Object { | |
| $projectFile = $_ | Select-Object -ExpandProperty FullName | |
| $projectName = $_ | Select-Object -ExpandProperty BaseName | |
| $projectXml = [xml](Get-Content $projectFile) |
// ~/.claude/themes/my-theme.json