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
builder.Services.AddCors(options => | |
{ | |
options.AddPolicy(name: "yourFrontend", | |
policy => | |
{ | |
policy.AllowAnyHeader() | |
.AllowAnyMethod() | |
.AllowCredentials() | |
.WithOrigins("http://localhost:7072"); |
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
<# | |
.Synopsis | |
This is a script to gather information for Help Desk support calls | |
.DESCRIPTION | |
This is a basic script designed to gather user and computer information for helpdeks support calls. | |
Information gathered includes: | |
DNS Name & IP Address | |
DNS Server | |
Name of Operating System |
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
// [B](f: (A) ⇒ [B]): [B] ; Although the types in the arrays aren't strict (: | |
Array.prototype.flatMap = function(lambda) { | |
return Array.prototype.concat.apply([], this.map(lambda)); | |
}; |