Skip to content

Instantly share code, notes, and snippets.

View joshy's full-sized avatar

Joshy Cyriac joshy

  • Universitätsspital Basel
  • Basel
View GitHub Profile
@scumola
scumola / dots.py
Created April 10, 2026 18:35
Dots and lines in SVG format
import drawsvg as draw
import math
import random
spacing = 7
stroke = 0.5
rows, cols = (200, 200)
arr = [[0]*(cols*2)]*(rows*2)
d = draw.Drawing(450, 450, origin='center')
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active September 10, 2026 17:11
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;
}