Skip to content

Instantly share code, notes, and snippets.

View rnmeow's full-sized avatar
💻
Coding

Yu-huan Kuo rnmeow

💻
Coding
View GitHub Profile
@rnmeow
rnmeow / 🌧 Quote
Last active April 13, 2024 20:06
🌧 Quote
朋友,你是要跟我走一輩子的人,即使不在路上,你也永遠住在我心裡。
——MAGI 魔奇少年
於 2024/4/14 04:06:09 更新
@rnmeow
rnmeow / PGP.adoc
Last active January 14, 2024 13:46
🔑 OpenPGP Key

OpenPGP Key

This guide elucidates the process of incorporating Yu-huan Kuo’s OpenPGP public key into your keyring.

The recommended source is MIT key server:

gpg --keyserver pgp.mit.edu --recv-keys 0x5EA4AFCCFE971019
@rnmeow
rnmeow / adobe_ae_timers.js
Last active April 21, 2023 14:42
Modern JavaScript code of music timer for Adobe After Effects.
/* 1. Timer */
function padZero (n) {
if (n < 10) return '0' + n;
else return n.toString()
}
t = Math.floor(Math.max((time - inPoint), 0));
min = Math.floor((t % 3600) / 60);
sec = padZero(Math.floor(t % 60));
`${min}:${sec}`
@rnmeow
rnmeow / Hexo Deploy (for GitHub Actions).yaml
Last active June 30, 2022 03:57
GitHub Actions workflow for deployin' Hexo sites.
name: Build Blog
on:
# Run GH Actions if push to `master` branch
push:
branches:
- master # ps. change to `main` if ur default branch follow's GitHub
jobs:
deploy-blog:
# Use macOS Monterey 12
TypeScript 33 mins ████████░░░░░░░░░░░░░ 38.6%
Image (... 16 mins ████▏░░░░░░░░░░░░░░░░ 19.7%
JSON 11 mins ██▋░░░░░░░░░░░░░░░░░░ 13.1%
Vue.js 9 mins ██▏░░░░░░░░░░░░░░░░░░ 10.6%
JavaScript 8 mins ██░░░░░░░░░░░░░░░░░░░ 9.7%