To install the needed components you can use Homebrew
Scan any codebase and generate a complete, executable Bruno API collection using AI. Works with ChatGPT, Claude, Gemini, or any local model. Copy the full prompt below, paste it into any AI model along with your source files, and get organized .bru files back.
What it does: Finds every HTTP call in your project (fetch, axios, GraphQL), extracts methods, URLs, headers, bodies, and generates a fully organized Bruno collection with environments, authentication, and documentation. Ready to drop into your repo and start testing.
How to use: Scroll down, copy everything inside the code block, paste it into the AI along with your source code.
You will need ssh access to your USG.
I suggest running sudo su so you're the root user throughout
- Download tailscale and put the files in /config/. Find the latest stable or unstable version for your USG's processor.
curl https://pkgs.tailscale.com/stable/tailscale_1.36.1_mips64.tgz | tar xvz -C /tmp
mv /tmp/tailscale_1.36.1_mips64 /config/tailscale
| alias: Add unique to-do | |
| mode: single | |
| icon: mdi:clipboard-list | |
| sequence: | |
| - service: todo.get_items | |
| target: | |
| entity_id: "{{ list }}" | |
| data: | |
| status: needs_action | |
| response_variable: mylist |
This gist describes the process we've used to migrate our Maven package repository from Sonatype Nexus to GitHub Packages. The same process could be used for migrating any Maven package repo that is in the standard layout.
We created a special repository on GitHub to hold all of our Maven packages. You might decide to migrate packages to different repositories, in which case invoke the script multiple times.
The script uses find to look for all of the folders containing poms and upload them. You specify the folder
| #cloud-config | |
| package_upgrade: true | |
| ssh_authorized_keys: | |
| - <your key> | |
| packages: | |
| - apt-transport-https | |
| - ca-certificates | |
| - curl |
| kubectl get pods --all-namespaces -o json | jq '.items[] | select(.status.reason!=null) | select(.status.reason | contains("Evicted")) | "kubectl delete pods \(.metadata.name) -n \(.metadata.namespace)"' | xargs -n 1 bash -c |
| az aks get-credentials --resource-group k8s-demo-ss --name k8s-demo-cluster-ss --file kubeconfig-ss |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| #!/usr/bin/env bash | |
| set -e | |
| url="https://web.getbring.com/locale/articles.de-DE.json" | |
| echo "GET ${url}" >&2 | |
| curl -X GET \ | |
| -H 'Content-Type: application/json' \ | |
| "${url}" | \ | |
| jq --raw-output 'to_entries[] as $e | "\($e.value)"' | \ |