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 the certificate | |
certutil -f -p $certPass -ImportPfx $cert | |
# Retrieve the certificate details | |
Set-Location -Path cert:\LocalMachine\My | |
$myCert = Get-ChildItem | Where-Object { $_.Subject -match "\*.hobbitcloud.com" } | |
# Configure friendly name for Horizon | |
$tp = $myCert.Thumbprint | |
(Get-ChildItem -Path Cert:\LocalMachine\My\$tp).FriendlyName = "vdm" |
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
#!/usr/bin/env bash | |
git branch | grep -v $(git rev-parse --abbrev-ref HEAD) | xargs git branch -D |