Current status
/test
runs build for forks- gets secret
- does NOT mark the tests as completing
<?xml version="1.0" encoding="utf-16"?> | |
<StorableColorTheme xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<Keys> | |
<string>ErrorForegroundColor</string> | |
<string>ErrorBackgroundColor</string> | |
<string>WarningForegroundColor</string> | |
<string>WarningBackgroundColor</string> | |
<string>VerboseForegroundColor</string> | |
<string>VerboseBackgroundColor</string> | |
<string>DebugForegroundColor</string> |
$rdcmanName = "Azure VMs" | |
$outputFileName = Get-Location | Join-Path -ChildPath "AzureVMs.rdg" | |
$xml = [xml]'<?xml version="1.0" encoding="utf-8"?> | |
<RDCMan programVersion="2.7" schemaVersion="3"> | |
<file> | |
<credentialsProfiles /> | |
<properties> | |
<expanded>True</expanded> | |
<name>Azure VMs</name> |
Accompanying scripts for https//stuartleeks/posts/wsl-github-cli-windows-notifications-part-2/
Abbreviated setup notes
toast.exe
from https://github.com/stuartleeks/toast/releases/latest and place in your Windows PATH
ghrun.sh
and save-args.sh
to your system and make executable (chmod +x ghrun.sh
etc)alias ghrun=/path/to/ghrun.sh
Enjoy!
[core] | |
editor = code --wait | |
[diff] | |
tool = default-difftool | |
[difftool "default-difftool"] | |
cmd = code --wait --diff $LOCAL $REMOTE | |
[alias] | |
amendcommit = "!git commit --amend --reuse-message \"$(git rev-parse --abbrev-ref HEAD)\"" | |
branches = branch -a --color -v | |
wip = !git add -A && git commit -qm "WIP" |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory=$true)] | |
[ValidateSet("Top", "Bottom")] | |
[string] | |
$Position | |
) | |
# 0 - Left (doesn't work well) | |
# 1 - Top |
<# | |
This is an update of the original script to work with the Az PowerShell module: https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-1.0.0 | |
Use this script to retrieve the resources that were deployed with a pid-[GUID] tag | |
Select-AzSubscription before running the script - it must be run within the subscription context of the deployment | |
The GUID and resourceGroup name of the deployment are required params | |
#> | |
Param( | |
[GUID][Parameter(Mandatory=$true)]$guid, | |
[string][Parameter(Mandatory=$true)]$resourceGroupName |
#!/bin/bash | |
############################################################################################ | |
# | |
# Script used testing access to an Azure storage account with a private endpoint | |
# | |
############################################################################################ | |
# | |
# Argument parsing |
# Functions, aliases etc from my .bashrc | |
# | |
# General utils | |
# | |
# from: https://gist.github.com/stuartleeks/c21f035a411215fd20f5a85f78450d01 | |
# simplify dlv debug etc: `dlv2 debug ./cmd/to/run arg1 arg2 ...` | |
dlv2() { dlv $1 $2 --headless --listen localhost:2345 --api-version 2 -- "${@:3}" ; } |