Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am thetimmaeh on github.
  • I am thetimmaeh (https://keybase.io/thetimmaeh) on keybase.
  • I have a public key ASAk2rRDqqfaHBZcO4QS7_Q79f2AM2TcegyDW0jKSRwF5Ao

To claim this, I am signing this object:

@TheTimmaeh
TheTimmaeh / salien.sh
Last active June 23, 2018 15:56
Multiaccount Controller for SteamDatabase/SalienCheat PHP Bot
#!/bin/bash
if [ -z "$1" ]
then
echo "Usage: ./salien.sh {start|stop|status|restart|force-reload} ACCOUNT"
echo " ./salien.sh list"
echo " ./salien.sh update"
exit 1
fi
@TheTimmaeh
TheTimmaeh / thm-ma.user.js
Last active October 22, 2019 09:16
THM Moodle Adjustments
// ==UserScript==
// @name THM Moodle Adjustments
// @namespace https://thetimmaeh.com/THM-MA
// @version 0.2
// @description Fixes various inconveniences in THM Moodle
// @author TheTimmaeh
// @match *://moodle.thm.de/*
// @exclude *://moodle.thm.de/login/index.php
// @updateURL https://gist.github.com/TheTimmaeh/eac863a8ef8511e3b69fba8dd252134b/raw/6c4530a5a5814fa06058fcb514269285dd6e8565/thm-ma.user.js
// @grant none
@TheTimmaeh
TheTimmaeh / MFKZQ01LM-costum.js
Created May 3, 2022 11:35
Custom converter for the MFKZQ01LM Mi/Aqara smart home cube. Exposes 'side' in addition to the usual exposed device capabilities.
const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tz = require('zigbee-herdsman-converters/converters/toZigbee');
const exposes = require('zigbee-herdsman-converters/lib/exposes');
const reporting = require('zigbee-herdsman-converters/lib/reporting');
const extend = require('zigbee-herdsman-converters/lib/extend');
const e = exposes.presets;
const ea = exposes.access;
const definition = {
zigbeeModel: ['lumi.sensor_cube', 'lumi.sensor_cube.aqgl01'],