Skip to content

Instantly share code, notes, and snippets.

View rnmeow's full-sized avatar
💻
Coding

Connor Kuo rnmeow

💻
Coding
View GitHub Profile
TypeScript 3 hrs 20 mins █████████████▌░░░░░░░ 64.4%
JavaScript 41 mins ██▊░░░░░░░░░░░░░░░░░░ 13.4%
JSON 28 mins █▉░░░░░░░░░░░░░░░░░░░ 9.1%
Text 21 mins █▍░░░░░░░░░░░░░░░░░░░ 7.0%
Other 5 mins ▍░░░░░░░░░░░░░░░░░░░░ 1.9%
你如果喜歡就去告白,說不定她也等著拒絕。
——網路
於 2024/4/30 04:13:49 更新
@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}`
TypeScript 2 hrs 28 mins ██████░░░░░░░░░░░░░░░ 29.0%
Astro 1 hr 52 mins ████▌░░░░░░░░░░░░░░░░ 21.9%
JSON 1 hr 48 mins ████▍░░░░░░░░░░░░░░░░ 21.2%
JavaScript 35 mins █▍░░░░░░░░░░░░░░░░░░░ 7.0%
Other 31 mins █▎░░░░░░░░░░░░░░░░░░░ 6.2%