I've been a part of this industry at a professional level for more than two decades now, and in that time I've worked for some AMAZING companies ... and a couple of appalling ones as well. All of that experience helped me to realise the FIRST LAW OF PROFESSIONAL SOFTWARE ENGINEERING:
When you're being paid well, respected, and are made to feel secure because of the company's loyalty towards you, you'll rarely think twice before putting in that little extra bit of effort into your work. Conversely, when you're being paid less than you're worth, your supervisor or boss is an absolute PRICK, and you feel sick merely at the thought of having to drag your ass into the office tomorrow ... well ... the company pretty much deserves the shitty performance you can barely manage to put in each day for them.
Since the **SECOND LAW
- https://github.com/Ileriayo/markdown-badges
- https://github.com/badges/shields
- https://github.com/alexandresanlim/Badges4-README.md-Profile
- https://github.com/mrhrifat/shield-icons
- https://github.com/Naereen/badges
- https://github.com/badgen/badgen.net
- https://github.com/badgen/badgen-icons
- https://hub.docker.com/r/amio/badgen
Here's an easy method which allows you to install multiple instances of any Linux Distro in any location under WSL2.
** Click on each heading to reveal instructions **
If you HAVEN'T installed WSL2 prior to this, open up a Powershell terminal and execute the following commands:
(Inspired by the resources listed at the bottom of this Gist)
Deleting old repos in bulk is quite easy if you've got a WSL instance at hand.
Open a text editor, and list each repository you want to delete in the form of userName\repoName
with one per line.
WSL now includes support for running systemd
inside your WSL distros. Here's how to set it up:
To set this up, you need to be running WSL version 0.67.6
or higher. You can check your WSL version by running this command under PowerShell or Command Prompt:
wsl --version
(Inspired by https://medium.com/@icanhazedit/clean-up-unused-github-rpositories-c2549294ee45#.3hwv4nxv5)
-
Open in a new tab all to-be-deleted github repositores (Use the mouse’s middle click or Ctrl + Click) https://github.com/username?tab=repositories
-
Use one tab https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall to shorten them to a list.
-
Save that list to some path
-
The list should be in the form of “ur_username\repo_name” per line. Use regex search (Sublime text could help). Search for ' |.*' and replace by empty.
Setup Docker to run on Windows 11 & Ubuntu WSL2 AND still be able to use Docker Desktop to monitor the lot!!
The goal here is to set up a container cluster using WSL2, Ubuntu Linux, and other Open Source packages. The secondary goal being to be able to use it from both Linux and Windows AND to be able to still use Docker Desktop under either Windows or Linux to manage things.
To do so, we need to setup WSL2, Ubuntu, dockerd and containterd, then build docker-cli for Windows and finally wire them all together so they can talk to each other.
First you need to set up Windows so that you can use virtualised containers, as well as WSL2. Type the following in a terminal: