Skip to content

Instantly share code, notes, and snippets.

View eoleedi's full-sized avatar

蔡鳳駿 eoleedi

View GitHub Profile
@eoleedi
eoleedi / S31-Ultimate.yaml
Last active April 15, 2026 07:00 — forked from patrick3399/S31-Ultimate.yaml
S31-Ultimate
#Feature:
#Adjustable Overload Protect, Custom Current and Timing.
#Auto Overload Recovery, Adjustable Timing
#All Time 16A Safety Overload Protect
#Changeable Relay Initial State
#Overload Warning With LED Effect
#Detachment Relay Mode Support
#Press the Buttom more then 10s to Return the Factory Setting (AP Mode)
#Web and OTA, mDNS Available
#Github https://gist.github.com/patrick3399/23297c6ca4b37dfc87ca8593183a9a17
@eoleedi
eoleedi / mlx-whisper-asr.py
Last active February 1, 2025 16:03
mlx whisper ASR for caption generation (SRT)
#!/usr/bin/env python3
import argparse
import os
import sys
import glob
import mlx_whisper # 請先安裝 mlx-whisper
import webrtcvad
from pydub import AudioSegment
from pydub.utils import make_chunks