This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> | |
#include <ArduinoWebsockets.h> | |
// include wpa2 enterprise code | |
extern "C" { | |
#include "user_interface.h" | |
#include "wpa2_enterprise.h" | |
} | |
// SSID, Username and password. Update with yours! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Note: Doesn't work anymore (at least for Gnome 3.34, possibly later; see Python script instead) | |
# Usage: gnome-inhibit <command-line> | |
# Example: gnome-inhibit mpv video.mp4 | |
cookie=$(dbus-send \ | |
--session \ | |
--dest=org.freedesktop.ScreenSaver \ | |
--type=method_call \ | |
--print-reply=literal \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
firewall { | |
all-ping enable | |
broadcast-ping disable | |
ipv6-receive-redirects disable | |
ipv6-src-route disable | |
ip-src-route disable | |
log-martians enable | |
name WAN_IN { | |
default-action drop | |
description "Packets from Internet to LAN" |