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 | |
############################################################################### | |
# Customize the script by passing values to the named parameters below, e.g. | |
# ./bootstrap-mac-devops.sh --nodejs 12 | |
nodejs=${nodejs:-16} | |
keygen=${keygen:-true} | |
java=${java:-11} | |
while [ $# -gt 0 ]; do |
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
# iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/nsticco/fc0b10b6981618bfe0962e0696f14eba/raw')) | |
# Variables | |
$boost_version = "1.81.0" | |
$boost_underscores = "1_81_0" | |
$boost_install_dir = "D:\libraries" | |
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')) |
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
# This script runs a series of other Ubuntu bootstrap gist scripts | |
# DevOps script | |
bash <(curl -sL https://gist.github.com/nsticco/c417ce3c00a4d88ff2661e3cc60f18d4/raw) | |
# Docker script | |
bash <(curl -sL https://gist.github.com/nsticco/10abb16a9a708788406c65e0b71cb170/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
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": | |
[ | |
{ | |
"command": "paste", | |
"keys": "ctrl+v" | |
}, | |
{ |
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 Docker | |
############################################################################### | |
# Customize the script by passing values to the named parameters below, e.g. | |
# ./bootstrap-ubuntu-docker.sh --user nate | |
use_current_user=${use_current_user:-true} | |
user=${user:-ubuntu} | |
wsl=${wsl:-false} | |
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
########################################################################################## | |
# Setup VS Code | |
########################################################################################## | |
echo "Installing VS Code..." | |
sudo snap install --classic code | |
# Disabled in favor of VS Code settings sync | |
# echo "Replacing VS Code settings..." | |
# curl -L "https://gist.github.com/nsticco/1b32f3b0f630df637436e407a8ba626d/raw" -o ~/.config/Code/User/settings.json |
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 Productivity Applications | |
############################################################################### | |
Write-Output "Installing productivity tools..." | |
choco install -y slack zoom googlechrome firefox discord | |
Write-Output "Installing security tools..." | |
choco install -y cryptomator nordvpn | |
Write-Output "Installing storage 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
########################################################################################## | |
# 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)" |
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 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 | |
# Write-Output "Replacing VS Code settings..." |
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 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..." |
NewerOlder