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
| $logFile = "C:\OEM\install.log" | |
| function Log($msg) { $ts = Get-Date -Format "HH:mm:ss"; "$ts $msg" | Tee-Object -FilePath $logFile -Append } | |
| Log "=== Starting dev environment setup ===" | |
| Set-ExecutionPolicy Bypass -Scope Process -Force | |
| # Accept winget agreements once | |
| $wpArgs = "--accept-package-agreements --accept-source-agreements --silent --disable-interactivity" | |
| Log "--- Installing base tools ---" |
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
| $logFile = "C:\OEM\install.log" | |
| function Log($msg) { $ts = Get-Date -Format "HH:mm:ss"; "$ts $msg" | Tee-Object -FilePath $logFile -Append } | |
| Log "=== Starting dev environment setup ===" | |
| Set-ExecutionPolicy Bypass -Scope Process -Force | |
| # Accept winget agreements once | |
| $wpArgs = "--accept-package-agreements --accept-source-agreements --silent --disable-interactivity" | |
| Log "--- Installing base tools ---" |
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 | |
| set -e | |
| # Colors for output | |
| GREEN='\033[0;32m' | |
| BLUE='\033[0;34m' | |
| YELLOW='\033[1;33m' | |
| RED='\033[0;31m' | |
| NC='\033[0m' # No Color |
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
| alias alias_update_linux='wget -O ~/.bash_aliases https://gist.githubusercontent.com/jmagar/1b422b3b0d4e25b35928014985c6eb6f/raw/.bash_aliases && source ~/.bash_aliases' | |
| alias ll='ls -l' | |
| alias la='ls -A' | |
| alias l='ls -CF' | |
| alias slam='ssh -p 29229 root@10.0.0.1' | |
| alias tootie='ssh -p 29229 root@192.168.86.58' | |
| alias dookie='ssh -p 29229 root@192.168.1.217' | |
| alias agi='sudo apt install' | |
| alias agu='sudo apt update && sudo apt upgrade' | |
| alias dex='docker exec -it' |