Tweaking website styles with uBlock Origin filters
Published on in Miscellaneous
Use the :style()
operator in a uBlock Origin filter
to apply CSS styles to the targeted elements.
I'm a web developer from Finland.
I like blogging, reading and walking.
Published on in Miscellaneous
Use the :style()
operator in a uBlock Origin filter
to apply CSS styles to the targeted elements.
Published on in Handlebars and SendGrid
There's a way to do an "else equals" check in Handlebars (in SendGrid's Dynamic Templates), though it's undocumented and a bit tricky.
Published on in Miscellaneous
I sometimes forget what these two headers do in requests vs responses, so here's a refresher for me.
error.stack
includes the error message in some JS environmentsPublished on in JavaScript
Last updated on
In V8-based JS environments (e.g. Chrome, Deno and Node.js) and in Bun,
error.stack
= error class name + error.message
+ stack frames.
yarn install
failing mysteriously on Node.js v18.18Published on in JavaScript
Last updated on
TL;DR: Upgrading Yarn from v1 to v4 fixed it for me.
Published on in JavaScript
Last updated on
That's because it would take a very long time, and at some point you would have so many permutations that they wouldn't fit in an array.
Table updated once a day.