Skip to content

Instantly share code, notes, and snippets.

@migae21
migae21 / virt-backup.sh
Last active May 13, 2019 11:47
My Way to backup my Virtual machines under Linux/KVM
#!/bin/bash
unset TRY_RUN
#Uncomment the following line to get a TRY RUN (no actions taken just output)
#TRY_RUN="TRUE"
cmd_eval ()
{ if [ ! -z "$TRY_RUN" ]; then
echo "$*"
return 0
else
@migae21
migae21 / gui-example-433.ino
Last active May 14, 2018 07:00
Controll Mumbi (M-AFS104) RF PowerPlug Control via ESP32 (arduino)
//https://fast.jumpingcrab.com/wp/blog/2018/05/13/mumbi-funksteckdosen-mittel-esp32-und-rf-transmitter-fernsteuern/
#include <ESPUI.h>
#if defined(ESP32)
#include <WiFi.h>
#else
#include <ESP8266WiFi.h>
#endif
const char *ssid = "Your WIFI ssid";