This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoinstall: | |
version: 1 | |
locale: "en_US.UTF-8" # default | |
refresh-installer: | |
update: false # default | |
keyboard: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Engelmann Funkaufsatzmodul FAW | |
https://www.engelmann.de/product/funkaufsatzmodul-faw/ | |
Platine ttl ir lesekopf lese-schreib-Kopf EHZ Volkszähler Hichi Smartmeter | |
https://www.ebay.de/itm/313525835802 | |
Wärmezähler über optische M-Bus-Schnittstelle auslesen | |
https://www.mikrocontroller.net/topic/438972?page=single |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>3D Map</title> | |
<link rel='stylesheet' href='../../dist/maplibre-gl.css' /> | |
<script src='../../dist/maplibre-gl-dev.js'></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import yubikey_otp_check_v2 | |
def verify(otp): | |
message = '' | |
user = '' | |
users = { | |
b'cccccabcdef1': b'user1', | |
b'cccccabcdef2': b'user2', | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
print('--------------') | |
active_kernel_version = os.popen('uname -r').read().strip().replace('-generic', '') | |
existing_kernels = os.popen('dpkg --list | egrep -i --color "ii (linux-image|linux-headers|linux-modules)"').read().strip() | |
print(existing_kernels) | |
print('--------------') | |
existing_kernels = os.popen('dpkg --list | egrep -i --color "ii (linux-image)"').read().strip() | |
kernel_versions = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
sys.dont_write_bytecode = True | |
import yubikey_otp_check_v2 | |
users = { | |
'cccccabcdef1': 'user1', | |
'cccccabcdef2': 'user2', | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# header = email.message_from_string(mail['header']) | |
# decoded_subject = myDecodeHeader(header["subject"]) | |
def myDecodeHeader(subject): | |
if subject is None: | |
subject = '' | |
else: | |
subject = subject.replace("\r\n", "") | |
try: | |
subject = unicode(subject, 'utf-8') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import socket | |
import base64 | |
src = '192.168.1.2' # ip of remote | |
mac = '00-AB-11-11-11-11' # mac of remote | |
remote = 'python remote' # remote name | |
dst = '192.168.1.3' # ip of tv | |
app = 'python' # iphone..iapp.samsung |