Skip to content

Instantly share code, notes, and snippets.

View Schm1tz1's full-sized avatar
🇺🇦
#StandWithUkraine

Roman Schmitz Schm1tz1

🇺🇦
#StandWithUkraine
View GitHub Profile
@JeanOlivier
JeanOlivier / Daikin_PID.py
Created January 6, 2024 01:36
Home Assistant pyscript faikin Daikin PID
# Trying to do a PID for the daikin
#
# This is a WIP prototype. Only heating was tested.
# Using log.error because I can't seem to be able to find how to read other log levels.
from random import choices
ENABLED = True # Disabled if False. If true, the PID takes over when the Daikin is on.
target_temp = 22.5
@Blackshome
Blackshome / bathroom-humidity-exhaust-fan.yaml
Last active June 25, 2024 11:49
bathroom-humidity-exhaust-fan.yaml
blueprint:
name: Bathroom Humidity Exhaust Fan
description: >
# 🚿 Bathroom Humidity Exhaust Fan
**Version: 2.5**
Step into the future of freshness - customize it your way and experience the convenience of automated humidity control! 🌿🚿
@DennisFederico
DennisFederico / ksqldb-tutorial.md
Created August 4, 2022 17:06
KSQLDB Simple Tutorial with Confluent Cloud
tags: #ksqldb/tutorial

Provisioning ksqlDB Cluster

Cluster Data

environment=env-0x3135
@NAR8789
NAR8789 / dnsmasq.conf
Last active September 12, 2023 10:07
wildcard dns for docker-compose using dnsmasq
# explicitly define host-ip mappings
address=/myapp.local/172.16.1.2
# dnsmasq entries are always wildcard entries, so this maps both myapp.local and *.myapp.local
# (yes, it's fine for this to be your entire dnsmasq config. the defaults are pretty sensible)
@tomdaley92
tomdaley92 / README.md
Last active June 28, 2024 18:49
Proxmox - SPICE Client setup for MacOS

Proxmox - SPICE client setup for MacOS

  1. Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.

    brew tap jeffreywildman/homebrew-virt-manager
    brew install virt-viewer
  2. Once that's installed should be able make a call remote-viewer with a pve-spice.vv file downloaded from proxmox web interface

@egg82
egg82 / proxmox_nvidia.md
Last active June 25, 2024 08:40
NVidia Proxmox + LXC

Proxmox

Find the proper driver at the NVidia website.

Note: Make sure to select "Linux 64-bit" as your OS

Hit the "Search" button.

@burhan
burhan / openssl-cheat-sheet.sh
Created July 19, 2020 11:40
OpenSSL Cheat Sheet
# Generate new CSR and private key
openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key
# Generate new self-signed certificate
openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout privateKey.key -out certificate.crt
# Generate a new CSR from existing private key
openssl req -out CSR.csr -key privateKey.key -new
# Generate new CSR from certificate (must have private key)
@mitchese
mitchese / speedwire.py
Last active June 7, 2024 20:20
SMA Speedwire python interpreter
# SMA Speedwire interpreter
#
# This little script interprets SMA's speedwire as multicasted from the Sunny Home Manager 2
# and will print out the energy flow total, and for each phase
import socket
import struct
MULTICAST_IP = "239.12.255.254"
MULTICAST_PORT = 9522
@Hakky54
Hakky54 / openssl_commands.md
Last active June 17, 2024 14:32 — forked from p3t3r67x0/openssl_commands.md
Some list of openssl commands for check and verify your keys

OpenSSL 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active June 28, 2024 04:42
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !