Skip to content

Instantly share code, notes, and snippets.


DerEnderKeks DerEnderKeks

View GitHub Profile
DerEnderKeks /
Created Mar 11, 2019 — forked from ceres-c/
Using mfcuk r65 with libnfc 1.5.1 in 2018

You first need to download both libnfc 1.5.1 and mfcuk r65. The former is available among github releases wile the latter can be obtained via git rebase.

If you're on Arch you'll need pcsclite, if on Debian derivates libpcsclite-dev

Let's compile libnfc (<user> is your username)

mkdir -p ~/builds/nfc
cd ~/builds/nfc
tar zxf libnfc-1.5.1.tar.gz
DerEnderKeks /
Created Jan 20, 2019
Delete old files from the Downloads folder
#!/usr/bin/env bash
# Works with Git-Bash
echo "Deleting files..."
find "$HOME/Downloads/" -type f -mtime +3 -exec rm -f {} \;
echo "Deleting empty directories..."
find "$HOME/Downloads/" -type d -empty -delete
echo "Done."
DerEnderKeks / ^^.ahk
Created Aug 3, 2018
Replace ^^,`` and `` with a single one of them
View ^^.ahk
#SingleInstance, force
SendMode Input
SetWorkingDir %A_ScriptDir%
SendInput, {bs}
DerEnderKeks / LOL.ahk
Created Jul 10, 2018
Automatically login to League of Leagends
View LOL.ahk
; This AutoHotkey script automatically enters your League of Leagends password as soon as you press <CTRL>+<y> in the LOL client.
; You probably have to change the position for the mouse click if your LOL windows isn't set to 1920x1080.
#SingleInstance, force
#IfWinActive, ahk_class RCLIENT
SendMode Event
CoordMode, Mouse, Window
MouseClick, left, 1650, 375
DerEnderKeks /
Last active Jul 9, 2018
Script to backup the configuration of betaflight/INAV flight controllers
#!/usr/bin/env python3
import io
import time
from time import gmtime, strftime
import serial
if __name__ == '__main__':
# File:
# nginx-modsite
# Description:
# Provides a basic script to automate enabling and disabling websites found
# in the default configuration directories:
# /etc/nginx/sites-available and /etc/nginx/sites-enabled
# For easy access to this script, copy it into the directory:
DerEnderKeks /
Last active Oct 12, 2020
Simple Webhook Tutorial (Twitter -> Discord using IFTTT)

Simple Webhook Tutorial

In this tutorial, I will be explaining how to set up a simple webhook to relay your tweets to a Discord channel.

Step 1 - Register on IFTTT

  1. Go to and create an account (if you don't already have one).

Step 2 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send Tweets.

  2. In the settings for that channel, find the Webhooks option and create a new webhook.

DerEnderKeks / yanius.service
Created Apr 5, 2017
Yanius 2.x Systemd unit file
View yanius.service
ExecStart=/usr/local/bin/docker-compose -f /opt/Yanius/docker-compose.yml up
ExecStop=/usr/local/bin/docker-compose -f /opt/Yanius/docker-compose.yml stop
DerEnderKeks / Dockerfile
Created Apr 5, 2017
Yanius 2.x Dockerfile
View Dockerfile
FROM node:6.7
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json /usr/src/app/
RUN npm install
DerEnderKeks / docker-compose.yml
Created Apr 5, 2017
Yanius 2.x docker-compose.yml
View docker-compose.yml
version: '3'
build: .
- "56792:56792"
- ./upload:/usr/src/app/upload
- ./config:/usr/src/app/config
You can’t perform that action at this time.