HNHacker News
TopNewBestAskShowJobs

matijs

39 karma · joined April 10, 2011

submissionscomments
matijs··on .gitignore Everything by Default
Ah fair enough, I've got commit.verbose set to true for that.
matijs··on .gitignore Everything by Default
Ban `git add .` for sure, but what’s so bad about `git commit -a`? It only adds/removes what was already under version control.
matijs··on .gitignore Everything by Default
That would be `git add -u/--update`
matijs··on Axios compromised on NPM – Malicious versions drop remote access trojan
pnpm since v10.19.0 allows excluding specific dependencies from minReleaseAge by version.
matijs··on Weaponizing Dependabot: Pwn Request at its finest
Could it have been a Dependabot security update? These are different from normal Dependabot updates and do not require `.github/dependabot.yml`.
matijs··on Hyper Typing
Absolutely matches your experience!

Also curious about the delightful type generation Astro uses.

matijs··on A BBC navigation bar component broke depending on the external monitor
`event.detail` [1] is 0 for keyboard “clicks” and 1 for pointer clicks.

1: https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/det...

matijs··on Delta: A syntax-highlighting pager for Git, diff, grep, and blame output
I have this set as an alias:

difft = -c diff.external=difft diff

I may add a similar alias for delta

matijs··on Half-Ass It
I’ve been planning a prodcast for a while now.
matijs··on Popular Git config options
Oh! Thanks for clarifying!
matijs··on Popular Git config options
! Is for external commands. You can drop the !git from that alias.
matijs··on Parsing the .DS_Store File Format (2018)
> because the global excludes file needs a config setting for it to even be considered

Using `~/.config/git/ignore` requires no extra setting.

matijs··on Show HN: Filesystem Watcher
Out of curiosity, what editor do you use and how do you make sure 4. happens when for example using ‘save all’?
matijs··on Take Advantage of Git Rebase
GitHub does the same. There is a compare button that appears after a force (with-lease) push of a rebased branch.
matijs··on Bash-oneliner: A collection of handy Bash one-liners and terminal tricks
And `ignoreboth` to combine the two.
matijs··on Tailwind CSS v3.0
Those files (and components) still need sensible names (that would make very nice class names).
matijs··on Tailwind CSS v3.0
You’re not wrong. Once it’s in there, it’s not easy to remove/replace again.
matijs··on Please Shrink the Trackpad
> Tap to click should _always_ be turned off

It’s off by default, so someone at Apple seems to agree :)

It’s the first thing I usually turn on. The next being “dragging (without drag lock)” which has been hiding in Accessibility for a while now.

matijs··on My Current HTML Boilerplate
As far as I know, edge is the default mode [1], no need to set it explicitly, especially not for sites that target modern browsers.

[1]: https://docs.microsoft.com/en-us/archive/blogs/ie/living-on-...

matijs··on My Current HTML Boilerplate
You both made me laugh. Thanks :)
matijs··on A hacker got all my texts for $16
Remove your phone number from your account.
matijs··on Ask: Resources for learning JavaScript
Eloquent JavaScript [1] by Marijn Haverbeke

[1] https://eloquentjavascript.net/

matijs··on Cool URIs Don't Change (1998)
There is a pretty cool bet [1] on longbets.org about exactly this.

[1] http://longbets.org/601/

matijs··on Microsoft Surface Go 2 review
TechCrunch apparently force a 307 Temporary Redirect to some advertising.com domain first :/
matijs··on Ask HN: The most useful Mac keyboard shortcuts?
⌘-] and ⌘-[ to navigate between items like conversations in messages or Slack. Seem to be a fairly de facto shortcuts.