When you run git submodule update --remote
in a container repo, you might notice that it says:
Submodule funny_module bf722acd..02dc481d (rewind):
< That awful bugfix
Why the rewind?!
Continue readingWhen you run git submodule update --remote
in a container repo, you might notice that it says:
Submodule funny_module bf722acd..02dc481d (rewind):
< That awful bugfix
Why the rewind?!
Continue readingWe use CSS modules, so it doesn’t make sense to care about importing order, but the mini-css-extract-plugin
doesn’t provide an option to turn off the conflicting warning:
chunk styles [mini-css-extract-plugin]
Conflicting order between:
* css ...
* css ...
Here’s how to mute them.
Continue readingWhat they do:
If the base branch for your repository is not the default master
, you might have encountered this bizarre Pull Request problem when you try to deploy from base branch onto master
:
Sorting out images in Webpack is not too bad up to a point. The url-loader
+ file-loader
combination is usually enough to satisfy needs. However, when you have too many require()
for large images, it can take up to 20s or longer to hot-reload after a compile…
Here’s how to mitigate the situation.
Continue readingIn terminal:
$ lsof -t -i tcp:80 | xargs kill
If you use NodeJS on your Backend, you have probably run into memory problems at one point or another. Compared to other systems where a child process is created and terminated with every request, Node is initiated only once, long-running, and particularly unforgiving in any task that leaves residue behind.
This post is an attempt at explaining how to dive into the seeming mess of memory lane and come up with insights, or better yet, solutions.
Continue readingNot all the date formats can be used to create a date with new Date()
.
Weird bug that only seems to bug Chrome:
Continue readingEven if Edge is not called Internet Explorer, it’s still basically IE. 🙁 And IEs don’t support scrollTo.
Continue reading