title | subtitle | date | source |
---|---|---|---|
BEM cheatsheet |
Block Element Modifier (BEM) naming convention cheatsheet. |
June 13, 2021 |
The name of a BEM entity is unique. The same BEM entity always has the same name
title | subtitle | date | source |
---|---|---|---|
BEM cheatsheet |
Block Element Modifier (BEM) naming convention cheatsheet. |
June 13, 2021 |
The name of a BEM entity is unique. The same BEM entity always has the same name
function Get-Basename | |
{ | |
<# | |
.SYNOPSIS | |
Gets the file name or directory portion of a path. | |
Somewhat similar to the POSIX BASENAME(1) command, written in PowerShell. | |
.DESCRIPTION | |
The Get-Basename cmdlet strips any prefix ending with the last slash | |
character present in string (after first stripping trailing slashes), |
#!/usr/bin/env bash | |
# | |
# Performs a simple semver comparison of the two arguments. | |
# | |
# Original: https://github.com/mritd/shell_scripts/blob/master/version.sh | |
# Snippet: https://jonlabelle.com/snippets/view/shell/compare-semver-versions-in-bash | |
# Gist: https://gist.github.com/jonlabelle/6691d740f404b9736116c22195a8d706 | |
# |
npm uses Semantic Versioning. Given a version number MAJOR.MINOR.PATCH
, increment the:
title | subtitle | author | date | source | snippet | gist | notoc |
---|---|---|---|---|---|---|---|
Docker Volume Type Comparisons |
Quick reference for comparing Docker Volume Types. |
Docker |
May 16, 2021 |
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 | 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 |
/// <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