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
{ | |
"editorData": { | |
"locations": [ | |
{ | |
"blockId": 3545, | |
"x": 1600, | |
"y": 1400 | |
}, | |
{ | |
"blockId": 3548, |
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
function which([string]$name) { | |
return (get-command $name -UseFuzzyMatching).Definition; | |
} |
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
using Microsoft.AspNetCore.Mvc.Testing; | |
using System.Net; | |
using System.Threading.Tasks; | |
using Xunit; | |
using System.Net.Http; | |
using System.Collections.Generic; | |
using Newtonsoft.Json; | |
namespace Api.FunctionalTests | |
{ |
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
Configuration Website | |
{ | |
param ($MachineName = "localhost") | |
Node ($MachineName) | |
{ | |
WindowsFeature WebServerRole | |
{ | |
Name = "Web-Server" | |
Ensure = "Present" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>The Inner Sphere</title> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta content="width=device-width" name="viewport" /> | |
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.1.1.min.js"></script> | |
<script src="http://underscorejs.org/underscore-min.js" ></script> | |
<style type="text/css"> |
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
Function Get-MwoBlenderMech | |
{ | |
[CmdletBinding()] | |
param( | |
[Parameter(Position = 0, Mandatory = $True, ValueFromPipeline=$true)] | |
[Alias('Family')] | |
[Alias('Chassis')] | |
[string[]]$MechFamily, | |
[Parameter(Position=1, Mandatory=$false, valuefrompipeline=$false)] | |
[Alias('Path')] |
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 class Walk : SymbolVisitor<NamespaceSymbol, IEnumerable<NamedTypeSymbol>> | |
{ | |
protected override IEnumerable<NamedTypeSymbol> VisitNamespace(NamespaceSymbol symbol, NamespaceSymbol argument) | |
{ | |
var types = new List<NamedTypeSymbol>(); | |
foreach (var ns in symbol.GetNamespaceMembers()) | |
{ | |
var closeTypes = types; |