⸻
👉 Alias master → main
git symbolic-ref refs/heads/main refs/heads/master
git symbolic-ref refs/remotes/origin/main refs/remotes/origin/master
git switch main
| # `cl` wrapper: keep ~/.claude/.credentials.json in sync with the macOS | |
| # Keychain on local (GUI) runs so SSH sessions — which can't read Keychain — | |
| # fall back to the credentials file. See ~/.claude for the fallback logic. | |
| cl() { | |
| if [ -z "$SSH_CONNECTION" ] && [ -z "$SSH_CLIENT" ] && [ -z "$SSH_TTY" ]; then | |
| local cred | |
| cred=$(security find-generic-password -a "$USER" -s "Claude Code-credentials" -w 2>/dev/null) | |
| if [ -n "$cred" ]; then | |
| mkdir -p ~/.claude | |
| print -r -- "$cred" > ~/.claude/.credentials.json |
⸻
👉 Alias master → main
git symbolic-ref refs/heads/main refs/heads/master
git symbolic-ref refs/remotes/origin/main refs/remotes/origin/master
git switch main
| alias webpconvert='convert_to_webp' | |
| convert_to_webp() { | |
| original_path="$1" | |
| output_path="${original_path%.*}.webp" | |
| extension="${original_path##*.}" | |
| extension_lower=$(echo "$extension" | tr '[:upper:]' '[:lower:]') | |
| if [[ "$extension_lower" == "heic" || "$extension_lower" == "heif" ]]; then | |
| # Convert HEIC/HEIF to temporary JPEG first, then to WebP |
“DoorDash problem” defined: AI agents sit between users and service providers, stripping away monetizable layers like ads, reviews, loyalty, and upsells, reducing platforms to commodity backends.
Threat to App-era companies: Uber, Lyft, Airbnb, DoorDash, TaskRabbit, ZocDoc risk losing direct customer relationships that fund their business models.
AI agents don’t care about monetization: They choose cheapest/fastest options, bypassing differentiation, brand, and promotional economics.
Service-provider dilemma: Continue supporting agentic access and risk commoditization, or block agents and risk losing customers.
Amazon vs Perplexity lawsuit: First major clash; Amazon argues Perplexity violated ToS, masked bots as humans, and circumvented blocks.
High stakes for Amazon:
Amazon retail already commoditized; easy for agents
| { | |
| "tools": [ | |
| { | |
| "name": "search", | |
| "description": "Searches for resources using the provided query string and returns matching results.", | |
| "input_schema": { | |
| "type": "object", | |
| "properties": { | |
| "query": { "type": "string", "description": "Search query." } | |
| }, |
| body { font-family:Verdana, Geneva, sans-serif; font-size:10pt; color:#828282; } | |
| td { font-family:Verdana, Geneva, sans-serif; font-size:10pt; color:#828282; } | |
| .admin td { font-family:Verdana, Geneva, sans-serif; font-size:8.5pt; color:#000000; } | |
| .subtext td { font-family:Verdana, Geneva, sans-serif; font-size: 7pt; color:#828282; } | |
| input { font-family:monospace; font-size:10pt; } | |
| input[type='submit'] { font-family:Verdana, Geneva, sans-serif; } | |
| textarea { font-family:monospace; font-size:10pt; resize:both; } |
| import https from 'https'; | |
| export const handler = async (event) => { | |
| try { | |
| // Get the livestream status | |
| const status = await getLivestreamStatus(); | |
| // Check if it contains "Currently off the air" | |
| const isOffAir = status.includes('Currently off the air'); | |
The linux/arm and linux/arm64 targets will cover most Raspberry Pi models, but you need to set GOARM properly when targeting 32-bit ARM devices.
| Raspberry Pi Model | Go Architecture |
|---|---|
| Raspberry Pi 1 (A, B, A+, B+), Zero, Zero W | GOARCH=arm GOARM=6 |
| Raspberry Pi 2 (v1.1) | GOARCH=arm GOARM=7 |
| Raspberry Pi 2 (v1.2), 3, 3+, CM3 | GOARCH=arm GOARM=7 |
| Raspberry Pi 4, 400, CM4 (32-bit OS) | GOARCH=arm GOARM=7 |
| Raspberry Pi 4, 400, CM4 (64-bit OS) | GOARCH=arm64 |