For event payloads and context variables, see release-engineers/github-workflow-event-json
branch_protection_rule
- created
- edited
- deleted
For event payloads and context variables, see release-engineers/github-workflow-event-json
branch_protection_rule
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
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.