Skip to content

Instantly share code, notes, and snippets.

View dkgrieshammer's full-sized avatar
🎯
Focusing

David Grieshammer dkgrieshammer

🎯
Focusing
View GitHub Profile
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="YOURSSID"
psk="YOURPASSWORD"
scan_ssid=1
}
@dkgrieshammer
dkgrieshammer / IPAddress_to_char.c
Last active May 6, 2019 20:10 — forked from drewler/epd_ipd.c
Arduino - IPAddress to char*
char IP[] = "xxx.xxx.xxx.xxx"; // Buffer
IPAddress ip = WiFi.localIP();
ip.toString().toCharArray(IP, 16);
//IP now contains IPAddress
@dkgrieshammer
dkgrieshammer / setup.md
Created April 25, 2018 16:06 — forked from novemberborn/setup.md
OS X Redirect ports 80 and 443 to 8080 and 8443 respectively

Changes with .dev domains in mind.

Create /etc/pf.anchors/dev, containing:

rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443

/**
* Awesome website
* @author YOUR_NAME_HERE
* @version 0.1
*/
/* ============================ RESET ============================ */
/* ===== Eric Meyer Reset ===== */