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 | |
| DATESTRING=$(date +%Y.%m.%d.%H.%M) | |
| KERNEL=$(file -bL /boot/vmlinuz-linux-surface | grep -o 'version [^ ]*' | cut -d ' ' -f 2) | |
| echo "Generating initramfs..." | |
| mkinitcpio -p linux-surface -k $KERNEL | |
| echo "Making copy of /usr/lib/os-release, Using suffux $KERNEL-$DATESTRING" | |
| cp /usr/lib/os-release . |
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
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "globals" : | |
| { | |
| "alwaysShowTabs" : true, | |
| "defaultProfile" : "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
| "initialCols" : 120, | |
| "initialRows" : 30, | |
| "keybindings" : | |
| [ |
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
| if [ "`helm get values --all $(releaseName) | grep -Po 'productionSlot: \K.*'`" == "green" ]; then | |
| echo "##vso[task.setvariable variable=deploymentslot;isSecret=false;isOutput=true;]blue" | |
| echo "##vso[task.setvariable variable=currentslot;isSecret=false;isOutput=true;]green" | |
| else | |
| echo "##vso[task.setvariable variable=deploymentslot;isSecret=false;isOutput=true;]green" | |
| echo "##vso[task.setvariable variable=currentslot;isSecret=false;isOutput=true;]blue" | |
| fi |
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
| param | |
| ( | |
| [Parameter(Mandatory=$True)] | |
| [ValidateSet("pull","push")] | |
| [String]$mode, | |
| [Parameter] | |
| $RegistrationUrl, | |
| [Parameter] |
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
| New-Variable -Name 'OIDCDP' -Value '2.5.29.31' -Option ReadOnly -Force | |
| New-Variable -Name 'OIDAIA' -Value '1.3.6.1.5.5.7.1.1' -Option ReadOnly -Force | |
| #New-Variable -Name 'OIDAIAOCSP' -Value '1.3.6.1.5.5.7.48.1' -Option ReadOnly -Force | |
| Function Get-RemoteTLSCertificate | |
| { | |
| param ( | |
| [Parameter(Mandatory=$true)] | |
| [string] | |
| $Hostname, |
NewerOlder