On mobile w/ limited horizontal space, I want to implement tapping on the row to show extra info. But on desktop with lots of whitespace, I prefer dedicated buttons.
→ Solution: Mobile-only clicking with `onpointerup` and `event.pointerType`
On mobile w/ limited horizontal space, I want to implement tapping on the row to show extra info. But on desktop with lots of whitespace, I prefer dedicated buttons.
→ Solution: Mobile-only clicking with `onpointerup` and `event.pointerType`
So if you're developing a module to be dynamically imported, and seeing that it keeps importing the old version, you can bust the cache by just adding a query string with `Date.now()`
So if you're developing a module to be dynamically imported, and seeing that it keeps importing the old version, you can bust the cache by just adding a query string with `Date.now()`
Honestly better than I thought but definitely has room for improvements.
Nice to be able to put actions into metrics, so I can come to 2025 stronger
I don't know where the 25 stars come from haha
git-wrapped.com/profiles/bhu...
Honestly better than I thought but definitely has room for improvements.
Nice to be able to put actions into metrics, so I can come to 2025 stronger
I don't know where the 25 stars come from haha
git-wrapped.com/profiles/bhu...
Get/set accessor, class method, or just plain function
This's because runes/signals are just plain-old JS that work by calling functions to access latest values
This truly blows my mind coming from React and hooks
Get/set accessor, class method, or just plain function
This's because runes/signals are just plain-old JS that work by calling functions to access latest values
This truly blows my mind coming from React and hooks
To test a merge without actually merging first - to see if you will have any merge conflicts
⭐ `git merge <branch> --no-commit ---no-ff` ⭐
If you then don't like the conflicts, you can `git merge --abort` it
To test a merge without actually merging first - to see if you will have any merge conflicts
⭐ `git merge <branch> --no-commit ---no-ff` ⭐
If you then don't like the conflicts, you can `git merge --abort` it
If you're using `git commit -m` then suddenly realize this commit message is gonna be a lot longer than expected
→ Use the `--edit` flag to open up a Message Edit window to further add to your commit
If you're using `git commit -m` then suddenly realize this commit message is gonna be a lot longer than expected
→ Use the `--edit` flag to open up a Message Edit window to further add to your commit
Turns out MacOS default *implicitly* fallback on "PingFang SC". Not obvious at all.
I fixed it w/ Noto Sans CJK SC 🧑🍳💋
And the story's hero is WezTerm's incredible CLI, with the exact command for debugging fonts 🙏
Turns out MacOS default *implicitly* fallback on "PingFang SC". Not obvious at all.
I fixed it w/ Noto Sans CJK SC 🧑🍳💋
And the story's hero is WezTerm's incredible CLI, with the exact command for debugging fonts 🙏
You can tell vim to "unmask" invisible characters such as tab or space with the simple `:set list` command
Tabs are now >
space are -
and non-breaking space are +
Undo with `:set nolist`
You can tell vim to "unmask" invisible characters such as tab or space with the simple `:set list` command
Tabs are now >
space are -
and non-breaking space are +
Undo with `:set nolist`
Bonus discovery: expression interpolation is the only way to do this, whereas $derived can't
Bonus discovery: expression interpolation is the only way to do this, whereas $derived can't
For simple expressions, put it straight into your markup. They're still reactive!
$derived is nice to get a reactive **variable** for a complex expression and/or to be re-used many times.
Other case, I prefer interpolation.
For simple expressions, put it straight into your markup. They're still reactive!
$derived is nice to get a reactive **variable** for a complex expression and/or to be re-used many times.
Other case, I prefer interpolation.
drizzle-seed has:
- valuesFromArray
- int
- firstName/lastName/fullName
- phoneNumber
- country
- jobTitle
- companyName
and more at orm.drizzle.team/docs/seed-fu...
drizzle-seed has:
- valuesFromArray
- int
- firstName/lastName/fullName
- phoneNumber
- country
- jobTitle
- companyName
and more at orm.drizzle.team/docs/seed-fu...
- Just pass in your schema
- Intelligent default generators
- Ability to further refine generation
- Seed relationships too
- Utility to reset whole table
drizzle-seed now on Drizzle 0.36.4!
- Just pass in your schema
- Intelligent default generators
- Ability to further refine generation
- Seed relationships too
- Utility to reset whole table
drizzle-seed now on Drizzle 0.36.4!