Create a new blog post
This is something for me (or anyone else really) because I keep forgetting all this stuff.
- Use
{: .hide-from-excerpt}
to do just that. img
size must be 360x300.bigimg
is 1400x262.- A
—
- Pragmatic Tips
This is something for me (or anyone else really) because I keep forgetting all this stuff.
{: .hide-from-excerpt}
to do just that.img
size must be 360x300. bigimg
is 1400x262.—
The Array.prototype
functions have been available for a long time but
it’s since Arrow functions
that “Linq lambda syntax”-like functionality is available in JavaScript.
This blog post explains the most common functions by comparing them to their C# equivalents.
A basic example:
// JavaScript
const result = [0, 1, 2, 3, null]
.filter(x => x !== null)
.map(x => x * 10)
.sort((a, b) => b - a);
expect(result).toEqual([30, 20, 10, 0]);
// C#
var result = new int?[] {0, 1, 2, 3, null}
.Where(x => x != null)
.Select(x => x * 10)
.OrderByDescending(x => x)
.ToArray();
Pipes: Chainable, declarative display-value transformations to use in your Html.
This post covers:
An example:
<!-- This does exactly what you'd think -->
{{ value | uppercase }}
Ideally one would create a new gitignored file to configure an application to fit his local development environment but when you do have to revert to modifying a committed configuration file, at least there is “git assume unchanged” to avoid committing your changes in these files accidentally.
# Git assume a file
git update-index --assume-unchanged fileName
# And unassume with
git update-index --no-assume-unchanged fileName
Run any Autohotkey script on the web with a single.. Autohotkey hotkey.
A simple Autohotkey use case you can start using in your application right away:
Filling in an entire form with predefined values.
Mnemonics - helping developers remember intrinsics since 1973.
A mnemonic
a system such as a pattern of letters, ideas, or associations which assists in remembering something.
Last update on Jul 8, 2024
Added Show-Colors function
Last update on Jun 5, 2024
git filter-repo and Create-PullRequest for Github
Last update on Jun 1, 2024
Update to Angular v18: locale configuration, i18n pipes, updated official doc links etc
Last update on Jun 1, 2024
Added Object.groupBy
Last update on Mar 17, 2024
Fix for Google layout. Updated to manifest.json v3.
Last update on Oct 6, 2023
Added ES2020 & ES2021 RegExp enhancements