npm uses Semantic Versioning.
MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]
| Part | Meaning |
|---|
npm uses Semantic Versioning.
MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]
| Part | Meaning |
|---|
| title | Docker Volume Type Comparisons |
|---|---|
| subtitle | Quick reference for comparing Docker Volume Types. |
| author | Docker |
| date | May 16, 2021 |
| source | https://github.com/docker/getting-started/blob/master/docs/tutorial/using-bind-mounts/index.md#quick-volume-type-comparisons |
| snippet | https://jonlabelle.com/snippets/view/markdown/docker-volume-type-comparisons |
| gist | https://gist.github.com/jonlabelle/df5cc879d110137c210a53b115063b98 |
| notoc | false |
| #!/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 | .NET Unit Test Framework Translation Cheatsheet |
|---|---|
| subtitle | Compares popular .NET Unit Test Frameworks usages with their respective counterparts. |
| date | January 27, 2021 |
| source | https://www.automatetheplanet.com/mstest-cheat-sheet/ |
| snippet | https://jonlabelle.com/snippets/view/markdown/net-unit-test-framework-translation-cheatsheet |
| gist | https://gist.github.com/jonlabelle/9afa182a1ecc2bfaac42a6586e45f292 |
| notoc | true |
| title | LDAP Search Filter Cheatsheet |
|---|---|
| author | Jon LaBelle |
| date | January 4, 2021 |
| source | https://jonlabelle.com/snippets/view/markdown/ldap-search-filter-cheatsheet |
| notoc | true |
| /// <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 | MSBuild Version Properties Cheatsheet |
|---|---|
| author | natemcmaster |
| date | September 18, 2019 |
| source | https://stackoverflow.com/questions/42183300/what-is-the-difference-between-various-msbuild-version-properties-such-as-versi |
| snippet | https://jonlabelle.com/snippets/view/markdown/msbuild-version-properties-cheatsheet |
| gist | https://gist.github.com/jonlabelle/34993ee032c26420a0943b1c9d106cdc |
Based on Stack Overflow
| <!-- ========================================================================== | |
| 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 |
| #!/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 |
| #!/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..." |