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
# ------------------- | |
# Begin Customization | |
# ------------------- | |
# User specific aliases and functions | |
if [ -d ~/.bashrc.d ]; then | |
for rc in ~/.bashrc.d/*; do | |
if [ -f "$rc" ]; then | |
. "$rc" | |
fi | |
done |
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 | |
# Get list of repos and default branches in the format "repo,branch" | |
repos=$(gh repo list brocksolutions --json "name,defaultBranchRef" -L 1000 -q ".[] | [.name, .defaultBranchRef.name] | @csv" | tr -d \" | sort) | |
# Iterate over each repo and branch | |
echo "$repos" | while IFS=, read -r repo branch; do | |
echo "--------------------------------------------------------------------------------" | |
echo "Updating $repo:$branch..." | |
echo "--------------------------------------------------------------------------------" |
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
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
choco feature enable -n allowGlobalConfirmation | |
choco install 7zip.install /y | |
choco install filezilla /y | |
choco install Firefox /y | |
choco install git --params "/GitOnlyOnPath /WindowsTerminal /SChannel" /y | |
choco install GoogleChrome /y | |
choco install ilspy /y | |
choco install InkScape /y |