Skip to content

Instantly share code, notes, and snippets.

View githubhjs's full-sized avatar
🎯
Focusing

Chih-Hsueh "Josh" Huang githubhjs

🎯
Focusing
View GitHub Profile
@TaiNing1237
TaiNing1237 / MagicInstall.bat
Created January 1, 2026 04:12
Office 2024 MagicInstall Script
@echo off
setlocal
:: =========================================================
:: 重要:切換到腳本所在的資料夾
:: 這能解決 "找不到 xml" 或路徑錯誤的問題
:: =========================================================
cd /d "%~dp0"
:MENU
CLS
@intellectronica
intellectronica / 0.README.md
Last active December 3, 2025 04:40
Invoice Generator SKILL (Example)

Invoice Generator SKILL (Example)

Get invoice.zip

Note: This is an example skill for educational purposes. It demonstrates how to create a skill that generates PDF documents from templates. You should use it to learn how to build your own invoice or document generation skills, not as a production invoicing solution.

Use this skill to generate professional PDF invoices by collecting invoice details interactively and processing them through a Word document template. It handles seller/buyer information, line items, VAT calculations, and payment terms.

Works with Claude Code locally (extract to ~/.claude/skills/), with Skillz for any agent, or on the Claude web app.

@intellectronica
intellectronica / 0.README.md
Last active April 14, 2026 22:23
SKILL: Fetch YouTube Transcript

YouTube Transcript SKILL

Get youtube-transcript.zip

Use this skill to fetch the transcript of a YouTube video, with or without timestamps.

Use this skill with Claude (by extracting it to .claude/skills/) or with any other agent using Skillz.

Note: This skill is unlikely to run successfully on the Claude web app, since access to YouTube is blocked. Use it with Claude Code or other local agents.

@githubhjs
githubhjs / dedup_env_var.zsh
Last active September 3, 2025 09:45
This Zsh function, dedup_env_var, is designed to remove duplicate entries from a colon-separated environment variable, such as $PATH.
#!/bin/zsh
#
# Function: Removes duplicate, colon-separated entries from a specified
# environment variable.
# Usage: dedup_env_var <VARIABLE_NAME>
# Example: dedup_env_var PATH
#
dedup_env_var () {
# Store the first argument (the environment variable's name) in a local variable.
@githubhjs
githubhjs / _template.ott
Created October 19, 2023 02:06 — forked from rossant/_template.ott
Convert from Markdown to OpenOffice for Linux Magazine
@githubhjs
githubhjs / twinapps_required_apps.xml
Last active October 19, 2023 09:46 — forked from shakalaca/twinapps_required_apps.xml
給 ZenUI 4.0 之後 (including Asus Rog Phone 3) 應用分身使用的 app (including 野球魂/プロスピA) 支援設定檔
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="twinapps_required_apps">
<item>com.android.vending</item>
<item>com.google.android.gms</item>
<item>jp.naver.line.android|Line: Free Calls &amp; Messages</item>
<item>com.facebook.katana|Facebook</item>
<item>com.facebook.orca|Messenger - Text and Video Chat for Free</item>
<item>com.tencent.mm|WeChat</item>
<item>com.whatsapp|WhatsApp Messenger</item>
@yuchingtw
yuchingtw / nycu-oauth-document.md
Last active January 14, 2026 21:20
陽明交通大學 OAuth 服務 - 開發者說明文件

陽明交通大學 OAuth 服務 - 開發者說明文件

這裡會介紹如何透過陽明交通大學 OAuth 服務獲取使用者資訊。本平台是依據 OAuth 2.0 (RFC6749) 的標準開發,目前僅開放 Authorization Code 方式來認證。

開放欄位

  • Email
  • 內容:Email, 帳號名稱
@shakalaca
shakalaca / twinapps_required_apps.xml
Created November 11, 2019 07:31
給 ZenUI 4.0 之後應用分身使用的 app 支援設定檔
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="twinapps_required_apps">
<item>com.android.vending</item>
<item>com.google.android.gms</item>
<item>jp.naver.line.android|Line: Free Calls &amp; Messages</item>
<item>com.facebook.katana|Facebook</item>
<item>com.facebook.orca|Messenger - Text and Video Chat for Free</item>
<item>com.tencent.mm|WeChat</item>
<item>com.whatsapp|WhatsApp Messenger</item>
@chick
chick / SortIndexAndTake.scala
Created October 19, 2017 05:31
Example of a way of sorting a vector of FixedPoint values, returning the array indices of first N lowest values
package hardwaresort
import chisel3._
import chisel3.experimental.FixedPoint
import chisel3.internal.firrtl.KnownBinaryPoint
import chisel3.iotesters.PeekPokeTester
import chisel3.util.log2Ceil
//scalastyle:off magic.number
/**
@fkfk
fkfk / ZE554KL_TwinAppsHack.ja.md
Created September 28, 2017 02:31
Zenfone4(ZE554KL) ツインアプリに任意のアプリを追加する

Zenfone4(ZE554KL) ツインアプリに任意のアプリを追加する

0. 情報元

[ZenFone] Add new apps to Twin Apps

1. 前準備

  • adbコマンドを使用できるようにする