Skip to content

Instantly share code, notes, and snippets.

View cem2ran's full-sized avatar
⚛️
~ The only constant is change ~

Cem Turan cem2ran

⚛️
~ The only constant is change ~
View GitHub Profile
@cem2ran
cem2ran / reason-0-60.re
Last active April 16, 2020 09:54 — forked from davidkpiano/ts-0-60.ts
TypeScript from 0 to 60
// No TypeScript, but statically typed
let add = (a, b) => a + b;
INSTALL_URL="https://releases.nixos.org/nix/nix-2.3.10/install"
# Install Nix (package manager)
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
sh -c "$(curl -L $INSTALL_URL)"
elif [[ "$OSTYPE" == "darwin"* ]]; then
sh -c "$(curl -L $INSTALL_URL)" --darwin-use-unencrypted-nix-store-volume
else
echo "Unsupported platform :("
return