Skip to content

Instantly share code, notes, and snippets.

View bakikucukcakiroglu's full-sized avatar
🎯
Focusing

Hasan Baki Kucukcakiroglu bakikucukcakiroglu

🎯
Focusing
View GitHub Profile
@khalidx
khalidx / node-typescript-esm.md
Last active April 15, 2025 14:15
A Node + TypeScript + ts-node + ESM experience that works.

The experience of using Node.JS with TypeScript, ts-node, and ESM is horrible.

There are countless guides of how to integrate them, but none of them seem to work.

Here's what worked for me.

Just add the following files and run npm run dev. You'll be good to go!

package.json

@spemer
spemer / customize-scrollbar.css
Last active January 8, 2025 04:26
✨ Customize website's scrollbar like Mac OS. Not supports in Firefox and IE.
/* Customize website's scrollbar like Mac OS
Not supports in Firefox and IE */
/* total width */
body::-webkit-scrollbar {
background-color: #fff;
width: 16px;
}
/* background of the scrollbar except button or resizer */