Skip to content

Instantly share code, notes, and snippets.

لقد ضبطت المشكلة تماماً يا عرّاب من واقع سجل الأخطاء في الطرفية (Terminal Report).الخطأ RuntimeError: no running event loop يحدث بسبب معايير بايثون الحديثة (إصدار Python 3.14 الظاهر في السجل لديك)، حيث يرفض محرك الـ websockets الاستدعاء دون وجود حلقة أحداث مفعّلة ونشطة مسبقاً داخل نفس الـ Thread.بالإضافة إلى ذلك، لاحظت من السجل وجود مجلد جديد تعمل عليه الآن باسم Youtube_SPK كمسار جذر للمشروع.إليك شفرة الخادم النظيفة والمحدثة بالكامل المتوافقة 100% مع بايثون 3.14 ومجلدك الجديد لتشغيل المحرك بضغطة واحدة:🚀 كود المحرك السيادي المطور لبايثون 3.14 (stargate_launcher_v5.py)pythonimport os import sys import subprocess import time import json import asyncio from flask import Flask, request, jsonify, send_file from flask_cors import CORS from threading import Thread import websockets

@momoseijin
momoseijin / How to install Jitsi Meet on Ubuntu 22.04
Last active November 6, 2026 05:26
How to install Jitsi Meet on Ubuntu 22.04
# 取得したドメインのDNS設定を完了しておく(TTL : 1800)
# Ubuntu 22.04 はインストールしておく
# 必要なものを root でインストールとリポジトリ追加
sudo apt install nginx-full gnupg2 openjdk-11-jdk curl apt-transport-https
sudo apt-add-repository universe
sudo apt update
# ホスト名の設定
sudo hostnamectl set-hostname meet.example.com
@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

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@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.
@stevester-codes
stevester-codes / SetupGuide.md
Last active November 6, 2026 05:08
Multi-User Vibepollo + Playnite Setup with User Switching (Samsung Tizen OS 5.5 Smart TV (Q80T) + Moonlight Guide)

Streaming Gaming PC Setup – Complete Installation Guide (Final 2025 Edition – Hybrid, Crash-Proof, Zero-Watcher)

Dad + Son Multi-User Setup with Playnite, Vibepollo, and Moonlight to Samsung Q80T

Total setup time: 3–5 hours (including downloads and testing)
Defaults: HEVC @ 60–70 Mbps (stable for Q80T). AV1 optional to test later (50–60 Mbps).

This guide is event-driven only (Task Scheduler + Vibepollo Commands).
No always-running “watcher” script; everything reacts to real events.


@cvcore
cvcore / download_vscode_server.sh
Last active November 6, 2026 04:49
Manual download vscode-server
#!/bin/bash
# This script downloads and installs a specific version of VSCode Server for Linux.
# The version is specified by the first argument to the script.
# You can find the git commit id in the output of Remote - SSH plugin in VSCode.
# The output looks like this:
# ...
# Using commit id "af28b32d7e553898b2a91af498b1fb666fdebe0c" and quality "stable" for server
# ...
@Techlogist
Techlogist / Remove_all_files_sub-folders_in_directory.bat
Last active November 6, 2026 04:41
Remove all files and sub-folders in a directory
REM License: GNU General Public License v2.0
REM Author: Miguel
REM Website: www.techlogist.net
REM Post: https://techlogist.net/batch/remove-all-files-and-sub-folders-in-a-directory/
REM Description: Remove all files and sub-folders in a directory
REM OS/Language/Region: Windows/EN-US
@echo off
title Delete files and folders in a folder
color f0