Donut Spinner Loading Animation in Pure CSS
Create a donut-shaped loading spinner with only HTML and CSS, using a colored border and a rotate keyframes animation. Includes the full code.
Create a donut-shaped loading spinner with only HTML and CSS, using a colored border and a rotate keyframes animation. Includes the full code.
Delete all files in a folder with Node.js using the fs module: read the directory with fs.readdir and remove each file with fs.unlink. Code included.
Threads and Processes are two fundamental concepts in operating systems and computer science. They are used to execute multiple tasks concurrently. In this post, I will describe the difference between Threads and Processes.
How the nullish coalescing operator (??) works in JavaScript, how it differs from logical OR (||) with falsy values like 0 and '', and when to use it.
Sort arrays in JavaScript with sort(): numbers with a compare function, ascending or descending order, strings with localeCompare(), and reverse().
My notes and favorite quotes from The Millionaire Fastlane by MJ DeMarco: on choices, commitment over interest, and why a 9-to-5 rarely leads to wealth.
Ten key ideas from The Psychology of Money by Morgan Housel: staying calm when others panic, avoiding needless risk, and why keeping money is harder than getting it.
A marathon checklist from my own races: what to do the week before, the night before, and on race morning, what to pack in your kit, and recovery after.