| 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 |
npm uses Semantic Versioning.
MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]
| Part | Meaning |
|---|
| title | npm vs Yarn Command Translation Cheat Sheet |
|---|---|
| subtitle | CLI commands comparison |
| author | yarn |
| date | February 15, 2020 |
| source | https://yarnpkg.com/en/docs/migrating-from-npm |
| Name | Description | Exceptions |
|---|---|---|
| Avoid async void | Prefer async Task methods over async void methods | Event handlers |
| Async all the way | Don't mix blocking and async code | Console main method |
| Configure context | Use ConfigureAwait(false) when you can |
Methods that require context |
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 | |
| ## | |
| # Shortcut for ImageOptim.app tool, Lossless image optimizer for MacOS. | |
| # Only files and directories are allowed as arguments. | |
| # | |
| # Example: | |
| # imageoptim /path/to/image.png | |
| # imageoptim /path/to/images | |
| # |
| title | BEM cheatsheet |
|---|---|
| subtitle | Block Element Modifier (BEM) naming convention cheatsheet. |
| date | June 13, 2021 |
| source | https://en.bem.info/methodology/naming-convention/ |
The name of a BEM entity is unique. The same BEM entity always has the same name
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
| // String utils | |
| // | |
| // resources: | |
| // -- mout, https://github.com/mout/mout/tree/master/src/string | |
| /** | |
| * "Safer" String.toLowerCase() | |
| */ | |
| function lowerCase(str) { | |
| return str.toLowerCase(); |
NewerOlder