first create the settings file:
mkdir -p ~/.claude
cat > ~/.claude/jarred-settings.json <<'EOF'
{
"hooks": {| { | |
| "version": 8, | |
| "metadata": {"maputnik:renderer": "mbgljs"}, | |
| "sources": { | |
| "ne2_shaded": { | |
| "maxzoom": 6, | |
| "tileSize": 256, | |
| "tiles": [ | |
| "https://tiles.openfreemap.org/natural_earth/ne2sr/{z}/{x}/{y}.png" | |
| ], |
| { | |
| "version": 8, | |
| "name": "OSM Liberty", | |
| "metadata": { | |
| "maputnik:license": "https://github.com/maputnik/osm-liberty/blob/gh-pages/LICENSE.md", | |
| "maputnik:renderer": "mbgljs", | |
| "openmaptiles:version": "3.x" | |
| }, | |
| "sources": { | |
| "openmaptiles": { |
| // Orchid by uxieq. | |
| // Requires https://github.com/sicista33/waybar-scrolling-mpris. | |
| // Intended to be used in https://github.com/JaKooLit/Hyprland-Dots. | |
| { | |
| "include": [ | |
| "$HOME/.config/waybar/Modules", | |
| "$HOME/.config/waybar/ModulesWorkspaces", | |
| "$HOME/.config/waybar/ModulesCustom", |
| interface CharacterMessage { | |
| message: string; | |
| user: string; | |
| } | |
| export default [ | |
| { message: "Pikachu, use Thunderbolt!", user: "ash_k" }, | |
| { message: "I need more potions before the next battle.", user: "brock_b" }, | |
| { message: "Look at all the Magikarp flopping around!", user: "misty_w" }, | |
| { message: "I just caught a rare Gyarados!", user: "ash_k" }, |
| #!/bin/bash | |
| # Generate a CMAF streamable HLS/DASH manifest from any audio file. | |
| # You will need FFmpeg and Bento4 in your PATH. | |
| # Get binaries here: https://ffmpeg.org https://www.bento4.com/ | |
| # array of kbps to transcode to opus to mp4 | |
| # use below as a 'magic number' to use FLAC instead of Opus | |
| magic_number=1000 |
| import React, { | |
| memo, | |
| useEffect, | |
| useCallback, | |
| useRef, | |
| useState, | |
| CSSProperties, | |
| } from "react"; | |
| export interface AnimatedCounterProps { |
| import clsx from "clsx"; | |
| import React, { CSSProperties, useEffect, useRef, useState } from "react"; | |
| interface ScrollingTextProps { | |
| /// Any other class names you need to put inside this component | |
| className?: string; | |
| /// The text (or component) to put inside. It should be inline. | |
| text?: React.ReactNode; | |
| /// Width on either side to fade in px, if the text wraps around | |
| fadeWidth?: number; |
| #!/bin/bash | |
| # Variables | |
| BASE_URL="https://johnvansickle.com/ffmpeg/builds" | |
| # 'git' or 'release' | |
| FF_VERSION="git" | |
| # See John's website for supported arches: https://johnvansickle.com/ffmpeg/ | |
| FF_ARCH='amd64' | |
| DOWNLOAD_DIR="$HOME/ffmpeg" | |
| FFMPEG_ARCHIVE="ffmpeg-$FF_VERSION-$FF_ARCH-static.tar.xz" |
| $content = Get-Content -Path "$env:APPDATA\sunshineres-resolution.txt"; | |
| $height = ($content | Select-String 'h:').ToString() -replace '\D+', ''; | |
| $width = ($content | Select-String 'w:').ToString() -replace '\D+', ''; | |
| $fps = ($content | Select-String 'f:').ToString() -replace '\D+', ''; | |
| # for debug | |
| echo "qres /x:$width /y:$height /r:$fps" | Out-File -FilePath "$env:APPDATA\sunshineres-latest-rev-dbg.txt"; | |
| qres /x:$width /y:$height /r:$fps |