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
#Requires -Version 6.0 | |
Param( | |
[string] [Parameter(Mandatory=$true)] $ResourceGroupLocation, | |
[string] $ResourceGroupName = 'AppServiceAndSql', | |
[switch] $UploadArtifacts, | |
[string] $StorageAccountName, | |
[string] $StorageContainerName = $ResourceGroupName.ToLowerInvariant() + '-stageartifacts', | |
[string] $TemplateFile = 'WebSiteSQLDatabase.json', | |
[string] $TemplateParametersFile = 'WebSiteSQLDatabase.parameters.json', |
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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<Title></Title> | |
<Authors></Authors> | |
<Description></Description> | |
<PackageId></PackageId> | |
<PackageTags></PackageTags> | |
<PackageType>Template</PackageType> | |
<PackageVersion>1.0</PackageVersion> | |
<TargetFramework>netcoreapp3.1</TargetFramework> |
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
development: { | |
host: '127.0.0.1', | |
port: 8545, | |
network_id: '*' | |
} |
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
Write-Output 'Finding version of K8s' | |
$location = 'eastus' | |
# Use index -1 to get the last entry which should be | |
# the latest version | |
$k8sversion = $(az aks get-versions --location $location ` | |
--query orchestrators[-1].orchestratorVersion ` | |
--output tsv) | |
Write-Verbose "k8s version = $k8sversion" |
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
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"compounds": [ | |
// For more information, visit: https://code.visualstudio.com/docs/editor/debugging#_compound-launch-configurations | |
{ | |
"name": "All Services", | |
"preLaunchTask": "build", |
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
=IF([@[Option Trade]], | |
DATE( | |
LEFT(YEAR(NOW()),2)&MID([@Action],FIND("$",[@Action])-3,2), | |
MONTH(MID([@Action],FIND("$",[@Action])-10,3)&1), | |
MID([@Action],FIND("$",[@Action])-6,2) | |
), | |
"") |
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
=OR([@[Buy To Close]],[@[Sell To Open]]) |
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
=LEFT([@Action], 17) = " YOU SOLD OPENING" |
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
=LEFT([@Action], 19) = " YOU BOUGHT CLOSING" |
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
=IF([@[Option Trade]], | |
NUMBERVALUE(MID([@Action], FIND("$", [@Action]) + 1, FIND(" ", [@Action], FIND("$", [@Action])) - FIND("$", [@Action]) - 1), "."), | |
"") |
OlderNewer