This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://git-scm.com/docs/git-rev-parse | |
| $ ~/git/abc/xyz/123 main ±✚ git rev-parse --show-toplevel | |
| /Users/me/git/abc/ | |
| $ ~/git/abc/xyz/123 main ±✚ git rev-parse --show-prefix | |
| xyz/123/ | |
| $ ~/git/abc/xyz/123 main ±✚ git rev-parse --show-cdup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Disclaimer: this is provided “as is” without warranty of any kind, either expressed or implied and such is to be used at your own risk. | |
| // Dependencies | |
| // ---------------------- | |
| // Setting up Github credential with Jenkins's Credential Manager ( https://www.youtube.com/watch?v=HSA_mZoADSw&t=40s ) | |
| // Jenkins Plugin to Clean Workspace ( https://plugins.jenkins.io/ws-cleanup/ ) | |
| // Large File Storage ( https://git-lfs.github.com/ ) | |
| // Variables | |
| // ---------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Disclaimer: this is provided “as is” without warranty of any kind, either expressed or implied and such is to be used at your own risk. | |
| // Dependencies | |
| // ---------------------- | |
| // Setting up Github credential with Jenkins's Credential Manager ( https://www.youtube.com/watch?v=HSA_mZoADSw&t=40s ) | |
| // Jenkins Plugin to Clean Workspace ( https://plugins.jenkins.io/ws-cleanup/ ) | |
| // Large File Storage ( https://git-lfs.github.com/ ) | |
| // Variables | |
| // ---------------------- |
Directories on host machine:
-
/data/certbot/letsencrypt -
/data/certbot/www -
Nginx server in docker container
docker run -d --name nginx \
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Source: TODO: | |
| ######### | |
| # TODO: # | |
| # TODO: # | |
| ######### | |
| # Additional Info: | |
| # - Production-Ready Kubernetes Clusters Using Crossplane Compositions: https://youtu.be/uMC2QQfMctg | |
| # - How To Shift Left Infrastructure Management Using Crossplane Compositions: https://youtu.be/AtbS1u2j7po |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Pod | |
| spec: | |
| # dnsConfig: | |
| # options: | |
| # - name: ndots | |
| # value: "1" | |
| containers: | |
| - name: dind | |
| image: abdennour/docker:19-dind-bash |
A quick guide on how to setup X11 forwarding on macOS when using docker containers requiring a DISPLAY.
This guide was tested on:
- macOS Catalina 10.15.4
- docker desktop 2.2.0.5 (43884) - stable release
- XQuartz 2.7.11 (xorg-server 1.18.4)
Works also with:
- macOS Monterey 12.5 (21G72)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Go to Google Chrome | |
| 2. Go to any website (works cool on facebook) | |
| 3. Right click anywhere -> Inspect Element | |
| 4. Click on the rightmost "Console" tab. | |
| 5. Copy paste the following * into the console. | |
| 6. Make sure the volume isn't too loud! | |
| 6. Press Enter. | |
| * Copy paste the following text in the console: |
Reason for the VerneMQ extra parameter to limit topic depth:
https://nvd.nist.gov/vuln/detail/CVE-2021-33176
This was mentioned in the VerneMQ Slack channel #announcements: https://vernemq.slack.com/archives/C37K2EKAP/p1623770790005900
afa1 - 2021-06-15 17:26: ""