Skip to content

Instantly share code, notes, and snippets.

View thomasvnl's full-sized avatar

Thomas V. thomasvnl

  • Dordrecht, The Netherlands
View GitHub Profile
@thomasvnl
thomasvnl / keybase.md
Created October 25, 2016 14:01
Keybase validation

Keybase proof

I hereby claim:

  • I am thomasvnl on github.
  • I am thomasvnl (https://keybase.io/thomasvnl) on keybase.
  • I have a public key whose fingerprint is 58C1 81A5 989C D93A CCEA 1334 10CB 0951 C795 F443

To claim this, I am signing this object:

@thomasvnl
thomasvnl / ducky.md
Created March 3, 2021 08:00 — forked from schmich/ducky.md
Programming media keys on the Ducky One 2 Skyline

Programming Media Keys on the Ducky One 2 Skyline

To use media keys on the Ducky One 2 Skyline, you must record a macro to bind the media function to a hotkey combination, i.e. Fn plus some key.

Example

Important: In the instructions below, "Press X+Y+Z" means press and hold key X, press and hold key Y, press and hold key Z in that order, and then release all three.

As an example, to bind Fn+PgUp to the play/pause media function:

@thomasvnl
thomasvnl / Dockerfile
Last active September 26, 2021 13:10
Dockerfile for NodeRED with dialout group permission so it can access COM/(USB)tty devices on the host (like the ConBee USB stick, or RFLink)
FROM nodered/node-red
USER root
RUN addgroup node-red dialout
USER node-red
@thomasvnl
thomasvnl / free_ports.sh
Created January 11, 2022 22:24 — forked from hjbotha/free_ports.sh
Free ports 80 and 443 on Synology NAS
#! /bin/bash
# NEWLY ADDED BACKUP FUNCTIONALITY IS NOT FULLY TESTED YET, USE WITH CARE, ESPECIALLY DELETION
# Developed for DSM 6 - 7.0.1. Not tested on other versions.
# Steps to install
# Save this script in one of your shares
# Edit it according to your requirements
# Backup /usr/syno/share/nginx/ as follows:
# # cd /usr/syno/share/
# # tar cvf ~/nginx.tar nginx