Skip to content

Instantly share code, notes, and snippets.

View dotWee's full-sized avatar
🧑‍🎨
N06 G41 G00 X1.1 Z1.1 T0303 M08

Lukas Wolfsteiner dotWee

🧑‍🎨
N06 G41 G00 X1.1 Z1.1 T0303 M08
View GitHub Profile
@dotWee
dotWee / README.md
Last active September 15, 2024 16:45
[Home Assistant Blueprint] Denon AVR Quick Select Buttons

[Blueprint] Denon AVR Quick Select Buttons

Control Quick Select Modes on Your Denon AVR with Home Assistant!

I’ve created a Home Assistant blueprint that allows you to easily create buttons to trigger Quick Select options (1-4) on Denon AVR devices supported by Home Assistant.
If you're already using your Denon AVR with Home Assistant, this blueprint will simplify setting up automations or widgets to control Quick Select modes directly from the UI.

Features

  • Control Quick Select: Trigger Quick Select modes 1 through 4 on any Denon AVR with network control (tested with AVR-X3800H).
@dotWee
dotWee / resume.json
Last active September 16, 2024 01:50
resume.json
{
"support_dark_mode": false,
"basics": {
"name": "Lukas Wolfsteiner",
"label": "Software Gardener",
"location": {
"postalCode": 92318,
"city": "Neumarkt",
"countryCode": "DE",
"region": "Bavaria"
@dotWee
dotWee / notify-or-do-something-when-an-appliance-like-a-dishwasher-or-washing-machine-finishes.yaml Home Assistant Blueprint: Notify or do something when an appliance like a dishwasher or washing machine finishes
blueprint:
name: Appliance has finished
description: Do something when an appliance (like a washing machine or dishwasher has finished as detected by a power sensor.
domain: automation
input:
power_sensor:
name: Power Sensor
description: Power sensor entity (e.g. from a smart plug device).
selector:
entity:
@dotWee
dotWee / vimp.oth-regensburg.de-video_add-video-download-button.user.js
Last active June 11, 2023 00:47
Add a Download button below the currently viewing video on elearning.uni-regensburg.de/video/
// ==UserScript==
// @name vimp.oth-regensburg.de-video_add-video-download-button.user
// @description Add a Download button below the currently viewing video on elearning.uni-regensburg.de/video/
// @match *://vimp.oth-regensburg.de/video/*
// @version 1.0.0
// @grant none
// @author Lukas Wolfsteiner <lukas@wolfsteiner.media>
// ==/UserScript==
var downloadButtonParentSelector = document.querySelector('#siteContent > article > div.wrap.col-xs-12.col-sm-6.col-md-9.col-lg-9.col-xlg-9 > section.details > div:nth-child(1) > div.buttonpane.clearfix');
@dotWee
dotWee / vimp.oth-regensburg.de-m_add-video-download-button.user.js
Last active June 11, 2023 00:48
Add a Download button below the currently viewing video on vimp.oth-regensburg.de/m/
// ==UserScript==
// @name vimp.oth-regensburg.de-m_add-video-download-button.user
// @description Add a Download button below the currently viewing video on vimp.oth-regensburg.de/m/
// @match *://vimp.oth-regensburg.de/m/*
// @version 1.0.0
// @grant none
// @author Lukas Wolfsteiner <lukas@wolfsteiner.media>
// ==/UserScript==
var downloadButtonParentSelector = document.querySelector('#siteContent > article > div.wrap.col-xs-12.col-sm-6.col-md-9.col-lg-9.col-xlg-9 > section.details > div:nth-child(1) > div.buttonpane.clearfix');
@dotWee
dotWee / oth-regensburg.zoom.us_add-video-download-button.user.js
Last active June 11, 2023 00:57
Add a Download button below the currently viewing video on oth-regensburg.zoom.us
// ==UserScript==
// @name oth-regensburg.zoom.us_add-video-download-button.user
// @description Add a Download button below the currently viewing video on oth-regensburg.zoom.us
// @match *://oth-regensburg.zoom.us/*
// @run-at document-idle
// @version 1.0.0
// @grant none
// @author Lukas Wolfsteiner <lukas@wolfsteiner.media>
// @updateURL https://gist.github.com/dotWee/3124cadda4ad112e5ea33b9761e5353b/raw/a2e79ed7fa0909525abd81d125e3861409bb3c75/oth-regensburg.zoom.us_add-video-download-button.user.js
// @downloadURL https://gist.github.com/dotWee/3124cadda4ad112e5ea33b9761e5353b/raw/a2e79ed7fa0909525abd81d125e3861409bb3c75/oth-regensburg.zoom.us_add-video-download-button.user.js
@dotWee
dotWee / elearning.uni-regensburg.de_add-video-download-button.user.js
Last active June 11, 2023 00:48
Add a Download button below the currently viewing video on GRIPS OTH-Regensburg elearning.uni-regensburg.de
// ==UserScript==
// @name elearning.uni-regensburg.de_add-video-download-button.user
// @description Add a Download button below the currently viewing video on GRIPS OTH-Regensburg elearning.uni-regensburg.de
// @match *://elearning.uni-regensburg.de/*
// @version 1.0.0
// @grant none
// @author Lukas Wolfsteiner <lukas@wolfsteiner.media>
// ==/UserScript==
// get all iframes

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

04098d942dedbe4d6af7b8291a54b7a05b98169be50d1a66116855cccec322798fd874fc713e81304019a9d437caf4e387c52d9184569b6dc9f13c0f2d25919281
//
// Created by lukas on 19.10.2016.
//
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
// Anzahl der Argumente
// Bsp.: ./Getmax 1 5 3 7 9