套件名稱 | 推薦指數 | 評論 |
---|---|---|
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
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(); |
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
# 安裝並載入所需的套件,使用pacman套件管理器 | |
# 如果pacman未安裝,則先安裝pacman | |
if (!require("pacman")) install.packages("pacman") | |
# 使用pacman一次性載入多個套件:ggsurvfit(繪製生存曲線)、survival(生存分析)、ggplot2(繪圖系統) | |
pacman::p_load(ggsurvfit, survival, ggplot2, showtext) | |
# Find first TTF font in current directory and load it as "default" | |
ttf_files <- list.files(pattern = "\\.ttf$", ignore.case = TRUE) | |
if (length(ttf_files) > 0) { | |
font_add("default", ttf_files[1]) | |
cat("Loaded font:", ttf_files[1], "\n") |
title | marp | author | paginate | headingDivider | theme | footer |
---|---|---|---|---|---|---|
56-year-old man with chronic anemia for one year |
true |
Hsieh-Ting Lin |
true |
3 |
main |
[■](#table-of-contents) |
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
import sys | |
""" | |
排班小精靈 (Scheduling Wizard) - Python Version | |
输入格式 (Input Format): | |
--------------------- | |
1. 第一行: 日数,起始星期,参与排班人数 | |
First line: number_of_days,starting_weekday,number_of_staff | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder