- Create repo on GitHub where you'll put your files.
- Use jsDeliver or statically to get your assets.
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
| |
; | |
; REQUIRED | |
; | |
ytdl.Path := "D:\CLI\youtube" | |
; Path of yt-dlp.exe | |
; |
This document now exists on the official ASP.NET core docs page.
<xsl:stylesheet version="1.0" xmlns:bom="http://cyclonedx.org/schema/bom/1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="text" /> | |
<xsl:template match="/"> | |
<xsl:text>## Project dependencies</xsl:text> | |
<xsl:text>

</xsl:text> | |
<xsl:text>| Vendor | Name | Version | License Id | </xsl:text> | |
<xsl:text>
</xsl:text> | |
<xsl:text>| -------|------|---------|------------|</xsl:text> | |
<xsl:text>
</xsl:text> |
To allow a user login with a magic URL, you need to implement a custom token provider. I'll show you how to add a custom token provider to authenticate a user with a link.
Create a class named PasswordlessLoginProvider in your *.Web project.
PasswordlessLoginProvider.cs
# Based on http://nuts4.net/post/automated-download-and-installation-of-visual-studio-extensions-via-powershell | |
param([String] $PackageName) | |
$ErrorActionPreference = "Stop" | |
$baseProtocol = "https:" | |
$baseHostName = "marketplace.visualstudio.com" | |
$Uri = "$($baseProtocol)//$($baseHostName)/items?itemName=$($PackageName)" |
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
public class AuthenticatingHandler<T> : DelegatingHandler where T : ISecurityTokenAccessor | |
{ | |
private readonly Policy<HttpResponseMessage> _policy; | |
private readonly T _securityTokenAccessor; | |
private IAccessToken _accessToken; | |
private AuthenticationHeaderValue _authenticationHeader; | |
public AuthenticatingHandler(T securityTokenAccessor) | |
{ | |
_securityTokenAccessor = securityTokenAccessor; |
Roslyn provides a rich set of APIs for analyzing C# and Visual Basic source code, but constructing a context in which
to perform analysis can be challenging. For simple tasks, creating a Compilation
populated with SyntaxTrees
,
MetadataReferences
and a handful of options may suffice. However, if there are multiple projects involved in the
analysis, it is more complicated because multiple Compilations
need to be created with references between them.
To simplify the construction process. Roslyn provides the Workspace
API, which can be used to model solutions,
projects and documents. The Workspace
API performs all of the heavy lifting needed to parse SyntaxTrees
from source
code, load MetadataReferences
, and construct Compilations
and add references between them.
$ori = @{} | |
Try { | |
$i = 0 | |
# Loading .env files | |
if(Test-Path $args[0]) { | |
foreach($line in (Get-Content $args[0])) { | |
if($line -Match '^\s*$' -Or $line -Match '^#') { | |
continue | |
} |