Skip to content

Instantly share code, notes, and snippets.

View erikzrekz's full-sized avatar
🤹
Working

Eriks Reks erikzrekz

🤹
Working
View GitHub Profile
@erikzrekz
erikzrekz / command.sh
Last active December 27, 2017 13:12
Fresh Mac Commands
defaults write com.apple.screencapture location /Users/...
killall SystemUIServer
defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15 (225 ms)
defaults write -g KeyRepeat -int 1 # normal minimum is 2 (30 ms)
# Log out and log back in to see ^ take effect
@erikzrekz
erikzrekz / websockets.js
Created July 26, 2018 21:09
Polo Websockets
/*
To run:
- npm install ws && npm install autobahn
- node websocket {ws, wss} {v1, v2} {if v2 --> channels}
*/
var protocol = process.argv[2];
var api = process.argv[3];
@erikzrekz
erikzrekz / gist:d1222b9e086b916956e9392dca1c37d0
Last active February 22, 2019 22:52
test-cloudflare-page.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<style>
@font-face {
font-family: "proxima-regular";
font-style: normal;
font-weight: normal;
@erikzrekz
erikzrekz / cp.md
Last active June 6, 2025 15:15
Chiliipiper Debug

Inside <head> Tag

<META NAME="ROBOTS" CONTENT="NOINDEX">
<link rel="canonical" href="https://marketerhire.com/hire/schedule">

<style>
    .preloader {
        display: inline;
        z-index: 2000;
@erikzrekz
erikzrekz / mh-segment.js
Created July 8, 2025 16:09
Hire Form Webhook Handler
async function onRequest(request, settings) {
const removeEmpty = obj => {
Object.keys(obj).forEach(
k => !obj[k] && obj[k] !== undefined && delete obj[k]
);
return obj;
};
const body = request.json().form_response;
const answers = removeEmpty(body.answers);
const hidden = removeEmpty(body.hidden);
@erikzrekz
erikzrekz / songs-of-myself-x402.ts
Created March 2, 2026 18:59
Songs of Myself x402 Demo
import {
createPublicClient,
createWalletClient,
defineChain,
getAddress,
hexToBigInt,
http,
isHex,
parseAbi,
recoverTypedDataAddress,
@erikzrekz
erikzrekz / llm.md
Created May 1, 2026 03:24
Radius llm.txt

Radius

Radius is stablecoin-native settlement infrastructure for the agentic internet. It settles machine-to-machine micropayments at the scale of API calls, paid content, and streaming compute. 2.8M+ TPS tested, linear scalability, sub-second finality, near-zero transaction costs, EVM-compatible execution, stablecoin fees, and no native token.

Radius is built for agentic commerce: per-request API billing, HTTP-native x402 payments, pay-per-visit content, and streaming payments. Developers can use standard Ethereum tooling - Solidity, Foundry, viem, wagmi, ethers.js, and JSON-RPC - while paying fees in stablecoins instead of volatile gas tokens.

What changed since launch

  • Radius now has first-party x402 facilitator infrastructure for HTTP 402 payments on Radius mainnet and testnet.
  • Radius x402 supports Permit2 settlement, EIP-2612 gas sponsoring, /supported, /verify, /settle, and /health facilitator endpoints.