Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block micw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
micw / w132.ino
Last active Oct 7, 2019
Ventus W132 decoder sketch
View w132.ino
* Ein ESP8622 NodeMCU Develompent Board, welches Sensorwerte via MQTT verschickt
* Umbau eines W132 Windsensors von ELV
* - Abtrennen des 433 MHZ-Senders, welcher mit 3 Leitungen (Schwarz, Rot, Blau) an der Logik-Platine angeschlossen ist
* - Anschließen des ESP-8266
* - Schwarz -> GND
* - Rot -> 3.3V
micw /
Last active Feb 28, 2019
How to build helm from source on docker

How to build helm from sources without installing golang and other stuff to your system?

  1. Checkout helm git clone

  2. Build golang binaries it on docker

cd helm
docker run -it -v $(pwd):/go/src/ golang
apt-get update
View sketch.cpp
* LED PWM mit HomeWizard Funkschalter
* D3 - input - 433 MHZ Transmitter
* D7 - output Mosfet (led)
#include <smartio.h>
#include <smartio_homewizard.h>
Bus bus;
View traefik-acme-passthrough.toml
# This is an example how to pass acme challenges to a backend of a particular domain while
# all other acme challenges are solved by traefik
# Tested with traefik 1.7.7
# How it works:
# - an entry point listens at 81 which is used for traefik's acme. This port is not exposed
# - a default rule for /.well-known/acme-challenge/ is added for the http entry point. It has a priority of 1000
# and forwards acme requests to localhost:81 where traefik accepts acme challenges
# - for a particular domain, a rule with higher priority is added, so this domain's acme challenges are not sent to
# traefik
View 0001-Make-sort-order-work-for-custom-post-types.patch
From ac676e08cd4b3df4ad723fc2acef250b49871659 Mon Sep 17 00:00:00 2001
From: Michael Wyraz <>
Date: Thu, 6 Dec 2018 21:50:38 +0100
Subject: [PATCH] Make sort order work for custom post types
wp-sitemap-page.php | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/wp-sitemap-page.php b/wp-sitemap-page.php
set -e
mkdir -p /run/apache2
rm -f /run/apache2/
echo "Waiting for database"
for i in {1..60}; do
View button_test.ino
* D0 - output ok
* D5 - output ok
* D6 - output ok
* D7 - output ok
* D3 - output ok
* D4 - output ok, internal LED is inverse
* D3 - pullup input ok, bootet nicht wenn LOW
micw / rules.v4
Last active Nov 8, 2018
Minimal iptables for rancher 2 agent/kubernetes
View rules.v4
# Masquerading all outgoing routet traffic
micw /
Created Sep 22, 2018
Build aports with docker
if [ "$#" -ne 2 ]; then
echo "EXAMPLE $0 armhf main/busybox"
exit 1
BASE=$( cd $( dirname $0 ); pwd)
View gist:9de3c9de28e6649a01a7f2bd143ad826
/exports/vol1 *(async,no_subtree_check,no_auth_nlm,insecure,no_root_squash)
/exports/vol2 *(async,no_subtree_check,no_auth_nlm,insecure,no_root_squash)
You can’t perform that action at this time.