Skip to content

Instantly share code, notes, and snippets.

rosszurowski /
Last active Jan 11, 2020
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 Jul 9, 2021
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 (
View un-country-centroids.json
{ "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 Sep 22, 2015
Force-directed text editor
View data.json
View timestamp.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Timestamp Demo</title>
<script src="timestamp.js"></script>
rosszurowski / nerp.js
Created Dec 10, 2014
An n-th degree polynomial interpolator. Used as an alternative for common `lerp` functions
View nerp.js
* 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 Jul 1, 2021
Linear interpolation for hexadecimal colors.
View lerp-color.js
* 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}