View gist:137ea9463514e9d36eedd44dff12c9c3
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
### Keybase proof | |
I hereby claim: | |
* I am zloeber on github. | |
* I am zloeber (https://keybase.io/zloeber) on keybase. | |
* I have a public key ASBOs716i1Js9FIAr-c1ozV8HUyal6AIrI1Gr-HKQlwzQAo | |
To claim this, I am signing this object: |
View gist:44f8b444fd3fa7003248af67bc7e4c7d
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') |
View CreateAzureADDynamicGroups.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
<# | |
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 |
View GetDuplicateAzureADDynamicGroups.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
<# | |
Finds a good portion of possible dupliate dynamic groups in Azure AD. Will not find super complicated member filter duplicates but should find most common filters (like all PCs and the zillions of 'Subsidiary*' groups that InTune upgrades have created on the back end) | |
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 |
View bootstrapwindows10.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
<# | |
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) |
View Remove-InstalledApp.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
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)" |
View install-direnv.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
<# | |
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 { |
View gist:777c345d69998f054a78e076860e5d02
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
name: $(BuildDefinitionName).$(DayOfYear)$(Rev:.r) | |
trigger: | |
batch: true | |
branches: | |
include: | |
- master | |
- develop | |
# Don't trigger on PRs | |
pr: none |
View gist:414511f69b4e5228d143a38420dd3f9e
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
git checkout develop | |
make new/post some_awesome_content.md | |
hugo new content/posts/new_blog_post.md | |
git add --all . && git commit -m 'post: some awesome content added' | |
git push origin develop |
View gist:a55506c4f5ce17be6bc84a649ab0ca65
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
git checkout master | |
git merge develop | |
git add --all . && git commit -m 'post: some awesome content approved to publish' |
OlderNewer