- Frontend Fridays
- Posts
- Cursor rules to improve your productivity!
Cursor rules to improve your productivity!
Frontend Fridays #3 - August 30, 2024
Welcome to Frontend Fridays!
If you are new here, I share the 5 best frontend posts I saw in the last 7 days. I scroll, so you don’t have to!
Let’s get to it:
#1 🎨
Switched from Cursor to Zed this week and really enjoying it so far. It's faster, and I like their approach to AI.
Also love editing and saving files directly in the search results page — makes refactoring much easier
— Nathan Baschez (@nbashaw)
7:15 PM • Aug 29, 2024
Which way western man?!
BTW, if you use Cursor, @pontusab launched a directory with .cursorrules of different languages! Check it out here - https://cursor.directory/
#2 🎨
#dev tip:
In Electron, if you need to open another window, instead of creating a new BrowserWindow, you can call window.open and render content into it using React portals.
The entire screen.studio app uses this concept
— Adam Pietrasiak (@pie6k)
9:52 AM • Aug 23, 2024
I love this UX tip – 1 line change, 10x improvement! 👌
#3 🎨
Here’s your periodic reminder that
`usr` in /usr/bin stands for “universal system resources” not “user”, and
`/dev` in `/dev/vdisk0` stands for “device” not “development”
🙌
— Tejas Kumar (@TejasKumar_)
4:26 PM • Aug 28, 2024
TIL! 🤯
#4 🎨
Haha we've all been there. I stumbled by this tweet earlier today and tried to write a little utility that auto-generates git commit message based on the git diff of staged changes. Gist:
So just typing `gcm` (short for git commit -m) auto-generates a… x.com/i/web/status/1…
— Andrej Karpathy (@karpathy)
8:50 PM • Aug 25, 2024
I’ve set up a “g” command in my CLI which adds, commits & pushes the changes to GitHub. Such a time saver!
#5 🎨
Famous last words 😂🤭
— Ryan Els (@RyanEls4)
8:00 AM • Aug 24, 2024
We’ve all been there! 🤣
LET ME HEAR IT
What do you think of today’s edition? Hit ‘reply’ to this email and let me know!
P.S. Know someone who would love Frontend Fridays? Forward them this email & ask them to subscribe - https://www.frontendfridays.com/