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
{ | |
"repos": [ | |
{ | |
"name": "Rx.NET", | |
"description": "The Reactive Extensions for .NET", | |
"url": "https://github.com/dotnet/reactive", | |
"forks_count": 739, | |
"stargazers_count": 6600, | |
"language": "C#" | |
}, |
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
#!csharp | |
using System.IO; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
#!csharp | |
var lines = await File.ReadAllLinesAsync("./_redirects"); | |
var rules = new List<(string, string, string)>(); |
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
<?xml version="1.0" encoding="utf-8"?> | |
<bom xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://cyclonedx.org/schema/bom/1.4"> | |
<metadata> | |
<tools> | |
<tool> | |
<vendor>Spectre Systems AB</vendor> | |
<name>Hades CLI</name> | |
<version>0.0.0.0</version> | |
</tool> | |
</tools> |
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
public Task GenerateRssFeedAsync(SiteContext siteContext, IEnumerable<StructuredDataItem> items, string outputFilePath) | |
{ | |
var feed = new RssFeed | |
{ | |
Channel = | |
{ | |
Link = new Uri(Flurl.Url.Combine(siteContext.SiteTemplateMetaData.Url, "feed", "rss.xml")), | |
Title = siteContext.SiteTemplateMetaData.Title, | |
Description = siteContext.SiteTemplateMetaData.Description, | |
LastBuildDate = DateTime.Now, |
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
Azure.RequestFailedException: Service request failed. | |
Status: 403 (Forbidden) | |
Content: | |
{ | |
"error": { | |
"code": "Forbidden", | |
"message": "The user, group or application 'appid=...;oid=...;numgroups=...;iss=https://sts.windows.net/.../' does not have keys create permission on key vault '...;location=...'. For help resolving this issue, please see https://go.microsoft.com/fwlink/?linkid=2125287", | |
"innererror": { | |
"code": "AccessDenied" | |
} |
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
fSdEOFhBcNImnhnPWSrRBnmFPuWdbEW16dRzMnkNEOW2L/Y3XVzS4EqxLKEE4UhG3rGukZZ0pq0ea/1TVs9dXUtmpuhbNaqraj1oZyU5usN6/FtDGyhmBl609ciAZOpCEPulb3qFyGRicZ8lcMn3sNVWd0YmxtC0FfoWosFW0xCx+5hGLDP3MVVe7BOe2028Wp68B+Zfppj8v8GWQgLB50j3KVeaMOtCGhPSodHWojDJOoHSn53ys/iTxg6SItJPLrM9A6siJjIhvL4idUPZ440vuG0chLzYHGYy0DwCJa2n3K70DsaByN7QRKnLMJtZSvcBbndRLKujZQGQAvm3gA== |
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
[Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::User) |
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
Invoke-WebRequest "https://cdn.deislabs.io/porter/latest/install-windows.ps1" -UseBasicParsing | Invoke-Expression |
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
[Then(@"an ""(.*)"" should be thrown")][Then(@"a ""(.*)"" should be thrown")] |
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
[Then(@"the result count should be (.*)")] | |
[Then(@"the result should equal the datetime (.*)")] | |
[Then(@"the result should equal the datetimeoffset (.*)")] | |
[Then(@"the result should equal the integer (.*)")] | |
[Then(@"the result should equal the string ""(.*)""")] | |
[Then(@"the result should be false")] | |
[Then(@"the result should be greater than the datetime (.*)")] | |
[Then(@"the result should be greater than the datetimeoffset (.*)")] | |
[Then(@"the result should be greater than the integer (.*)")] | |
[Then(@"the result should be greater than or equal to the datetime (.*)")] |
NewerOlder