Skip to content

Instantly share code, notes, and snippets.

rosszurowski / .deploy
Last active January 12, 2023 04:35
A Makefile template for Kirby CMS with esbuild and tailwindcss
rosszurowski / export.go
Last active March 10, 2022 17:14
Download images from a Squarespace export file
package main
import (
rosszurowski /
Last active February 16, 2024 14:52
How to subscribe to the Small Seasons calendar via iCal.

Small Seasons via iCal

If you'd like to follow along with the small seasons calendar via iCal, you'll want to create a new calendar subscription. On Mac, you can do this by going to File > New Calendar Subscription…

Into the panel that opens, paste the following URL:

Here's a list of resources for learning React.

In general, I find the best way to learn something is to have a project to try it out with. These resources and tutorials are a good way to support your own project-based learning.


Intro to React (link)

An official tutorial from the React team that walks you from zero to building a simple game. It does a great job of introducing all the core React concepts in simple language.

rosszurowski / un-country-centroids.json
Last active February 18, 2022 15:32
A compiled list of coordinates for all 193 countries in the UN. Compiled from this list of UN members (, and this list of country centroids (
{ "name": "Afghanistan", "lat": 33, "long": 66 },
{ "name": "Albania", "lat": 41, "long": 20 },
{ "name": "Algeria", "lat": 28, "long": 3 },
{ "name": "Andorra", "lat": 42.5, "long": 1.5 },
{ "name": "Angola", "lat": -12.5, "long": 18.5 },
{ "name": "Antigua and Barbuda", "lat": 17.05, "long": -61.8 },
{ "name": "Argentina", "lat": -34, "long": -64 },
{ "name": "Armenia", "lat": 40, "long": 45 },
{ "name": "Australia", "lat": -25, "long": 135 },

I hereby claim:

  • I am rosszurowski on github.
  • I am rosszurowski ( on keybase.
  • I have a public key ASCO0gSAqgnGK91zdDer_TJW-oTr_bZBjfh6P9Sz-zxfhgo

To claim this, I am signing this object:

rosszurowski / data.json
Created September 22, 2015 17:05
Force-directed text editor
rosszurowski / timestamp.html
Last active August 29, 2015 14:19
Custom Elements
<!DOCTYPE html>
<meta charset="utf-8">
<title>Timestamp Demo</title>
<script src="timestamp.js"></script>
rosszurowski / nerp.js
Created December 10, 2014 13:37
An n-th degree polynomial interpolator. Used as an alternative for common `lerp` functions
* N-th degree polynomial interpolation
* @param {Number} degree
* @param {Number} min
* @param {Number} max
* @param {Number} amount
* @returns {Number}
function nerp(degree, min, max, amount) {
return min + Math.pow(amount, degree) * (max - min);
rosszurowski / lerp-color.js
Last active March 3, 2023 12:14
Linear interpolation for hexadecimal colors.
* A linear interpolator for hexadecimal colors
* @param {String} a
* @param {String} b
* @param {Number} amount
* @example
* // returns #7F7F7F
* lerpColor('#000000', '#ffffff', 0.5)
* @returns {String}