This document outlines the steps taken to initialize the development environment.
- System Tools:
apt,zsh,emacs,ssh - Infrastructure: Docker, Caddy, Tailscale
- Runtimes: Python (via
uv), Bun - Shell Environment: Oh My Zsh
bind cmd or even shorter shell alias for "ask an LLM to create a shell cmd for me"
alias cmd='llm cmd -m gpt-5'alias cmd='llm cmd -m anthropic/claude-3-7-sonnet-latest'alias vision-desc='llm -m llama3.2-vision:latest '\''describe'\'' -a'$ cmd how do I trim the first 5 seconds off of a video movie.mp4
| import { Template, defaultBuildLogger } from "e2b"; | |
| import { template } from "./template"; | |
| async function main() { | |
| await Template.build(template, { | |
| alias: "ploy-sandbox-1-dev", | |
| cpuCount: 2, | |
| memoryMB: 4096, | |
| onBuildLogs: defaultBuildLogger(), | |
| }); |
| ✘ anthonywu@lunar-shadow ~/workspace/makeme-dev/src/e2b-sandbox-1 e2b-sandbox-starter ± bun run test-1 | |
| $ dotenvx run -f .env.local -- tsx ./test_1.ts | |
| [dotenvx@1.51.0] 📡 radar: off | |
| [dotenvx@1.51.0] injecting env (3) from .env.local | |
| { | |
| exitCode: 0, | |
| error: undefined, | |
| stdout: 'Filesystem Size Used Avail Use% Mounted on\n' + | |
| '/dev/root 24G 4.0G 20G 17% /\n', | |
| stderr: '' |
| root@5497b6792fcd:/container-server# /bin/ls | |
| /usr/local/bin/* /usr/bin/* | |
| '/usr/bin/[' | |
| /usr/bin/aarch64-linux-gnu-addr2line | |
| /usr/bin/aarch64-linux-gnu-ar | |
| /usr/bin/aarch64-linux-gnu-as | |
| /usr/bin/aarch64-linux-gnu-c++filt | |
| /usr/bin/aarch64-linux-gnu-cpp | |
| /usr/bin/aarch64-linux-gnu-cpp-11 | |
| /usr/bin/aarch64-linux-gnu-dwp |
| #!/bin/bash -e | |
| common_seed=12345 | |
| common_args="--steps 20 --prompt sunset --seed 12345" | |
| uvx --from mflux==0.9.0 mflux-generate --model dev --output sunset_dev_before.png $common_args | |
| uvx --from mflux==0.9.0 mflux-generate --model schnell --output sunset_schnell_before.png $common_args | |
| mflux-generate --scheduler linear --model dev --output sunset_dev_after.png $common_args |
Use a sub-agent: check this repo for virus, malware, trojan horse behavior or anything that might be obfuscated but is one of these attack vectors.
Specifically:
Maintainer information - does the code authors use real names or work with recognizable organizations and companies
Unexpected commits - has there been a commit by a maintainer who is not usually making contributions
Frequency and recency of the updates - does it look like the library is minding the updates or its own dependencies
| import os | |
| import pathlib | |
| import plistlib as pl | |
| import pprint | |
| f = 'com.apple.finder.plist' | |
| with open(os.path.expanduser(pathlib.Path('~/Library/Preferences/') / f), 'rb') as fp: | |
| data = pl.load(fp, fmt=pl.FMT_BINARY) | |
| pprint.pprint(data) |
| FROM ubuntu:bionic-20190515 | |
| # rustup: requires curl or wget | |
| # wrangler: cargo install requires gcc, pkg-config and libssl-dev | |
| # wrangler generate: requires git | |
| RUN apt update && \ | |
| apt install -qy curl emacs gcc git libssl-dev pkg-config wget && \ | |
| apt -y full-upgrade | |
| # wrangler build: requires npm nodejs |
| Verifying my Blockstack ID is secured with the address 1Bv8Wq5jPv8RtWEGH7wEwGZ6fucsCzyBvA https://explorer.blockstack.org/address/1Bv8Wq5jPv8RtWEGH7wEwGZ6fucsCzyBvA |