Today I read Ten modern layouts in one line of CSS about advanced contemporary CSS features.
The Critique of Pure Reason by Immanuel Kant
Some light reading before bed: The Critique of Pure Reason. I’ll be lucky if I get through the preface!
How to Customize Firefox’s User Interface With userChrome.css
Today I read How to Customize Firefox’s User Interface With userChrome.css. You may need to enable with e.g. Firefox 69: userChrome.css and userContent.css disabled by default. If you change userContent.css you need to open your page in a new tab to force an update. I would guess that if you change userChrome.css you will need to restart Firefox (I don’t know I’ve only been using userContent.css).
I should be clear: there are two files: userChrome.css (which affects Firefox features like toolbars and tabs etc) and userContent.css (which affects web pages loaded in Firefox).
I’ve been using userContent.css to fixup CSS on various websites. You can limit your changes to a particular domain in this way:
/* 2020-07-01 jj5 - SEE: https://exploringjs.com/impatient-js/toc.html */
@-moz-document domain(exploringjs.com) {
a:visited { color: purple !important; }
}
Lighthouse
I might be a little behind the times here but I learned about Lighthouse today. It’s from Google, which is regrettable, but I might check it out some time.
Mathematics
So I found my way to the a Mathematics article on Wikipedia. Good reading!
Today on Hacker News: Our AWS bill is ~ 2% of revenue. Here’s how we did it. A good read about tricks for optimising the cost of AWS services. In short: use Lightsail!
5 modern alternatives to essential Linux command-line tools
Today this one popped up on r/programming. The suggestions were:
- `ncdu` as a replacement for `du`
- `htop` as a replacement for `top`
- `tldr` as a replacement for `man`
- `jq` as a replacement for `sed`/`grep` for JSON
- `fd` as a replacement for `find`
Triggering a PHP script when your Postfix server receives a mail
Today I discovered Triggering a PHP script when your Postfix server receives a mail. Looks interesting. Gonna have a read. It references this Postfix Architecture Overview document that is even more interesting, and which I will read first!
Programming Quotes
I came across these Programming Quotes over on cat-v.org today. Their Bumper-Sticker Computer Science is also good.
My favourite was “You can’t trust code that you did not totally create yourself.” — Ken Thompson
You can’t tell people anything
Today I enjoyed reading You can’t tell people anything.