Skip to content

Instantly share code, notes, and snippets.

Avatar

Christoph Walcher wiomoc

View GitHub Profile
@wiomoc
wiomoc / sketch.ino
Last active Oct 22, 2020
Sample Code using AWS IoT with an ESP32 for alerting
View sketch.ino
#include <WiFi.h>
#include <WiFiClientSecure.h>
#include <PubSubClient.h>
#include <DHT.h>
// Retrieve using aws iot describe-endpoint --endpoint-type iot:Data-ATS
#define ENDPOINT "....-ats.iot.---.amazonaws.com"
#define SSID "YOUR_SSID"
#define PSK "YOUR_PASSWORD"
View client.html
<script>
var ws = new WebSocket("ws://localhost:8080/");
ws.onmessage = function (event) {
console.log(event.data);
}
</script>
@wiomoc
wiomoc / GemPuzzleView.swift
Last active Jan 13, 2018
GemPuzzle Screensaver for macOS Preview: https://imgur.com/a/s8mRh
View GemPuzzleView.swift
//
// GemPuzzleView.swift
// GemPuzzle
//
// Created by Christoph Walcher on 12.01.18.
// Copyright © 2018 Christoph Walcher. All rights reserved.
//
import ScreenSaver
import Foundation
@wiomoc
wiomoc / polygo.py
Created Jul 24, 2017
Load the recent Polygo Mastercard transactions
View polygo.py
#!/usr/bin/python
import argparse
import requests
import re
import string
import time
try:
from BeautifulSoup import BeautifulSoup
View keybase.md

Keybase proof

I hereby claim:

  • I am wiomoc on github.
  • I am wiomoc (https://keybase.io/wiomoc) on keybase.
  • I have a public key whose fingerprint is DB17 A88A AB82 D388 5488 1A94 A193 164A 4D05 EE44

To claim this, I am signing this object:

@wiomoc
wiomoc / LyricsExtractor.java
Last active Dec 3, 2016
Little program to read out lyrics from several different audioformats. mp3/ID3, aac/m4a/mp4, ogg/vorbis
View LyricsExtractor.java
package de.wiomoc.Lyrics;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.lang.reflect.Array;
import java.math.BigDecimal;
import java.nio.charset.Charset;
You can’t perform that action at this time.