Scratch.js API
var david = new Lutin("https://avatars1.githubusercontent.com/u/165829?v=3&s=460");
var romain = new Lutin("https://avatars2.githubusercontent.com/u/8417814?v=3&s=400");
david.positionner(200, 100);
david.avancer(100);
Steps for setting up a remote scanner on Raspberry Pi device | |
### Step 1: Flash the OS image on your SD card ### | |
1) Download the OS: https://learn.adafruit.com/adafruit-raspberry-pi-educational-linux-distro/occidentalis-v0-dot-2 | |
2) Flash the image: http://www.raspberrypi.org/documentation/installation/installing-images/README.md | |
### Step 2: Connect to your RPi via USB ### | |
1) Connect the ttl cable as such: http://www.google.fr/imgres?imgurl=http%3A%2F%2Fwww.alpha-crucis.com%2F4033-7353-thickbox%2Fusb-to-ttl-serial-cable-debug-console-cable-for-raspberry-pi.jpg&imgrefurl=http%3A%2F%2Fwww.alpha-crucis.com%2Ffr%2Fprototypage-composants%2F4033-usb-to-ttl-serial-cable-debug-console-cable-for-raspberry-pi-3700386509544.html&h=600&w=600&tbnid=w0M34JjabSsAUM%3A&zoom=1&docid=oCrHBIXe81wQrM&ei=-uc8VOPwGdP1aoiKgqgL&tbm=isch&client=safari&iact=rc&uact=3&dur=1311&page=1&start=0&ndsp=27&ved=0CCMQrQMwAQ |
Scratch.js API
var david = new Lutin("https://avatars1.githubusercontent.com/u/165829?v=3&s=460");
var romain = new Lutin("https://avatars2.githubusercontent.com/u/8417814?v=3&s=400");
david.positionner(200, 100);
david.avancer(100);
ssh [email protected] // Basic ssh connection
ssh [email protected] -p 33 // Using port 33
ssh [email protected] -v // log more info on connection
I compiled some tips for Typescript usage, because my transition to this !#@*$ tool has been painful in many ways, especially because i'm a n00b.
However, it might be a good idea to use it in the end.
npm install -g typescript
This will give you access to tsc
Typescript compiler.
Official Overpass API: http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL
Official Overpass tool: http://overpass-turbo.eu/
Official map features: http://wiki.openstreetmap.org/wiki/Map_Features
Some tutorial that seems educational:
# Javascript syntax | |
- `this` | |
- Arrow functions | |
- ES6+ | |
- `null` vs `undefined` | |
- Loops | |
- `var`, `const`, et `let` | |
- `Promise` | |
- `fetch` | |
- variables vs values |