I hereby claim:
- I am jrotello on github.
- I am jrotello (https://keybase.io/jrotello) on keybase.
- I have a public key ASAHkEijd7avxC-j5d0r0uXLUVnWxQgTetTqfdod4LYu8wo
To claim this, I am signing this object:
| function Export-PfxCertificateFromKeyVault { | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory)] | |
| [string]$KeyVaultName, | |
| [Parameter(Mandatory)] | |
| [string]$Name, | |
| [Parameter(Mandatory)] |
| function Get-Hash { | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory, ValueFromPipeline)] | |
| [string]$Value, | |
| [Parameter()] | |
| [ValidateSet('sha1', 'sha256', 'sha384', 'sha512', 'md5')] | |
| [string]$Algorithm = 'sha256', |
| function Get-RandomPassword { | |
| [CmdletBinding()] | |
| param( | |
| [Parameter(Mandatory = $true)] | |
| [ValidateRange(8, 64)] | |
| [int]$Length | |
| ) | |
| $alphabet = | |
| [char[]]'!@#$%^&*+?' + |
| $outputs= $env:ArmOutputs | convertfrom-json | |
| $outputs | |
| # Export pipeline variables for each ARM output value: | |
| $props = ($outputs | Get-Member -MemberType NoteProperty) | |
| foreach($p in $props) { | |
| # this next line is to write one of these for each output value: | |
| # --> "##vso[task.setvariable variable=websiteName]web-abcdefghi" | |
| $name = $p.Name |
| [CmdletBinding()] | |
| param( | |
| [Parameter(Mandatory = $true, ValueFromPipeline = $true)] | |
| [string[]]$Hostname, | |
| [Parameter()] | |
| [string]$CloudflareEmail = "$env:CLOUDFLARE_EMAIL", | |
| [Parameter()] | |
| [string]$CloudflareApiKey = "$env:CLOUDFLARE_APIKEY" |
I hereby claim:
To claim this, I am signing this object:
| [CmdletBinding()] | |
| param( | |
| [Parameter(Mandatory = $true)] | |
| [string]$BasePath | |
| ) | |
| Push-Location $BasePath | |
| $Namespace = 'http://schemas.microsoft.com/developer/msbuild/2003' | |
| $ProjectTypeGuids = '{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}' # TestProject;C# |
| $cmdbar_name = 'ReSharper (Custom)' | |
| $ctrl_caption = 'Toggle ReSharper' | |
| $cmdbar = $DTE.CommandBars[$cmdbar_name] | |
| if (-not $cmdbar) { | |
| Write-Host "Creating '$cmdbar_name' toolbar..." | |
| $cmdbar = $DTE.Commands.AddCommandBar($cmdbar_name, [EnvDTE.vsCommandBarType]::vsCommandBarTypeToolbar) | |
| } | |
| if (-not ($cmdbar.Controls | Where-Object Caption -eq $ctrl_caption)) { |