套件名稱 | 推薦指數 | 評論 |
---|---|---|
absl-py | ⭐⭐⭐⭐ | Google的抽象庫,為TensorFlow和其他ML專案提供優秀的底層工具 |
ace-tools | ⭐⭐⭐ | 內部OpenAI工具,功能專一但在特定環境中很有用 |
aeppl | ⭐⭐⭐ | 概率編程的自動微分工具,在貝葉斯統計中有特定用途 |
aesara | ⭐⭐⭐⭐ | PyMC的計算後端,對於概率編程和貝葉斯分析非常強大 |
affine | ⭐⭐⭐ | 地理空間轉換的簡單工具,在GIS應用中很實用 |
aiohttp | ⭐⭐⭐⭐⭐ | 非同步HTTP客戶端/伺服器,現代Python網絡開發的必備工具 |
This file contains hidden or 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
#!/bin/bash | |
# Downloads Organizer Script | |
# Organizes files by age (3d, 7d, 14d, 30d, old) and then by file type | |
set -e | |
# Configuration | |
DOWNLOADS_DIR="/Users/htlin/Downloads" | |
DRY_RUN=${DRY_RUN:-false} |
This file contains hidden or 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
/** | |
* Adds a menu to run the converter. | |
*/ | |
function onOpen() { | |
DocumentApp.getUi() | |
.createMenu('Markdown') | |
.addItem('Convert #, **, and lists', 'convertMarkdownHeadingsAndBold') | |
.addToUi(); | |
} |
This file contains hidden or 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
#!/bin/bash | |
echo "Removing Microsoft AutoUpdate..." | |
# Kill any running Microsoft AutoUpdate processes | |
echo "Killing Microsoft AutoUpdate processes..." | |
# Find PIDs of Microsoft AutoUpdate processes | |
PIDS=$(ps aux | grep -i "Microsoft AutoUpdate" | grep -v grep | awk '{print $2}') |
This file contains hidden or 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
#!/bin/bash | |
# 讀取 JSON 輸入 | |
json_input="$(cat)" | |
# 擷取 message 欄位(需要 jq) | |
message="$(echo "$json_input" | jq -r '.message')" | |
# 如果 jq 或訊息抓不到,就退出 | |
if [[ -z "$message" || "$message" == "null" ]]; then |
This file contains hidden or 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
START=1 | |
END=100 | |
for i in $(seq -w $START $END); do | |
echo "Now processing note ${i}..." | |
claude -p --verbose "Now Process ${i}.md, YOUR_PROMPT_HERE" | |
osascript -e "display notification \"Finished ${i}\" with title \"Claude Processing\"" | |
done | |
osascript -e "display notification \"All notes from ${START} to ${END} processed.\" with title \"Done\"" |
This file contains hidden or 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
function onOpen() { | |
const ui = SlidesApp.getUi(); | |
ui.createMenu('自定功能') | |
.addItem('⏳ Reload ProgressBars', 'updateProgressBars') | |
.addToUi(); | |
} | |
function updateProgressBars() { | |
const presentation = SlidesApp.getActivePresentation(); | |
const slides = presentation.getSlides(); |
This file contains hidden or 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
(* | |
📋 Smart Paste for Finder | |
👨💻 Author: Hsieh-Ting Lin | |
🗓️ Last Updated: 2025-05-01 | |
📝 Description: | |
This AppleScript acts as a smart "Cmd + V" in macOS Finder. | |
Depending on clipboard content, it will: | |
📸 Paste images as PNG files in the active Finder folder | |
📝 Paste plain text as a .txt file |
This file contains hidden or 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
function icloudownload() { | |
if ! command -v find >/dev/null; then | |
echo "❌ 'find' is not installed. Please install it first." | |
return 1 | |
fi | |
if [[ -z "$1" ]]; then | |
echo "📂 Usage: icloudownload /path/to/icloud/file_or_folder" | |
return 1 | |
fi |
This file contains hidden or 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
/** | |
* 將 Google Sheets 中所有看似日期的值轉換成 YYYYMMDD 格式。 | |
* 支援真實日期物件與常見格式字串(如 "2024-4-5", "2024/04/05", "2024.4.5")。 | |
* 用法:在 Google Sheets 的 App Script 中貼上此函式,執行 convertAnyDateToYYYYMMDD_RobustCheck()。 | |
*/ | |
function convertAnyDateToYYYYMMDD_RobustCheck() { | |
const sheet = SpreadsheetApp.getActiveSheet(); | |
const range = sheet.getDataRange(); |
NewerOlder