Skip to content

Instantly share code, notes, and snippets.

<main draggable="true">
<div class="title">
<div class="titlebtn titlebtn_left">C</div>
<span>alexreynish.com</span>
<div class="titlebtn titlebtn_right">M</div>
</div>
<div class="content">
<h1>Alex Reynish</h1>
<p>Something about me</p>
</div>
@reynish
reynish / links.md
Created September 8, 2021 10:29
[Observable Links]
@reynish
reynish / fireworks.py
Created October 12, 2021 15:17 — forked from tuftii/fireworks.py
Raspberry Pi Sense Hat Fireworks
# This example gist makes fireworks appear on the Raspberry Pi Sense Hat. This could be adapted for other LED based Raspberry Pi Hats.
from sense_hat import SenseHat
from time import sleep
from random import randint
import threading
DECAY = 0.7 # Colour decay of firework head.
SPEED = 0.1 # Speed of firework explosion.
DISPLAY_SPEED = 0.6 # Speed of firework launches.
@reynish
reynish / index.html
Created June 30, 2022 10:12
Question 1
<div id="root"></div>
@reynish
reynish / vega-lite-means-and-stdev.json
Created May 19, 2023 10:45
Vega-lite means and stdev
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "Vega-lite means and stdev",
"width": "container",
"data": {
"values": [
{"date": "2023-05-19T10:16:59.509Z", "weight": "0.10"},
{"date": "2023-05-19T09:16:59.509Z", "weight": "0.49"},
{"date": "2023-05-19T08:16:59.509Z", "weight": "0.54"},
{"date": "2023-05-19T07:16:59.509Z", "weight": "0.95"},