Skip to content

Instantly share code, notes, and snippets.

View cnrkuo's full-sized avatar
πŸ’»
Coding

Conor Kuo cnrkuo

πŸ’»
Coding
View GitHub Profile
TypeScript 1 hr 4 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Žβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 44.4%
JSON 1 hr 3 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 43.6%
TSConfig 8 mins β–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 5.8%
YAML 3 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.3%
JavaScript 1 min ▏░░░░░░░░░░░░░░░░░░░░ 1.2%
β€œThe smallest act of kindness is worth more than the
grandest intention.”
β€” Oscar Wilde
Updated 5 May 2026, 05:08:08 GMT+8
@cnrkuo
cnrkuo / 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}`