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
<# | |
The command to run, built from the raw link of this gist | |
Win+R | |
iexplore http://boxstarter.org/package/url?<RAW GIST LINK> | |
OR (if you don't like the way the web launcher force re-installs everything) |
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
{ | |
"meta": { | |
"theme": "kendall" | |
}, | |
"basics": { | |
"name": "Zachary Loeber", | |
"label": "Automation Engineer", | |
"image": "https://avatars.githubusercontent.com/u/4702624", | |
"email": "zloeber@gmail.com", | |
"phone": "630.730.1764", |
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
<# | |
Creates or updates existing a handful of AzureAD dynamic groups for use in Azure AD | |
Requires the AzureADPreview module to work correctly! | |
More on dynamic membership in Azure AD: | |
https://docs.microsoft.com/en-us/azure/active-directory/active-directory-groups-dynamic-membership-azure-portal | |
#> | |
Remove-Module AzureAD -Force -ErrorAction:SilentlyContinue |
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 | |
# Installs and configures a user syncthing deployment on Ubuntu | |
# Add the release PGP keys: | |
curl -s https://syncthing.net/release-key.txt | sudo apt-key add - | |
# Add the "stable" channel to your APT sources: | |
echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list |
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
helmDefaults: | |
tillerless: true | |
tillerNamespace: platform | |
atomic: false | |
verify: false | |
wait: true | |
timeout: 1200 | |
recreatePods: true | |
force: 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
<# | |
Downloads and installs most recent direnv cli app to your user profile. | |
Default location will be $HOME/.local/bin (which is also added to your environment path) | |
https://github.com/direnv/direnv/releases/download/ | |
#> | |
Function Update-SystemPath { |
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
Function Remove-InstalledApp ([string]$AppName) { | |
get-package $AppName -ErrorAction:SilentlyContinue | Foreach { | |
$app = $_ | |
switch ($app.ProviderName) { | |
'msi' { | |
Write-Output "Uninstalling msi for $($app.Name)" | |
$app | Uninstall-Package | |
} | |
'PowerShellGet' { | |
Write-Output "Uninstalling PowerShellGet package for $($app.Name)" |
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
<# | |
Hashicorp recent app downloader | |
- Find and download the most recent versions of Hashicorp applications as defined in | |
$HashicorpPackages. Ignores all plugins and providers. | |
#> | |
$HashicorpReleaseManifestURL = 'https://releases.hashicorp.com/index.json' | |
# Update this to change the packages you want to download | |
$HashicorpPackages = @('vagrant','terraform','vault') |
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
resource kubernetes_namespace deployment { | |
metadata { | |
name = var.namespace | |
} | |
} | |
// Example Secrets to expose as env vars in deployment | |
resource kubernetes_secret appsecrets { | |
metadata { | |
name = "appsecrets" |
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 | |
# Work around script to get minikube running on Ubuntu 19.10 | |
# - Updates local firewall settings (ufw) | |
# - Whacks your local ./.kube and ./.minikube folders! | |
# - Runs sudo commands to get things running but does not require sudo to run thereafter | |
export MINIKUBE_WANTUPDATENOTIFICATION=false | |
export MINIKUBE_WANTREPORTERRORPROMPT=false | |
export MINIKUBE_HOME=$HOME | |
export CHANGE_MINIKUBE_NONE_USER=true |
NewerOlder