Skip to content

Instantly share code, notes, and snippets.

@andreibsk
andreibsk / aqara_wall_outlet_h2_eu.py
Created October 19, 2025 15:00
Custom ZHA quirks for Aqara Wall Outlet H2 EU and Wall Switch H1 EU
from __future__ import annotations
from enum import Enum
from typing import Final
from zigpy import types
from zigpy.quirks import CustomCluster
from zigpy.quirks.v2 import QuirkBuilder
from zigpy.zcl.clusters.general import (
DeviceTemperature,
@sinceohsix
sinceohsix / Installing LiveContainer+Sidestore.md
Last active December 30, 2025 04:27
Installing LiveContainer+SideStore from start to finish.

A full rewrite of this guide is coming verrrry soon.

This guide was written as a fast way to help people get back some of their sideloaded apps after the mass revocation wave a few months back. Thanks to some new software this process has gotten a LOT simpler and faster. This guide was still being shared around which was causing confusion that I was unaware of (I'm sorry about that 😥), to try and fix this, I have written a completely new guide that is much easier to read and follow.

I am proof-reading it and adding final touches then it will be ready to be released again here so you can continue to share it with people, and I will try my best to keep it up to date as new software is released.

Thank you everyone for actually using this and sharing it, I was unaware of how "popular" it had gotten, so I hope this new guide can help you all out even more than the last one.

NOTE: Over time, old comments will be deleted as they will no longer apply here at all, they will simply cause confusion.

@koolvn
koolvn / 01-Domain VPN Routing via DNSmasq tagging AsusWRT-Merlin.md
Last active December 23, 2025 14:05
Domain VPN Routing via DNSmasq tagging AsusWRT-Merlin

Как настроить роутинг трафика через VPN по доменному имени

Описание

Подход основан на маркировке пакетов. Далее по этим маркерам роутер будет определять какие пакеты слать через VPN клиента, а какие нет

ВАЖНО:

  1. Клиенты роутера должны использовать адрес роутера как DNS (Дефолтное поведение)
  2. У вас уже должен быть настроен и подключен VPN клиент
  3. У вас включен и настроен доступ к роутеру по ssh
  4. Проверьте, что переменная TABLE_ID=300 в скрипте /jffs/scripts/vpnroute не пересекается с номерами из /etc/iproute2/rt_tables. Измените при необходимости
@ongkiii
ongkiii / IPA-Sources.md
Last active December 30, 2025 02:25
REPOS/TELEGRAM CHANNELS LIST BY u/angkitbharadwaj
@gavine99
gavine99 / proton-vpn-wireguard-downloader.py
Last active September 13, 2025 20:27
create proton wireguard vpn configurations
# Linux recipe:
# python3 -m venv proton-vpn-wireguard-downloader
# pushd proton-vpn-wireguard-downloader
# wget {{ zip url for this gist }} -O proton-vpn-wireguard-downloader.zip
# wget "https://github.com/ProtonVPN/python-proton-core/archive/refs/tags/v0.2.0.zip" -O python-proton-core-0.2.0.zip
# wget "https://github.com/ProtonVPN/python-proton-vpn-logger/archive/refs/tags/v0.2.1.zip" -O python-proton-vpn-logger.0.2.1.zip
# wget "https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v0.32.2.zip" -O python-proton-vpn-api-core.0.32.2.zip
# unzip -j proton-vpn-wireguard-downloader.zip
# unzip python-proton-core-0.2.0.zip
# unzip python-proton-vpn-logger.0.2.1.zip
@koolvn
koolvn / 01-WG UDP hack on AsusWRT-Merlin.md
Last active December 16, 2025 17:54
# UDP Trash Hack for WireGuard on AsusWRT Merlin

UDP Trash Hack for WireGuard on AsusWRT Merlin

Подготовка

Проверяем, что включен пункт меню Enable JFFS custom scripts and configs

image

Установка

  • Кладём файл wgclient-start в /jffs/scripts/
  • Делаем скрипт запускаемым
@mrkhachaturov
mrkhachaturov / Wireguard DPI обход РКН - AsusWRT-Merlin.md
Last active December 22, 2025 10:53
WireGuard DPI обход РКН на роутерах ASUS с прошивкой AsusWRT-Merlin

Обход блокировок WireGuard с помощью скрипта на AsusWRT-Merlin

В связи с блокировками со стороны Роскомнадзора, возникает необходимость обойти такие ограничения для WireGuard на вашем роутере. Это можно сделать путем отправки одного произвольного UDP-пакета, который нарушает первоначальное распознавание протокола WireGuard. Следуйте этим шагам, чтобы настроить решение на базе прошивки AsusWRT-Merlin.

Сейчас я разрабатываю установку AmneziaWG для роутеров ASUS с прошивкой AsusWRT-Merlin, что обеспечит более устойчивое и автоматизированное решение этих проблем. Отправка UDP-пакета является временным решением для обхода текущих ограничений, пока не будет завершена интеграция AmneziaWG

Шаг 1: Установка прошивки [AsusWRT-Merlin](https://www.asuswrt-merlin.net/) Начнем с того, что роутер должен быть прошит прошивкой AsusWRT-Merlin. Проверьте, поддерживается ли ваш роутер, перейдя на сайт AsusWRT-Merlin. Следуйте инструкциям на сайте для установки прошивки.
@tiimk
tiimk / protconf.py
Created June 30, 2024 17:26
Create configs and auto vpn swapping
import http.client
import http.cookies
import json
import base64
import hashlib
import os
import random
import argparse
import time
from cryptography.hazmat.primitives import serialization
@jetfir3
jetfir3 / download_fusion.sh
Last active December 28, 2025 04:59
Download VMware Fusion Pro Without a Broadcom Account
#!/usr/bin/env bash
# Download VMware Fusion for macOS without a Broadcom account.
#
# This script allows you to download various versions of VMware Fusion
# from Broadcom's Cloudflare CDN (versions 8.0.0 to 13.6.3)
# or from the archive.org VMware Workstation archive (versions 8.x.x+).
#
# Options:
# -k: Keep the downloaded file compressed (Cloudflare only; ignored for archive.org).
@dieu
dieu / Dockerfile
Last active October 31, 2025 06:19
Home Assistant Docker on Mac OS
FROM homeassistant/home-assistant:stable
# Install avahi-daemon in container
# https://gnanesh.me/avahi-docker-non-root.html
RUN set -ex \
&& apk --no-cache --no-progress add avahi avahi-tools dbus \
# Disable default Avahi services
&& rm /etc/avahi/services/* \
&& rm -rf /var/cache/apk/*