Skip to content

Instantly share code, notes, and snippets.

@yifanwang-yet
yifanwang-yet / libretv-sources.json
Last active November 5, 2026 22:20
LibreTV 点播源+直播源订阅 (2026-10-13 实测)
{
"name": "yifan 精选源列表 (2026-10-13 实测可用)",
"version": 2,
"sources": [
{ "name": "暴风资源", "url": "https://bfzyapi.com/api.php/provide/vod", "isAdult": false },
{ "name": "非凡资源", "url": "https://cj.ffzyapi.com/api.php/provide/vod", "isAdult": false },
{ "name": "量子资源", "url": "https://cj.lziapi.com/api.php/provide/vod", "isAdult": false },
{ "name": "无尽资源", "url": "https://api.wujinapi.me/api.php/provide/vod", "isAdult": false },
{ "name": "优酷资源", "url": "https://api.ukuapi88.com/api.php/provide/vod", "isAdult": false },
{ "name": "光速资源", "url": "https://api.guangsuapi.com/api.php/provide/vod", "isAdult": false },
@Julynx
Julynx / 15_python_tips.md
Last active March 20, 2026 02:56
15 Python Tips To Take Your Code To The Next Level!
@std-microblock
std-microblock / main.md
Last active November 6, 2026 06:04
关于"小米反诈监控"传闻的技术核验

结论

传闻中"系统内置反诈数据库、记录截屏时间与通话、屏幕共享行为"这部分属实;"域名用途"部分与实际不符;"GuardProvider 静默录屏"在部分机型上属实;"关掉开关仍在运行""卸载 GuardProvider 无效"属实;"669 次连续读写""每台手机都在录"不成立。


一、功能名称与开关位置

传闻描述的行为属于手机管家中的"电诈防护",不是独立的后台程序。

@Er3nico
Er3nico / automation_display_aufwecken.yaml
Last active November 6, 2026 05:14
Display Studio per Präsenz aufwecken (Nicht für den mmWaveSensor am Display sondern nur Extern über zb einen ESP32) – Er3nico
alias: Display Studio per Präsenz aufwecken
description: >-
Weckt das Tessera-Display nur, wenn jemand direkt davor steht
(Erkennungsdistanz unter 60 cm). Standby nach 2 Minuten ohne Person in diesem
Bereich.
triggers:
- above: 0
below: 60
entity_id: sensor.prasenz_studio_erkennungsdistanz
id: nah
@charignon
charignon / LLM_GUIDE.md
Created December 14, 2025 21:21
Cherri Language Guide for LLMs - Teaching AI to write Apple Shortcuts

Cherri Language Guide for LLMs

Overview

Cherri is a programming language that compiles to Apple Shortcuts. When writing Cherri code, you're essentially creating iOS/macOS Shortcuts using a more traditional programming syntax.

Key Concepts

1. Basic Syntax

  • Comments: Use /* */ for block comments, // for line comments
  • Variables: Use @varName = value to declare variables
@Er3nico
Er3nico / praesenz_ld2410c.yaml
Created October 11, 2026 22:55
LD2410C Präsenzsensor am Guition 4848S040 Display (ESPHome + Tessera) – Er3nico
# LD2410C Präsenzsensor am Guition ESP32-S3-4848S040
# Video: Er3nico auf YouTube
#
# Anschluss:
# Display 5V -> Sensor VCC
# Display GND -> Sensor GND
# Display TX (GPIO43) -> Sensor OUT
#
# Diese Zeilen in die bestehende Tessera-Config einfügen.
# last_touch_ms und wake_display kommen aus der Tessera-Config.
Info : No device selected, using first device.
Info : J-Link ARM V8 compiled Nov 28 2014 13:44:46
Info : Hardware version: 8.00
Info : VTarget = 3.313 V
Info : clock speed 1000 kHz
Info : JTAG tap: stm32f2x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x4)
Info : JTAG tap: stm32f2x.bs tap/device found: 0x06411041 (mfg: 0x020 (STMicroelectronics), part: 0x6411, ver: 0x0)
Info : JTAG tap: auto0.tap tap/device found: 0x3ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x3)
Info : JTAG tap: auto1.tap tap/device found: 0x16410041 (mfg: 0x020 (STMicroelectronics), part: 0x6410, ver: 0x1)
Info : JTAG tap: auto2.tap tap/device found: 0x3ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x3)
@Kartones
Kartones / postgres-cheatsheet.md
Last active October 27, 2026 23:13
PostgreSQL command line cheatsheet

PSQL Cheatsheet

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@achesco
achesco / split-to-scenes.sh
Last active October 25, 2025 04:38
Detect and split video to scenes with ffmpeg
# Splits video to separate scenes files
# Inspired by https://stackoverflow.com/a/38205105
#!/bin/bash
file=""
out="./"
diff=0.4
bitrate="512k"
trim=0