Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| const int buzzerPin = 15; // Buzzer connected to GPIO 15 | |
| void setup() { | |
| pinMode(buzzerPin, OUTPUT); | |
| } | |
| void loop() { | |
| playHappyBirthday(); | |
| delay(2000); // Short pause between loops | |
| } |
| import json | |
| import csv | |
| import sys | |
| import datetime | |
| import os | |
| def make_reader(in_json): | |
| # Open location history data |
| python3 -m http.server 8000 |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| { | |
| "name": "project-name", | |
| "description": "Template for static sites", | |
| "version": "1.0.0", | |
| "homepage": "http://www.project-name.com", | |
| "author": { | |
| "name": "Adam Reis", | |
| "url": "http://adam.reis.nz" | |
| }, | |
| "license": "UNLICENSED", |