Weird bug that only seems to bug Chrome:
Continue readingAuthor Archives: lucia
Object doesn’t support property or method ‘scrollTo’
Even if Edge is not called Internet Explorer, it’s still basically IE. 🙁 And IEs don’t support scrollTo.
Continue readingMaintain Image Width:Height Ratio
Either use background image, or the fancy new object-fit
on <img>
tags, which works almost exactly the same as background image:
Test Localhost on a Public URL
Sometimes we need to test localhost out on a public URL, for various reasons. We can do that with ngrok, which is a service that projects localhost ports onto a generated public URL.
Continue readingParallels Breaking Wacom
If your Wacom tablet stopped working after you installed Parallels.
Continue readingHow to Configure Sub-Routes in NextJS
For sub-routes like guides/post-slug
to work, 3 pieces need to be in place:
Interactive Git Commands Cheatsheet
I found this link in one of StackOverflow answers–very useful in understanding how git works.
Git Submodule Life-Saving Setup
What’s the use of git submodules? It’s mostly useful when you want to work on the code in both the main repo and the sub repo at the same time. Otherwise, a normal dependency management system would suffice.
To have submodules safely set up so that you run into walls less often, do the following:
Continue reading