Skip to content

Instantly share code, notes, and snippets.

View outermeasure's full-sized avatar

Adrian Soucup outermeasure

View GitHub Profile
@outermeasure
outermeasure / rimpark_retrospective.md
Last active January 11, 2022 13:01
A list of features developed for Rimpark in 2021.

Rimpark Retrospective 2021

Dev: https://dev001.rimpark.io

Test: https://test.rimpark.io

Product UX

  • Add locker timeout. 1, 2
  • Allow the leader to start game instead of having everyone pressing ready. 1
  • Add the possibility to pay with ADA (Cardano) for Coins. 1, 2, ...
@outermeasure
outermeasure / sensors.m
Last active November 2, 2021 20:05
Sensors for Apple M1 MacBooks
// This code is is an adaptation of
// https://github.com/freedomtan/sensors/blob/master/sensors/sensors.m that
// prints the temperatures for Apple M1 MacBooks to the standard output.
// WARNING: ONLY USE WITH APPLE M1 MACBOOKS
// To compile run:
// `clang -Wall -O3 -v sensors.m -framework IOKit -framework Foundation -o sensors`
// Example ouput:
// > ./sensors
const cellCoords = cells.map(
(cell) => [
{lat: cell.lat, lng: cell.long},
{lat: cell.lat + incrementlat, lng: cell.long},
{lat: cell.lat + incrementlat, lng: cell.long + incrementlong},
{lat: cell.lat, lng: cell.long + incrementlong},
]
);
const cellColors = cells.filter(cell => !isCost || cell.humidity > 80).map(