Skip to content

Instantly share code, notes, and snippets.

View hammertoe's full-sized avatar

Matt Hamilton hammertoe

View GitHub Profile
ffmpeg -re -f alsa -ar 22100 -ac 1 -r 30 -i h1:1 \
-f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental
-f flv rtmp://....
#!/usr/bin/python
# Email program. Copyright Matt Hamilton 2020.
print("You have no mail")
@hammertoe
hammertoe / simple_bot.py
Created June 17, 2021 14:33
A very simple trading bot
import ccxt
import numpy as np
key = "mykey"
secret = "topsecret"
symbol = 'USDX/USDT'
exch = ccxt.ascendex({
'apiKey': key,

Intro

These instructions will create a new IPC subnet, with a single validator node and connect it to the Filecoin Calibration testnet. In production use you would configure this with multiple validators, but for the purposes of testing and development, we just create a single validator here.

Prerequisites

On Linux (links and instructions for Ubuntu):

@hammertoe
hammertoe / erc20-test.md
Created March 16, 2024 17:14
Example erc20 token transfer on an ipc subnet

USDC ERC20 Token Bridge

Stage: Current Created by: Michael Seiler

Revisions

📒Requirements and Notes

The following are a collections of requirements and notes useful to set the context of the design. You

@hammertoe
hammertoe / edge-city.md
Created October 22, 2024 17:40
Info for Edge City Lanna Hackathon

Arbitrum @ Edge City Lanna Hackathon

Info here...

@hammertoe
hammertoe / vc.txt
Created May 28, 2025 14:58
This file includes structured data in Turtle (RDF) format describing ASIMOV Protocol.
## Instructions:
#
# This file includes structured data in Turtle (RDF) format describing ASIMOV Protocol.
# Paste this into the context of your LLM of choice then ask questions like:
# - What problem does ASIMOV solve?
# - Who are the founders and what is their background?
# - How is ASIMOV different from other AI infra or Web3 projects?
# - What is the business model or go-to-market strategy?
# - What are examples of use cases or early traction?
#