Skip to content

Instantly share code, notes, and snippets.

@guirkgumbo
guirkgumbo / 55-bytes-of-css.md
Created September 27, 2022 01:24 — forked from JoeyBurzynski/55-bytes-of-css.md
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;
}
@guirkgumbo
guirkgumbo / model_flip_eth_a.py
Created October 19, 2021 19:21 — forked from banteg/model_flip_eth_a.py
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'})