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
## Enable hyper-v and wsl | |
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform -NoRestart | |
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux -NoRestart | |
## Download distro of choice (https://docs.microsoft.com/en-us/windows/wsl/install-manual) | |
Invoke-WebRequest https://aka.ms/wsl-ubuntu-1804 -OutFile ubuntu-18-04.appx -UseBasicParsing | |
Add-AppxPackage .\ubuntu-18-04.appx | |
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
provider "aws" { | |
region = "eu-west-2" | |
profile = "xxx" | |
} | |
variable "env" { | |
description = "Name of AWS environment" | |
type = string | |
default = "xxx" | |
} |
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
# install brew | |
sudo apt install linuxbrew-wrapper | |
sudo apt install curl | |
## maunual download of chrome | |
## isntall vscode from snap | |
sudo apt install python3.8 | |
sudo apt install python3-pip |
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
# install brew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
## install k8s tools | |
brew install stern | |
brew install kube-ps1 | |
brew install kubectx | |
brew install derailed/popeye/popeye | |
brew install derailed/k9s/k9s | |
curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp |
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
docker pull dpage/pgadmin4 | |
docker run -p 65432:80 -e '[email protected]' -e 'PGADMIN_DEFAULT_PASSWORD=SuperSecret' -d dpage/pgadmin4 |
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
## testing with busybox (runs interactive shell in busybox pod in your namespace. dies on exit.) | |
kubectl run -i --tty busybox --image=busybox --restart=Never -- sh | |
### in busybox command prompt you can test mysql connection with | |
<servicename> <seriveport> | |
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
# scripts to build a dockerfile | |
docker build myapp:v2 . |
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
## run a docker-compose | |
docker-compose up | |
## run specific file | |
docker-compose -f /tests/docker-compose.yml up | |
## run detatched | |
docker-compose up -d | |
## run a single container from the docker-compose |
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
## Primary Desktop Apps | |
sudo su - | |
#updates | |
zypper update | |
## zypper --non-interactive install PACKAGE_NAME | |
# power management tools |
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
resources: | |
repositories: | |
- repository: templates #Name of repo | |
type: git | |
name: templates | |
jobs: | |
- template: terraform/azureterraform.yml@templates # Name of folder (Terraform in the example) and name of file (azureterraform.yml in the example) |
NewerOlder