![]() |
/** | |
* Prompt and filter a PR's changed files by the given extension(s). | |
*/ | |
var els=document.getElementsByClassName('user-select-contain'); | |
var input = prompt('File extension(s), comma separated'); | |
els = [].forEach.call(els, function(el) { | |
var parent = el; | |
while (parent && !parent.classList.contains('js-details-container')) { |
javascript: | |
document.querySelectorAll('.load-diff-button').forEach(node => node.click()) |
When using Azure SDK clients that depend on different runtimes (Microsoft.Azure.Common, Microsoft.Rest.ClientRuntime) together, authentication can be a problem, because the authentication libraries for both runtimes are highly encapsulated, and only one authentication should be required for all the Azure management clients used.
To resolve this, you can use an adapter like the following that converts ServiceClientCredentials (required for the Microsoft.Rest.ClientRuntime clients) to SubscriptionCloudCredentials (required by Microsoft.Azure.Common clients).
namespace CreateCert | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Security.Cryptography.X509Certificates; | |
using System.Threading.Tasks; | |
class Certificate | |
{ | |
public static async Task<X509Certificate2> Create(string subject, string friendlyName, IEnumerable<string> alternativeNames) |
```mermaid
sequenceDiagram
participant dotcom
participant iframe
participant viewscreen
dotcom->>iframe: loads html w/ iframe url
iframe->>viewscreen: request template
viewscreen->>iframe: html & javascript
iframe->>dotcom: iframe ready
<## | |
FluentConsole Functions | |
(C) 2022 Garrett Serack | |
License: MIT | |
Usage: | |
dot source this into your script (. FluentConsole.ps1 ) | |
and then you can use the colon-prefixed functions. | |
You can separate colon-function calls with ';' or '|' or a newline. |
Allow templates to easily orchestrate the invocation of other templates by name/id, making multi-project and multi-item templates easier to keep up to date, and factoring out subsets of currently-giant templates into maintainable chunks.
- A JS API with a corresponding .NET Backend
- A Library project, a console project, and a test project