A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
| # claude teammate mode via tmux | |
| # Uses standard tmux on all platforms (iTerm2 -CC control mode is fragile across updates) | |
| function claude-team() { | |
| local cmd="${1:-}" | |
| # sanitize a string into a valid tmux session name | |
| _ct_sanitize() { | |
| echo "$1" | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9_-]/-/g' | sed 's/^-//;s/-$//' | cut -c1-50 | |
| } |
This gist contains a proof of concept project (hacked together during one evening) aimed at connecting an AI chat assistant to the Meshtastic network, enhancing its capabilities. The assistant is designed to provide concise and helpful responses within the constraints of the Meshtastic environment.
This project brings together two favorite elements: the Meshtastic network and an AI chat assistant. The assistant is based on the "FuseChat-7B-VaRM-Q5_K_M" model, and the code is written in Python.
| marp | theme | _class | paginate | backgroundColor | backgroundImage |
|---|---|---|---|---|---|
true |
gaia |
lead |
true |
| Host * | |
| AddKeysToAgent yes | |
| UseKeychain yes | |
| IdentityFile ~/.ssh/id_rsa | |
| #WORK | |
| # work-github-id | |
| Host work-github-id.github.com | |
| HostName github.com | |
| User git |
| #!/bin/bash | |
| if [ -z "$VERSION" ]; then | |
| echo 'Please specify a version. e.g, "VERSION=1.11.2 sh install-go.sh"' | |
| exit | |
| fi | |
| export GO_DOWNLOAD_URL=https://storage.googleapis.com/golang/go$VERSION.linux-amd64.tar.gz | |
| export GOPATH=/workspace |
Three functions from the OpenFaaS store have been packaged as "knative serving" definitions. No change to the container or code is needed.