This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/bash | |
| TOKEN=$(jq -r '.claudeAiOauth.accessToken' ~/.claude/.credentials.json) | |
| curl -s https://api.anthropic.com/api/oauth/usage \ | |
| -H "Authorization: Bearer $TOKEN" -H "anthropic-beta: oauth-2025-04-20" \ | |
| | jq -rc '.limits[] | select(.kind != "session") | {model: .scope.model.display_name // "all", percent: .percent, resets_at: .resets_at}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # ============================================================================= | |
| # mkbase.sh — FreeBSD base (pkgbase) build/publish/sign pipeline | |
| # ============================================================================= | |
| # Copyright (c) [year], [fullname] | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S uv run --script | |
| # /// script | |
| # requires-python = ">=3.8" | |
| # dependencies = [] | |
| # /// | |
| """ | |
| Scan a directory (non-recursively) for text files. For each text file, print | |
| its full path followed by either all of its lines (when the file has <= MAX | |
| lines) or a random, in-order sample of MAX lines (when it has more). | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; .emacs --- init -*- lexical-binding: t; -*- | |
| ;; --------------------------------------------------------------------------- | |
| ;; UI | |
| ;; --------------------------------------------------------------------------- | |
| (scroll-bar-mode -1) | |
| (tool-bar-mode -1) | |
| (tooltip-mode -1) | |
| (menu-bar-mode -1) | |
| (set-fringe-mode 10) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Emacs ### | |
| # -*- mode: gitignore; -*- | |
| *~ | |
| \#*\# | |
| /.emacs.desktop | |
| /.emacs.desktop.lock | |
| *.elc | |
| auto-save-list | |
| tramp | |
| .\#* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/local/bin/bash | |
| # Ports needed: | |
| # - ftp/curl | |
| # - shells/bash | |
| # - textproc/htmlq | |
| # - textproc/jq | |
| SUP_HTML=https://www.freebsd.org/security/#sup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Overview | |
| # ======== | |
| # | |
| # This is a hack-and-slash script to re-peer the validator without rebooting it | |
| # once sentries come back online. The following assumptions are made: | |
| # | |
| # - This script is used in conjunction with the validator. | |
| # - The validator has PEX disabled and is peering only with sentries. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am calebpower on github. | |
| * I am calebpower (https://keybase.io/calebpower) on keybase. | |
| * I have a public key ASCBywwyf9HB6pW-YG6ZDgClghb4fBrVp3jBWBPk7pgluQo | |
| To claim this, I am signing this object: |
NewerOlder