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
# Include in your $profile to allow easy directory bookmarking and navigation | |
Function Get-MarksFilePath {return "$env:USERPROFILE\marks.xml"} | |
Function Get-DefaultMarkName {return "(default)"} | |
Function Get-Marks { | |
try { | |
return Import-CliXML (Get-MarksFilePath) | |
} |
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 BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
namespace Benchmarks; | |
public class Program | |
{ | |
public static int Main(string[] args) | |
{ | |
var summary = BenchmarkRunner.Run<ConcatImplementations>(); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# Hello world! |
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
param( | |
[Parameter(Mandatory = $true)] | |
[string] $InputCsvPath, | |
[switch] $DoExecute | |
) | |
Set-StrictMode -version 3.0 | |
Function ExecuteCommand([System.Management.Automation.ScriptBlock] $sb) { | |
$sbExpanded = $ExecutionContext.InvokeCommand.ExpandString($sb).Trim() |