Skip to content

Instantly share code, notes, and snippets.

View 0x4a5e1e4baab's full-sized avatar
💭
Coding the next web

0x4a5e1e4baab

💭
Coding the next web
View GitHub Profile
@0x4a5e1e4baab
0x4a5e1e4baab / openclaw-guide.md
Created February 9, 2026 23:55 — forked from digitalknk/openclaw-guide.md
Running OpenClaw Without Burning Money, Quotas, or Your Sanity

Running OpenClaw Without Burning Money, Quotas, or Your Sanity

TL;DR

OpenClaw is useful, but most of the pain people run into comes from letting one model do everything, chasing hype, or running expensive models in places that don't need them.

What worked for me was treating OpenClaw like infrastructure instead of a chatbot. Keep a cheap model as the coordinator, use agents for real work, be explicit about routing, and make memory and task state visible. Cheap models handle background work fine. Strong models are powerful when you call them intentionally instead of leaving them as defaults.

You don't need expensive hardware, and you don't need to host giant local models to get value out of this. Start small, get things stable before letting it run all the time, and avoid the hype train. If something feels broken, check the official docs and issues first. OpenClaw changes fast, and sometimes it really is just a bug.

@0x4a5e1e4baab
0x4a5e1e4baab / main.go
Created January 15, 2021 12:06
Connecting to a Blockdaemon Algorand node with MakeClientWithHeaders
package main
import (
"fmt"
"github.com/algorand/go-algorand-sdk/client/algod"
)
// The following data properties can be found from the Blockdaemon node screen
// SERVER_URL: the server URL of the Blockdaemon node
@0x4a5e1e4baab
0x4a5e1e4baab / blockdaemon_bitcoin_rpc_example.py
Last active September 1, 2020 17:54
blockdaemon_bitcoin_rpc_example.py
from __future__ import print_function
import time, requests, json
#####
# Adapted for demo of connecting to Blockdaemon Bitcoin Nodes with Auth Token as header "X-Auth-Token"
# Credit for this code https://kryptomusing.wordpress.com/2017/06/12/bitcoin-rpc-via-python/
#####
@0x4a5e1e4baab
0x4a5e1e4baab / inventory2json.py
Created July 8, 2020 15:37 — forked from sivel/inventory2json.py
Ansible inventory to dynamic inventory JSON output, accepts all inventory input formats
import sys
import json
from ansible.parsing.dataloader import DataLoader
try:
from ansible.inventory.manager import InventoryManager
A24 = True
except ImportError:
from ansible.vars import VariableManager
@0x4a5e1e4baab
0x4a5e1e4baab / delete-dockerhub-image-tag.sh
Created December 5, 2019 15:02
delete-dockerhub-image-tag.sh
USERNAME=""
PASSWORD=""
ORGANIZATION=""
REPOSITORY=""
TAG=""
TOKEN=`curl -s -H "Content-Type: application/json" -X POST -d '{"username": "'$USERNAME'", "password": "'$PASSWORD'"}' https://hub.docker.com/v2/users/login/ | jq -r .token`
curl https://hub.docker.com/v2/repositories/${ORGANIZATION}/${ORGANIZATION}/tags/${TAG}/ -X DELETE -H "Authorization: JWT ${TOKEN}"
@0x4a5e1e4baab
0x4a5e1e4baab / download-gitlab-release-artifact.yml
Created October 16, 2019 18:22
download-gitlab-release-artifact.yml
---
- hosts: 127.0.0.1
connection: local
gather_facts: true
vars:
gitlab_read_only_token: some-token
gitlab_project_id: 303203103210
collector_tag: 0.0.8-release
@0x4a5e1e4baab
0x4a5e1e4baab / README.md
Last active August 8, 2019 19:50 — forked from kenny-evitt/add-dynamic-group-var.bash
Files for Ansible for supporting dynamic host variables retrieved from a local SQLite database
@0x4a5e1e4baab
0x4a5e1e4baab / algorand-docker
Last active July 24, 2019 12:10
algorand-docker
touch ~/algorand/algod.token
docker run -d -v ~/algorand/algod.token:/algorand/node/data/algod.token -p 8080:8080 --name algorand bjweaver/algorand-node
@0x4a5e1e4baab
0x4a5e1e4baab / list-files-no-extension.sh
Created April 4, 2019 11:47
list files no extension
ls -1 | sed -e 's/\..*$//'
@0x4a5e1e4baab
0x4a5e1e4baab / docker-with-curl
Last active March 19, 2019 15:47
docker-with-curl
docker run -ti --network app_net giantswarm/tiny-tools sh