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
/* -------------------------------------------------------------------------- */ | |
// All Bootstrap 4 Sass Mixins [Cheat sheet] | |
// Updated to Bootstrap v4.5.x | |
// @author https://anschaef.de | |
// @see https://github.com/twbs/bootstrap/tree/master/scss/mixins | |
/* -------------------------------------------------------------------------- */ | |
/* | |
// ########################################################################## */ | |
// New cheat sheet for Bootstrap 5: |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
An explanation of JavaScript's pass-by-value, which is unlike pass-by-reference from other languages.
- JavaScript has 2 kinds of variable types: primitive and reference.
- A fixed amount of memory is reserved after creation of every variable.
- When a variable is copied, it's in-memory value is copied.
- Passing a variable to a function via a call also creates a copy of that variable.
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
#!/bin/bash | |
set -uxo pipefail | |
# DISK_NAME = Name of the disk in terraform | |
# DEVICE_NAME = When $DISK_NAME is mounted in the compute instance at `/dev/` | |
MOUNT_DIR=/mnt/disks/persistent_storage | |
# Check if entry exists in fstab | |
grep -q "$MOUNT_DIR" /etc/fstab |
- https://www.examtopics.com/exams/amazon/aws-certified-solutions-architect-professional/view/
- https://www.udemy.com/course/aws-solutions-architect-professional-practice-exams-amazon
- https://www.udemy.com/course/aws-certified-solutions-architect-professional-aws-practice-exams/
- https://app.linuxacademy.com/challenges/7888f62b-4fdb-4a1d-a7c5-a02b46e3280f
For 2 9s (99%) and 3 9s (99.9%) scenario, a single region setup is enough.
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
image: <your_image> | |
pipelines: | |
default: | |
- step: | |
name: <description> | |
deployment: <your_deployment_name> | |
image: google/cloud-sdk:320.0.0-alpine | |
script: | |
# on linux you can use `$ base64 -w 0 < ~/.google_app_credentials.json` to generate $GCP_KEY_FILE |
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
###################################################################################### | |
## Automating Infrastructure on Google Cloud with Terraform: Challenge Lab # GSP345 ## | |
###################################################################################### | |
====================== Setup : Create the configuration files ====================== | |
Make the empty files and directories in Cloud Shell or the Cloud Shell Editor. | |
------------------------------------------------------------------------------------ | |
touch main.tf | |
touch variables.tf |