Skip to content

Instantly share code, notes, and snippets.

View leachim6's full-sized avatar

Mike Donaghy leachim6

View GitHub Profile
@leachim6
leachim6 / esp8266-basis.ino
Created April 9, 2019 13:34 — forked from mhelff/esp8266-basis.ino
Basic Arduino sketch for ESP8266 including WifiManager and OTA update
#include <ESP8266WiFi.h>
#include <ESP8266mDNS.h>
#include <ArduinoOTA.h>
#include <WiFiManager.h>
void setup() {
Serial.begin(115200);
Serial.println("Booting");
WiFiManager wifiManager;
@leachim6
leachim6 / web-servers.md
Created February 26, 2023 09:04 — forked from willurd/web-servers.md
Big list of http static server one-liners

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.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000