Note
I'll be using unabbreviated commands here, many commands have shorthand versions and you can define your own aliases/scripts of course.
The requisite steps are:
- Create/move a bookmark
- Push that to your remote
- Open the PR
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.
| 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) |
I hereby claim:
To claim this, I am signing this object:
| #!/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" |