This file contains 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 | |
# To clone every repository in your organization, you can use a simple script or command-line tool. | |
# Here's a step-by-step guide to achieving this using the GitHub API and some scripting: | |
# Set your GitHub username and Personal Access Token | |
USERNAME="USERNAME" | |
TOKEN="TOKEN" | |
# Replace with your organization name |
This file contains 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 | |
sudo apt update -y | |
sudo apt install docker docker-compose -y | |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
newgrp docker | |
docker run -d -p 3000:3000 --name grafana grafana/grafana |
This file contains 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
# Terraform: How to create five instances on Amazon Web Services | |
# and define the name tag individually using a list type variable. | |
# It is just a simple example of how to create a given instance | |
# number and set the names according to the size of the list. | |
data "aws_ami" "ubuntu" { | |
most_recent = true | |
filter { | |
name = "name" |