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
| { | |
| "[cpp]": { | |
| "editor.defaultFormatter": "ms-vscode.cpptools", | |
| }, | |
| "[python]": { | |
| "editor.codeActionsOnSave": { | |
| "source.organizeImports": true | |
| } | |
| }, | |
| "[yaml]": { |
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
| #!/usr/bin/env bash | |
| # bash <(curl -fsSL https://gist.githubusercontent.com/nsticco/c417ce3c00a4d88ff2661e3cc60f18d4/raw/bootstrap-ubuntu-devops.sh) | |
| # Bootstrap Ubuntu 24.04+ with DevOps tools + popular AI coding agent CLIs. | |
| # 2026-safe practices: no apt-key, uses /etc/apt/keyrings, non-interactive gpg, pkgs.k8s.io for kubectl, | |
| # pipx for Ansible, dedicated keyrings, and idempotent-ish installs. | |
| set -euo pipefail | |
| # ----------------------------------------------------------------------------- | |
| # Defaults (override via env or --param value) |
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 | |
| # 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 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 | |
| # 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 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
| ############################################################################### | |
| # 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 python312 -debug | |
| Write-Output "Installing Java 11 LTS..." |
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
| ########################################################################################## | |
| # 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 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
| ########################################################################################## | |
| # 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 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
| ########################################################################################## | |
| # Install Game 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 NVIDIA drivers..." | |
| choco install -y geforce-experience cuda | |
| Write-Output "Installing game tools and requirements..." |
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
| ########################################################################################## | |
| # Setup VS Code | |
| ########################################################################################## | |
| Write-Output "Make sure Chocolatey is installed..." | |
| 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 "Install vscode..." | |
| choco install -y vscode dos2unix | |
| # Write-Output "Replacing VS Code settings..." |
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
| ########################################################################################## | |
| # Disable Windows 10 or 11 System Sounds | |
| ########################################################################################## | |
| # https://stackoverflow.com/questions/56619933/how-to-set-sound-scheme-to-no-sound-by-powershell | |
| Write-Host "`nSetting Sound Schemes to 'No Sound' .." -foregroundcolor Gray | |
| $Path = "HKCU:\AppEvents\Schemes" | |
| $Keyname = "(Default)" |
OlderNewer