Skip to content

Instantly share code, notes, and snippets.

@kowasaur
kowasaur / population.hs
Created November 5, 2021 08:10
Thing I made for my specialist maths homework
-- Used to solve specialist homework question
-- Constants
breedingRates = [ 0, 1.3, 1.8, 0.9, 0.2]
survivalRates = [0.6, 0.8, 0.8, 0.4, 0]
initialPopulations = [194, 82, 55, 22, 6]
-- Population after n years
populations 0 = initialPopulations
-- The takeWhile is unnecessary but I added it in case the last survival rate isn't 0
@kowasaur
kowasaur / gist:359919a1d8bee0584059cc145bc26d5e
Created August 10, 2021 06:30
How to get your item back from a Lil Tater
1. Make sure your hand and off-hand is empty
2. While crouching, right click on the item
It should be on the ground now
@kowasaur
kowasaur / coinspotCoingeckoIds.json
Last active December 23, 2020 00:10
CoinSpot - CoinGecko id equivalents. The key is the CoinSpot id and the value is the CoinGecko id. AUD, AGS and AUS are actually not on CoinGecko
{
"AUD": "aud",
"BTC": "bitcoin",
"ETH": "ethereum",
"XRP": "ripple",
"LTC": "litecoin",
"BCH": "bitcoin-cash",
"LINK": "chainlink",
"ADA": "cardano",
"DOT": "polkadot",