Skip to content

Instantly share code, notes, and snippets.

View enginefeeder101's full-sized avatar

Engine Feeder enginefeeder101

  • The Netherlands
View GitHub Profile
#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!
@fxthomas
fxthomas / gnome-inhibit
Last active March 16, 2024 12:51
Inhibit gnome screensaver for a given program
#!/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 \
@kgersen
kgersen / boot.config
Last active March 15, 2023 22:34
orange ERL 3 - remplacement complet de la Livebox routeur
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"