Skip to content

Instantly share code, notes, and snippets.

JavaScript 1 hr 31 mins █████▏░░░░░░░░░░░░░░░ 24.8%
TypeScript 1 hr 19 mins ████▌░░░░░░░░░░░░░░░░ 21.6%
Docker 1 hr 2 mins ███▌░░░░░░░░░░░░░░░░░ 16.9%
Other 44 mins ██▌░░░░░░░░░░░░░░░░░░ 12.1%
HTML 29 mins █▋░░░░░░░░░░░░░░░░░░░ 7.9%
@rnmeow
rnmeow / 🌧 Quote
Last active September 10, 2024 20:17
“Radiate boundless love towards the entire world…”
— The Buddha
Updated at 11 Sept 2024, 04:17:04 GMT+8
@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}`