How to get nvm
to run inside the fish
shell.
See the following for instructions:
#!/usr/bin/env bash | |
# Just for fun, a commandline unshortner. | |
# When googling, I found an out of date adf.ly unshortener, so I took it upon myself to create a new one | |
x=$(curl -i $1 | grep Location) | |
let "y = ${#x} - 9" | |
echo "$x" | tail -c "$y" |
I hereby claim:
To claim this, I am signing this object:
import microbit as mb | |
import radio | |
PHASE_SELECT_PLAYER = 1 | |
PHASE_PLAYING_GAME = 2 | |
current_phase = PHASE_SELECT_PLAYER | |
this_player = 0 | |
radio.config(channel=68, data_rate=radio.RATE_2MBIT) |
Very sime plen nodeejs database.
Copy either racco.js
or racco.ts
straight into your project folder, depending on if you use javascript or typescript.
You must then set the DATA_DIR
variable at the top to the path to the folder which will contain the data, relative to the racco.js
file.