Skip to content

Instantly share code, notes, and snippets.

Nokius /
Last active Oct 31, 2020 — forked from ubergesundheit/
systemd traefik.service

systemd Service Unit for Traefik

Adapted from caddy systemd Service Unit

The provided file should work with systemd version 219 or later. It might work with earlier versions. The easiest way to check your systemd version is to run systemctl --version.


We will assume the following:

Nokius /
Last active Oct 30, 2020
home assistant more interactive telegram bot

Home Assistant random snips telegram bot with interaction per state

Have a dynamic bot to responde on therten state.

- alias: Telegram controle xyz
  initial_state: 'on'
    platform: event
    event_type: telegram_command
Nokius /
Created Oct 11, 2020
Home Assistant snips for Homematic IP

Home Assistant Homematic IP random snips

Just a copy & past of some of snips may others wanna setup too.

Enjoy and hack on!

Notify if saboate happes on one of the enteties

configure custom binary sensor

Nokius /
Created Sep 19, 2019
Renkforce RSL366R

Funksteckdosen Renkforce Codes

Protocol: 1

Gruppe I:

1 ON: 1381717 1 OFF: 1381716

2 ON: 1394005 2 OFF: 1394004

View gist:e2822a571a1f5377c0149f7187c15526
Umstellen horizontal nach vertikal
vertical split to horizontall split
Ctrl-w t Ctrl-w K
horizontall split to vertical split
Ctrl-w t Ctrl-w H
View gist:154f4aeea35d3bc7ec3979c2f4927411

Finden von hidden characters in puppet code

cat -A < my_puppet >.pp

cat -n -A < my_puppet >.pp | grep < line number >

Nokius /
Created Aug 16, 2019
[git questions] Du willst deinen Bewerben ein paar fragen zu git stellen? Dan los!


Frage I

  • Initialisiere in einem neuen Ordner eine git repository.

$> mkdir my_fancy_project ; cd my_fancy_project ; git init

Frage II

Nokius / Yi_Discovery_Action_Camera_(J22).md
Created Jul 19, 2018
Yi Discovery Action Camera (J22) Protocol Reverse Engineering
View Yi_Discovery_Action_Camera_(J22).md

Yi Discovery Action Camera (J22) Protocol Reverse Engineering

Photo Mode


{"msg_id":16777228,"param":"precise quality;off","token":x}


{"rval":0,"msg_id":16777228}{"msg_id":7,"type":"setting_changed","param":"capture_mode","value":"precise quality","related":[{"dewarp_support_status":"off"},{"eis_support_status":"off"},{"rec_audio_support":"on"},{"support_sharpness":"on"},{"photo_size":"16M"},{"iq_photo_shutter":"auto"},{"timelapse_photo_shutter":"auto"}]}{"msg_id":7,"type":"setting_changed","param":"capture_mode","value":"precise quality","related":[{"dewarp_support_status":"off"},{"eis_support_status":"off"},{"rec_audio_support":"on"},{"support_sharpness":"on"},{"photo_size":"16M"},{"iq_photo_shutter":"auto"},{"timelapse_photo_shutter":"auto"}]}
Nokius /
Last active Nov 24, 2020
Install SailfishOS on Xperia™ Z3 Tablet Compact (SGP621)

Install SailfishOS on Xperia™ Z3 Tablet Compact (SGP621)


!!!! Backup your data you do it on your own risk !!!!

Nokius /
Created Mar 6, 2018
[Terraform][proxmox] small VM created with terraform on proxmox


simple VM created with terraform-provider-proxmox

  • one core
  • 512MB RAM
  • Ubuntu netinstall CDROM
  • 32GB IDE HDD
  • bridged network interface