Self-contained boot-time Spotify primer that runs directly on the speaker. No Spotify credentials on the device — it fetches a fresh token from a soundcork server at boot.
No jq, no rootfs modification — just files on persistent storage.
Self-contained boot-time Spotify primer that runs directly on the speaker. No Spotify credentials on the device — it fetches a fresh token from a soundcork server at boot.
No jq, no rootfs modification — just files on persistent storage.
| # ============================================================================= | |
| # Tmux Training Wheels Configuration | |
| # A Zellij-inspired shortcut hints bar for tmux newcomers | |
| # | |
| # Blog post: https://timvw.be/2026/02/12/tmux-training-wheels-a-zellij-inspired-shortcut-hints-bar/ | |
| # ============================================================================= | |
| # --- General settings --- | |
| set -g mouse on # Enable mouse support (scroll, select, resize) | |
| set -g history-limit 100000 # Generous scrollback buffer |
| # Authentik SAML Provider | |
| resource "authentik_provider_saml" "aws" { | |
| name = "AWS IAM Identity Center" | |
| authorization_flow = data.authentik_flow.default_authorization_flow.id | |
| invalidation_flow = data.authentik_flow.default_invalidation_flow.id | |
| acs_url = "https://eu-central-1.signin.aws.amazon.com/platform/saml/acs/XXXX" | |
| audience = "https://eu-central-1.signin.aws.amazon.com/platform/saml/d-YYYY" | |
| issuer = "https://eu-central-1.signin.aws.amazon.com/platform/saml/d-YYYY" | |
| signing_kp = data.authentik_certificate_key_pair.default.id | |
| sp_binding = "post" |
| import uvicorn | |
| if __name__ == "__main__": | |
| ''' | |
| Entrypoint to run the FastAPI application (without using the FastAPI/Uvicorn CLI). | |
| Because a python script can't import relatively, we apply a sys.path hack to import the application. | |
| Typically you do not need this and simply invoke one of the following: | |
| * rye run fastapi dev ./src/backend/app.py | |
| * fastapi run dev ./src/backend/app.py |
| import sys | |
| import os | |
| sys.path.append(os.path.join(os.path.dirname(__file__), "..")) | |
| models = importlib.import_module("api.lambda.models") |
| import httpx | |
| request = httpx.request("GET", "https://google.com") | |
| response = httpx.Response(429, request=request) | |
| err = openai.RateLimitError( | |
| "you are making too many requests...", response=response, body=None | |
| ) | |
| raise err |
| docker run \ | |
| -v $PWD:/local \ | |
| openapitools/openapi-generator-cli generate \ | |
| -i /local/myapplication/stacks/apis/my_api.yaml \ | |
| -g python \ | |
| -o /local/target/openapi/python |
| LC_ALL=C sed -i '' -e 's/\/EncryptMetadata false/\/EncryptMetadata true/g' ~/Desktop/kbvb_wedstrijdblad_tornooien___formulier_v.1.3.pdf |
| dotenv() { | |
| readonly env_file=${1:?"The env_file must be specified."} | |
| set -o allexport | |
| source ${env_file} | |
| set +o allexport | |
| } |
| We've installed your MySQL database without a root password. To secure it run: | |
| mysql_secure_installation | |
| MySQL is configured to only allow connections from localhost by default | |
| To connect run: | |
| mysql -u root | |
| To start mysql now and restart at login: | |
| brew services start mysql |