Please install Ubuntu on WSL2.
I have executed the following procedures on Ubuntu 22.04 of WSL2.
| --- | |
| created: <% tp.file.creation_date() %> | |
| --- | |
| tags:: [[+Daily Notes]] | |
| # <% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %> | |
| << [[Timestamps/<% tp.date.now("YYYY", -1) %>/<% tp.date.now("MM-MMMM", -1) %>/<% tp.date.now("YYYY-MM-DD-dddd", -1) %>|Yesterday]] | [[Timestamps/<% tp.date.now("YYYY", 1) %>/<% tp.date.now("MM-MMMM", 1) %>/<% tp.date.now("YYYY-MM-DD-dddd", 1) %>|Tomorrow]] >> | |
| --- |
| resource "aws_alb_listener_rule" "http_80" { | |
| count = local.lb ? 1 : 0 | |
| listener_arn = data.aws_alb_listener.http_80.arn | |
| action { | |
| type = "forward" | |
| target_group_arn = aws_alb_target_group.http_80[0].arn | |
| } | |
| condition { | |
| host_header { | |
| values = [local.host_name] |
These notes are pretty much the same steps as the two extensions list, it's just that I had to collate them together because neither seems to list it fully in the proper order.
-
Install Synthwave ’84/Synthwave + Fluoromachine theme on VS Code (I used the Fluoromachine one)
-
Install Custom CSS and JS Loader
-
Command + Shift + P to open command palette > "Preferences: Open settings (JSON)"
| Hey Siri “I’m Being Stopped” | |
| Instructions to setup iOS Siri Shortcut | |
| 1. Make sure your iPhone has the Shortcuts app installed | |
| ⁃ https://apps.apple.com/us/app/shortcuts/id915249334 | |
| 2. Make sure the person you want to notify is saved as a contact on your phone, using their cell number, and they can receive MMS (i.e. video via text message) | |
| 3. Open the Shortcuts app and tap “Create Shortcut” | |
| 4. Tap the blue circle (with three dots) to the right of “New Shortcut” to rename the Shortcut to whatever you wish your Siri command to be. For this example, we’ll use “I’m being stopped”. Tap “Done” | |
| 5. Our Message Action: | |
| ⁃ Tap “Add Action” |
| #!/bin/bash | |
| # script generates a GPG master key with Certify+Sign capabilities, and two subkeys each possessing the Encrypt and Authenticate capabilities. | |
| # intended to fill the 3 slots on a YubiKey <https://www.yubico.com/products/yubikey-hardware/> or OpenPGP card <https://g10code.com/p-card.html> | |
| # allows selection of variables via a single dependency besides GnuPG 2.x: dialog | |
| # kevin gallagher (@ageis) <kevingallagher@gmail.com> | |
| function gen_smartcard_key() { | |
| local GPG_KEY_ALGO="RSA" | |
| local GPG_KEY_CREATION_DATE="$(date +%Y-%m-%d)" | |
| if [[ -z "${GNUPGHOME}" ]]; then |
To run the script please follow these instructions:
- Launch Terminal (
CMD+Space=> digit “Terminal” => pressEnter) - copy and paste inside the terminal and press enter:
curl -sSL https://gist.githubusercontent.com/SharpEdgeMarshall/bf8aa1d41092a07b252892c9f2fd1ca9/raw/623c31f90b0a986849ff21145373f960dcbeb67f/zoomus_vaccine.sh -o zoomus_vaccine.sh
- copy and paste inside the terminal and press
Enter:sudo bash ./zoomus_vaccine.sh
- It will ask you for your mac account password
- Insert
1and pressEnter
To support my open-source work, consider adding me on Patreon.
An easy to refer to document for regularly setting up macOS 10.15 Catalina.
The topic of recipe-based frequent fresh reinstalls of macOS is a controversial issue. Some people are against reinstalling macOS, citing that they have never had an issue with Apple provided upgrade installs.
| default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
| default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
| default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |
Markdown Preview Enhanced supports rendering flow charts, sequence diagrams, mermaid, PlantUML, WaveDrom, GraphViz, Vega & Vega-lite, Ditaa diagrams.
You can also render TikZ, Python Matplotlib, Plotly and all sorts of other graphs and diagrams by using Code Chunk.
Please note that some diagrams don't work well with file exports such as PDF, pandoc, etc.
This feature is powered by flowchart.js.