![]() |
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
| /** | |
| * 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')) { |
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
| 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).
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
| 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) |
https://gist.github.com/search?q=user%3A%40me&ref=searchresults
Uses @me to refer to itself in the gist search query.
Type this into Github Gist Search (https://gist.github.com/)
user:BoQsc your search query
```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
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
| <## | |
| 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. |
