Use special MARK:
comments to format the VS Code minimap and add section headers.
Heyooo, I'm Stefan! I write and speak about web stuff.
New on the blog
Implement allowed query params that temporarily disabled Angular's
scrollPositionRestoration
and prevent the page from being scrolled to the top.A CSS trick using
padding
,object-fit
andobject-position
to show / hideimg
content.Index your news article, images and videos via specialized sitemaps.
Quick thoughts on work ethics and failing at personal goals.
Bun introduces trusted dependencies to disallow execution of arbitrary lifecycle scripts.
My Weekly Newsetter
Most popular in the last 30 days
- How to display language-specific quotes in CSS
- Web Weekly #126
- Web Weekly #127
- How to import JSON files in ES modules (Node.js)
- Property order is predictable in JavaScript objects since ES2015
Hacker News Hits
- HTTP headers for the responsible developer 887 upvotes and 98 comments
- A Firefox-only minimap (2021) 699 upvotes and 113 comments
- Git commit accepts several message flags (-m) to allow multiline commits 339 upvotes and 152 comments
- How to force yourself to leave the computer using the leave command 77 upvotes and 32 comments
- Say goodbye to resource-caching across sites and domains 74 upvotes and 79 comments