This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Required packages: | |
# pip install SpeechRecognition mlx-whisper pyaudio | |
# Note: This script requires Apple Silicon Mac for MLX Whisper | |
import speech_recognition as sr | |
import numpy as np | |
import mlx_whisper | |
r = sr.Recognizer() | |
mic = sr.Microphone(sample_rate=16000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 微信公众号HTML手动清理与插入剪贴板内容 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description 在微信公众号页面添加按钮,手动清除或插入剪贴板内容到指定路径 | |
// @author Xsir | |
// @match *://mp.weixin.qq.com/cgi-bin/appmsg* | |
// @grant none | |
// ==/UserScript== |