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
########################################################################################## | |
# Setup WSL 2 | |
########################################################################################## | |
# Warning: This script needs to be triggered with Boxstarter to continue running after restart! | |
# Install-BoxstarterPackage -PackageName https://gist.github.com/nsticco/399c03bb2e41e5a87398f7ce1079a23c/raw | |
Write-Output "Enabling Windows Subsystem for Linux..." | |
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
Write-Output "Enabling Virtual Machine Platform features for WSL 2..." |
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 home office bootstrap scripts | |
########################################################################################## | |
# Run DevOps script | |
iex ((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/nsticco/07203fa6f7a66d08f9bd38bca3f8a3ea/raw')) | |
# Run productivity apps script | |
iex ((New-Object System.Net.WebClient).DownloadString('https://gist.github.com/nsticco/1e8e7f6cea206e0e9a8705a3362f3108/raw')) |
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 Windows DevOps Tools | |
############################################################################### | |
Write-Output "Installing Chocolatey..." | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
Write-Output "Installing Python 3.10 with debug symbols..." | |
choco install -y python310 -debug | |
Write-Output "Installing Java 11 LTS..." |
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 | |
# This script will bootstrap Centos 8 with Docker and Podman | |
############################################################################### | |
# Customize the script by passing values to the named parameters below, e.g.: | |
# ./bootstrap-centos-docker.sh --user nate | |
use_current_user=${use_current_user:-true} | |
user=${user:-ec2-user} | |
wsl=${wsl:-true} | |
keygen=${keygen:-true} |
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 | |
# This script will bootstrap Centos 8 with DevOps related tools | |
# It must be run as root due to sudo not being present by default | |
################################################################################## | |
# Specify software versions by passing values to the named parameters below, e.g.: | |
# ./bootstrap-centos-devops.sh --kubectl 1.18 | |
python=${python:-3.8.10} | |
nodejs=${nodejs:-16} | |
java=${java:-11} |
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 | |
# This script will bootstrap Ubuntu with DevOps related tools | |
############################################################################### | |
# Customize the script by passing values to the named parameters below, e.g. | |
# ./bootstrap-ubuntu-devops.sh --kubectl 1.20.2 | |
nodejs=${nodejs:-16} | |
kubectl=${kubectl:-1.26.5} | |
terragrunt=${terragrunt:-0.50.0} | |
packer=${packer:-1.9.2} |
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
{ | |
"[cpp]": { | |
"editor.defaultFormatter": "ms-vscode.cpptools", | |
}, | |
"[python]": { | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
} | |
}, | |
"[yaml]": { |
NewerOlder