Using "pip" behind a corporate firewall

Pip behind a corporate firewall The tldr is: Pip 23.3 or newer "just works" after you add a simple snippet to your config file. ; %AppData%\pip\pip.ini ; "${XDG_HOME-$HOME/.config}/pip/pip.ini" [global] use-feature = truststore However, said snippet will break older versions of pip. In particular, pip < 23.3, >= 22.2 will break, complaining that you need to install the "truststore" package before you can install any packages—a perfect "catch 22". As …

Can't install Twine on PyPy due to nh3 "Rust" problem

Quick fix, just run these commands if Twine refuses to install on PyPy on Windows due to a weird error about the nh3 package needing the non-PyPI dependency, Rust: REM on Windows pip install -v "readme-renderer < 42.0" & REM https://github.com/pypa/twine/issues/1015 pip install twine # on Mac and Linux pip install -v "readme-renderer < 42.0" # https://github.com/pypa/twine/issues/1015 pip install twine This won't pollute your registry or any other folders …

Rocky Linux / RHEL 9: playing DVDs on VLC

After all these years, it looks like Red Hat is still a bit scared to distribute THE NEEDFUL to play a DVD Video. After merely scooping a libdvdcss RPM from this cool guy's repository (the CentOS 8 RPM installed without issue on Rocky Linux 9), VLC instantly gained the ability to play DVDs. I could not find any other obvious source of the library for this operating system.

Remove 1px bar at top of full-screen Firefox

If you have a keen eye, you probably noticed the 1-pixel black bar at the top of your screen when you enter F11-fullscreen in Firefox. To fix this, you'll need to create this file: /* …/Profiles/xxxxxxxx.default-esr/chrome/userChrome.css */ #fullscr-toggler { // background-color: red; display: none; } (If you can't figure out how to open that file or create it in the first place, this tutorial seems pretty good for Windows. …

Switching to Picom (Compton) on the MATE desktop

You may have read some convoluted (and outdated—Compton was abandoned in 2017) tutorials on the matter like MakeTechEasier's, or perused the excellent Arch Wiki article's page on it to some despair, but if you are just a layperson who installed the MATE desktop for e.g. Ubuntu 20.04 (Fossa) and wants a slightly faster (i.e. GPU-accelerated) environment, there is a workaround that doesn't take too long to set up: …