Microsoft plans on adding a sudo like command on windows (info and controversy)
But what if... you could already use it ? 🤭
- Have the newer version of powershell installed.
If you plan on using the old one, replacepwsh
withpowershell
""" | |
Simple script to plot your Discord machine-learning predicted age and gender from the data dump. | |
To use, simply put this script in your activity/analytics/ folder of your Discord data dump and run it. | |
You may need to install matplotlib first: | |
pip install -U matplotlib | |
thrown together by rebane2001 |
Microsoft plans on adding a sudo like command on windows (info and controversy)
But what if... you could already use it ? 🤭
pwsh
with powershell
If you've installed discord on Linux through apt, you know how much of a pain it is to manually download and install it every now and then. It's even worse if you're having to reinstall BetterDiscord every time
So here's 2 simple scripts to fix this :
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
(() => { | |
const SHOW_SIDES = false; // color sides of DOM nodes? | |
const COLOR_SURFACE = true; // color tops of DOM nodes? | |
const COLOR_RANDOM = false; // randomise color? | |
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
const THICKNESS = 20; // thickness of layers | |
const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
Here are a few collected ways I like to customize Ubuntu 22.04 servers. I used to love Ubuntu, but I hate auto updates and snaps. They also put ads and other usless ads diguised as "news" in MOTD. ESM FUD is spread throughout the OS including simple apt functions. You do not need ESM and thus Ubuntu 22.04 has become super annoying. unattended-upgrade is an automatic installation of security (and other) upgrades without user intervention. Consider the ramifications of disabling this service.
The Unattended Upgrades feature is enabled by default and it runs at system boot without the user's permission. The configuration is stored in /etc/apt/apt.conf.d/20auto-upgrades
Disable:
sudo dpkg-reconfigure unattended-upgrades
then a TUI will come up, select "No"
This will not permantently disable the function. After an update it will be enabled. In the file /etc/apt/apt.conf.d/20auto-upgrades
change these values from 1
to 0
. Even doing this it will
These are the current alternatives (with links when possible):
This list is no longer updated, thus the information is no longer reliable.
You can see the latest version (from october 2022) here
Prevent background image clipping :
background-repeat: space | round
CSS patterns : csslayout.io
CSS Scroll shadow : css-scroll-shadows.vercel.app
Free design tools :