Skip to content

Instantly share code, notes, and snippets.

@banteg
banteg / model_flip_eth_a.py
Last active July 31, 2022 18:48
boilerplate makerdao auction keeper model using python
#!/usr/bin/env python
import os
import sys
import json
import requests
discount = 0.15
def get_price():
resp = requests.get('https://api.coingecko.com/api/v3/simple/price', params={'ids': 'ethereum', 'vs_currencies': 'usd'})
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active May 29, 2026 14:22
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}