Skip to content

Instantly share code, notes, and snippets.

C 1 hr 9 mins ██████████▊░░░░░░░░░░ 51.7%
Python 22 mins ███▌░░░░░░░░░░░░░░░░░ 16.8%
C++ 14 mins ██▏░░░░░░░░░░░░░░░░░░ 10.6%
JavaScript 10 mins █▌░░░░░░░░░░░░░░░░░░░ 7.6%
Text 10 mins █▌░░░░░░░░░░░░░░░░░░░ 7.4%
@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}`