Skip to content

Instantly share code, notes, and snippets.

@Nokius
Nokius / Bonnet_Promotions.md
Last active June 2, 2022 19:42
Bonnet Promotions ⚡🔋🚗

Bonnet Promotions

Trying to keep track of Promotions handed out by Bonnet.

NEW USER Promotions

ONEFREE
FIRSTCHARGE
FIRSTCHARGE2
FREECHARGE2

@Nokius
Nokius / readme.md
Last active October 31, 2020 20:06 — forked from ubergesundheit/readme.md
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.

Instructions

We will assume the following:

@Nokius
Nokius / bot.md
Last active October 30, 2020 11:55
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'
  trigger:
    platform: event
 event_type: telegram_command
@Nokius
Nokius / homematic_ip.md
Created October 11, 2020 08:49
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
Nokius / renkforce.md
Created September 19, 2019 21:38
Renkforce RSL366R

Funksteckdosen Renkforce Codes

Protocol: 1

Gruppe I:

1 ON: 1381717 1 OFF: 1381716

2 ON: 1394005 2 OFF: 1394004

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
@Nokius
Nokius / gist:154f4aeea35d3bc7ec3979c2f4927411
Created August 16, 2019 12:07
[puppet] find hidden caraters

Finden von hidden characters in puppet code

cat -A < my_puppet >.pp

cat -n -A &lt; my_puppet &gt;.pp | grep &lt; line number &gt;

@Nokius
Nokius / git_fragen_bewerber.md
Created August 16, 2019 12:06
[git questions] Du willst deinen Bewerben ein paar fragen zu git stellen? Dan los!

Basic

Frage I

  • Initialisiere in einem neuen Ordner eine git repository.

$> mkdir my_fancy_project ; cd my_fancy_project ; git init

Frage II

@Nokius
Nokius / Yi_Discovery_Action_Camera_(J22).md
Created July 19, 2018 21:43
Yi Discovery Action Camera (J22) Protocol Reverse Engineering

Yi Discovery Action Camera (J22) Protocol Reverse Engineering

Photo Mode

Request:

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

Response:

{"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
Nokius / install.md
Last active August 5, 2022 12:29
Install SailfishOS on Xperia™ Z3 Tablet Compact (SGP621)

Install SailfishOS on Xperia™ Z3 Tablet Compact (SGP621)

SailfishOS

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