5 simple steps that I tested and used to make the change in under 1 minute.
-
Move the
master
branch tomain
git branch --move master main
FROM node:latest | |
# ---------------------------------------------------------------------------- | |
# Gist: https://gist.github.com/jonlabelle/fafd49c64ce299ba7bd7227de0df995a | |
# ---------------------------------------------------------------------------- | |
# Update NPM and Yarn to the latest versions | |
RUN npm install --global npm | |
WORKDIR /app |
title | subtitle | author | date | source | snippet | gist | notoc |
---|---|---|---|---|---|---|---|
kubectl Cheatsheet |
This page contains a list of commonly used kubectl commands and flags. |
July 19, 2021 |
false |
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 |