Today I learned about the “Lobotomized Owl” CSS selector over on Axiomatic CSS and Lobotomized Owls.
Monthly Archives: July 2020
Things I Wish I’d Known About CSS
Today I read Things I Wish I’d Known About CSS. Good read about how some fundamental CSS things work.
How to Write Technical Posts (so people will read them)
Today I read How to Write Technical Posts (so people will read them). Good read!
chvt
So today I read How To Switch Between TTYs Without Using Function Keys In Linux and learned about the `chvt` command which can change the virtual terminal on the host’s physical console. This is gonna come in handy!
DRI3
Today I was reading How to Install The Latest AMD Radeon Drivers on Ubuntu 18.04 Bionic Beaver Linux wherein I read that “[enabling] DRI3 will increase graphical performance with the AMDGPU drivers”. You can read about DRI3 but the bottom line was to add the following to your /etc/X11/xorg.conf file:
Section "Device" Identifier "AMDGPU" Driver "amdgpu" Option "AccelMethod" "glamor" Option "DRI" "3" EndSection
Ten modern layouts in one line of CSS
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.