travisshears / factor_raylib_apple_silicon.md
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность
Factor + Raylib on Apple Silicon
Running
/Applications/factor/factor ./game.factor
macOS Setup
travisshears / pass_backup
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность
How to backup a pass repo and share it in a way that you need three of five friends to decrypt it.
Pass Password Store — Backup Recovery Guide
How to Restore
Prerequisites
brew install age ssss pass
travisshears / Claude Cooking Notes helper script
0 лайк(-ов)
0 форк(-ов)
2 файл(-ов)
Последняя активность
| 1 | /** |
| 2 | * Cooking Notes Helper Script |
| 3 | * Allows Claude to create, edit, and view cooking notes from PocketBase |
| 4 | * |
| 5 | * Usage: |
| 6 | * npx ts-node scripts/cooking-helper.ts list |
| 7 | * npx ts-node scripts/cooking-helper.ts view <slug> |
| 8 | * npx ts-node scripts/cooking-helper.ts fetch-recipe <url> |
| 9 | * npx ts-node scripts/cooking-helper.ts create <json> |
| 10 | * npx ts-node scripts/cooking-helper.ts update <id> <json> |
travisshears / ESLint config for Clean Arch
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность
| 1 | // @ts-check |
| 2 | |
| 3 | import eslint from '@eslint/js'; |
| 4 | import { defineConfig } from 'eslint/config'; |
| 5 | import tseslint from 'typescript-eslint'; |
| 6 | |
| 7 | export default defineConfig( |
| 8 | eslint.configs.recommended, |
| 9 | tseslint.configs.recommended, |
| 10 | { |
travisshears / Gemini Ink Demo Server (Javascript)
0 лайк(-ов)
0 форк(-ов)
4 файл(-ов)
Последняя активность
Code from https://mosfetarium.com/blog/gemini-ink-server/
GEMINI INK DEMO SERVER
This little node js server is a demonstration of playing text-only narrative games created with Ink (https://github.com/inkle/ink) over the gemini protocol (https://gemini.circumlunar.space/). It uses basically a bunch of standard nodejs functionality and inkjs (https://github.com/y-lohse/inkjs). The demo game is The Intercept, also made by Inkle, not me! So don't give me credit for the game (https://github.com/inkle/the-intercept).
To run this. You will need to install node and npm. You will also need a gemini server cert!
travisshears / Now / Finger personal site page
0 лайк(-ов)
0 форк(-ов)
2 файл(-ов)
Последняя активность
| 1 | --- |
| 2 | import BasePage from "../layouts/BasePage.astro"; |
| 3 | import {frontmatter, Content } from '../content/now.md'; |
| 4 | import cache from '../backends/cache'; |
| 5 | |
| 6 | const cacheKey = 'finger-content'; |
| 7 | let fingerContent = await cache.get<string>(cacheKey); |
| 8 | if(!fingerContent){ |
| 9 | const res = await fetch('https://plan.cat/~travisshears'); |
| 10 | fingerContent = await res.text(); |
travisshears / jjcommit.sh
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность
Little script to describe jj changes including the diff so it is easier to write message
| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | # Run jj diff and prefix each line with "JJ: " |
| 6 | diff_output="$(jj diff | sed 's/^/JJ: /')" |
| 7 | |
| 8 | # Add two newlines at the top (without the prefix) |
| 9 | final_output="\n\n$diff_output" |
Новее
Позже