| title | subtitle | author | date | source | snippet | gist | notoc |
|---|---|---|---|---|---|---|---|
Docker Volume Type Comparisons |
Quick reference for comparing Docker Volume Types. |
Docker |
May 16, 2021 |
false |
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
| #!/usr/bin/env bash | |
| # | |
| # Bash wrapper script for the .NET Format global CLI tool. | |
| # | |
| # Author........: Jon LaBelle | |
| # Date..........: February 4, 2021 | |
| # Snippet.......: https://jonlabelle.com/snippets/view/shell/net-format-bash-wrapper-script | |
| # Gist..........: https://gist.github.com/jonlabelle/a0751768a220274a90d4be498da51643 | |
| # .NET Format...: https://github.com/dotnet/format |
| title | subtitle | date | source | snippet | gist | notoc |
|---|---|---|---|---|---|---|
.NET Unit Test Framework Translation Cheatsheet |
Compares popular .NET Unit Test Frameworks usages with their respective counterparts. |
January 27, 2021 |
true |
| title | author | date | source | notoc |
|---|---|---|---|---|
LDAP Search Filter Cheatsheet |
Jon LaBelle |
January 4, 2021 |
true |
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
| /// <summary> | |
| /// Normalize line endings. | |
| /// </summary> | |
| /// <param name="lines">Lines to normalize.</param> | |
| /// <param name="targetLineEnding">If targetLineEnding is null, Environment.NewLine is used.</param> | |
| /// <exception cref="ArgumentOutOfRangeException">Unknown target line ending character(s).</exception> | |
| /// <returns>Lines normalized.</returns> | |
| /// <remarks> | |
| /// https://jonlabelle.com/snippets/view/csharp/normalize-line-endings | |
| /// </remarks> |
| title | author | date | source | snippet | gist |
|---|---|---|---|---|---|
MSBuild Version Properties Cheatsheet |
natemcmaster |
September 18, 2019 |
Based on Stack Overflow
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
| <!-- ========================================================================== | |
| How to specify multiple target frameworks in SDK-style projects | |
| - File: MyProject.csproj | |
| - Source: https://docs.microsoft.com/en-us/dotnet/standard/frameworks#how-to-specify-a-target-framework | |
| When you specify multiple target frameworks, you may conditionally reference | |
| assemblies for each target framework. In your code, you can conditionally | |
| compile against those assemblies by using preprocessor symbols with |
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
| #!/bin/sh | |
| # ======================================================== | |
| # 100 uploads per day, 5GB file size limit for FREE plan. | |
| # ======================================================== | |
| URL="https://file.io" | |
| DEFAULT_EXPIRE="14d" # Default to 14 days | |
| if [ $# -eq 0 ]; then |
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
| #!/usr/bin/env bash | |
| function url2markdown() | |
| { | |
| if [ -z "$1" ]; then | |
| echo "Usage: url2markdown <url|path> [outfile.md]" | |
| echo "" | |
| echo " Converts the specified URL (or path) to Markdown using Pandoc." | |
| echo "" | |
| echo " If [outfile.md] (arg 2) is not specified..." |
| title | author | date | source |
|---|---|---|---|
Configure Firefox for Integrated Windows Authentication |
Jon LaBelle |
April 28, 2020 |
By default, Firefox does not support