Skip to content

Instantly share code, notes, and snippets.

@Julynx
Julynx / 15_python_tips.md
Last active March 20, 2026 02:56
15 Python Tips To Take Your Code To The Next Level!
import modal
def download_boltz2():
from mosaic.models.boltz2 import Boltz2
Boltz2()
### Build modal image: install mosaic + deps and download boltz2 model.
image = (
modal.Image.debian_slim(python_version="3.12")
@Khemmie-Ray
Khemmie-Ray / template.md Secret
Created November 9, 2026 15:36
AI Usage Log Template

Name: Cohort: Web3Bridge Cohort XV

# Date Tool Project name/Link What I was trying to do Prompt (short) What AI gave Accepted / Changed / Rejected Why How I verified Linked PR or issue
1
@Raukze
Raukze / contact-sensor-left-open-notification.yaml
Last active November 3, 2026 19:42
Home Assistant Blueprint: Contact Sensor Left Open Notification
blueprint:
name: 🚪 Contact Sensor Left Open Notification by Malte
description: |
📲 Notifies you when a door or window is left open.
🚀 Version 2024.04.23.1
Are you tired of worrying about open doors or windows? This blueprint has got you covered! It's designed to send you a prompt notification when a door or window remains open for a specified duration.
📖 For Details see this [Blog post](https://community.home-assistant.io/t/contact-sensor-door-or-window-left-open-notification/652571)
@DhananjayPorwal
DhananjayPorwal / helium-drm-fix.md
Created May 30, 2026 16:22
Manual Widevine DRM fix for Helium Browser (Linux / macOS / Windows)

How to get Widevine DRM working in Helium Browser (Linux, macOS, Windows)

Helium doesn't ship with Widevine DRM out of the box because it's an ungoogled-chromium fork. If you try to use Spotify, Netflix, or Crunchyroll, it'll just fail.

You can fix this easily by dropping the Widevine files from a browser that already has them (like Chrome or Brave) right into Helium's data folders. Since Helium scans these directories when it boots up, it'll pick them up automatically.

Here's the quick way to copy them over manually depending on your OS.


<?php
declare(strict_types=1);
namespace Infrastructure\Messaging;
use Doctrine\Persistence\ManagerRegistry;
use Psr\Log\LoggerInterface;
use Symfony\Component\Messenger\Envelope;
use Symfony\Component\Messenger\Middleware\MiddlewareInterface;
@pavax
pavax / z2m_aqara_trv_external_temperature.yaml
Last active May 14, 2026 12:03
z2m_aqara_trv_external_temperature.yaml
blueprint:
name: Aqara TRV E1 External Temperature Control
description: >
This automation allows the Aqara TRV E1 Smart Radiator Thermostat to use temperature readings from an external sensor rather than its internal sensor. Whenever the temperature sensor reports a new value, it is sent to the TRV for more accurate climate control.
domain: automation
source_url: "https://gist.github.com/pavax/8d6ed250765d89cb281d4a1762b8d2e8"
input:
external_temp_sensor:
name: External Temperature Sensor
@fawazahmed0
fawazahmed0 / breach.txt
Last active November 7, 2026 19:28
Email and password breach collection list
# Please Note, I am sharing this, hoping this will be used for good public use, such as data analysis, penetration testing etc
# These links are already available all over the internet
# Also Note, Trying to login into someone else's account without their permission is unethical and illegal
# Collection 1
magnet:?xt=urn:btih:B39C603C7E18DB8262067C5926E7D5EA5D20E12E&dn=Collection%201&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce
# Collection 2-5 & Antipublic
magnet:?xt=urn:btih:D136B1ADDE531F38311FBF43FB96FC26DF1A34CD&dn=Collection%20%232-%235%20%26%20Antipublic&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce
@zek
zek / turkiye-origin-iptv.m3u
Created July 19, 2026 18:49
Turkiye origin IPTV — iptv-org/iptv tr.m3u filtered (TRT/DAION/ercdn/mncdn, 56 ch)
#EXTM3U
#EXTINF:-1 tvg-id="24TV.tr@SD" tvg-logo="https://i.imgur.com/8FO41es.png" http-user-agent="Mozilla/5.0 Macintosh; Intel Mac OS X 10_14_5 AppleWebKit/537.36 KHTML, like Gecko Chrome/76.0.3809.25 Safari/537.36" group-title="News",24 TV (1080p)
#EXTVLCOPT:http-user-agent=Mozilla/5.0 Macintosh; Intel Mac OS X 10_14_5 AppleWebKit/537.36 KHTML, like Gecko Chrome/76.0.3809.25 Safari/537.36
https://mn-nl.mncdn.com/kanal24/smil:kanal24.smil/playlist.m3u8
#EXTINF:-1 tvg-id="360.tr@SD" tvg-logo="https://i.imgur.com/agn47sQ.png" group-title="News",360 TV (720p) [Not 24/7]
https://turkmedya-live.ercdn.net/tv360/tv360.m3u8
#EXTINF:-1 tvg-id="A2TV.tr@SD" tvg-logo="https://iatv.tmgrup.com.tr/site/v2/a2tv/i/a2tv-logo.png" group-title="General",A2TV (1080p)
https://rnttwmjcin.turknet.ercdn.net/lcpmvefbyo/a2tv/a2tv.m3u8
#EXTINF:-1 tvg-id="AHaber.tr@SD" tvg-logo="https://upload.wikimedia.org/wikipedia/commons/7/7c/Ahaber_Logo.png" group-title="News",A Haber (1080p)
https://rnttwmjcin.turknet.ercdn.net/lcpmvefbyo/ahaber/a
@DexFolf
DexFolf / openxr_linux.md
Created November 24, 2025 07:43
Fix for OpenXR games not working correctly with SteamVR on Linux (i.e. Beat Saber)

Fix for OpenXR games not working correctly with SteamVR on Linux (i.e. Beat Saber)

For some reason the "Set SteamVR as OpenXR Runtime" button is broken on Linux, here's how to do it manually.

Make an OpenXR config directory if it doesn't exist

$ mkdir -p ~/.config/openxr/1

Link SteamXR to be the default OpenXR runtime (assuming Steam is installed in the default directory)

$ ln -s ~/.local/share/Steam/steamapps/common/SteamVR/steamxr_linux64.json ~/.config/openxr/1/active_runtime.json