Coolest 25+ Web Design Trends In 2021, that’ll rock the world😎 by ThemeSelection
Download Medium on the App Store or Play Store
Set Prettier as default formatter in WebStorm
Source: Prettier—WebStorm
Centering in CSS
Examples of RxJS Patterns: Efficiency and Performance
RxJS Patterns: Efficiency and Performance by Giancarlo Buomprisco
5 Common Mistakes with RxJS
5 Common Mistakes with RxJS by Giancarlo Buomprisco
10 Must-Read Books for Software Engineers
Ten modern layouts in one line of CSS
This post highlights a few powerful lines of CSS that do some serious heavy lifting and help you build robust modern layouts.
web.dev/one-line-layouts/
c# – LINQ’s Distinct() on a particular property
EDIT: This is now part of MoreLINQ.
What you need is a “distinct-by” effectively. I don’t believe it’s part of LINQ as it stands, although it’s fairly easy to write:
public static class EnumerableExtensions { public static IEnumerable<TSource> DistinctBy<TSource, TKey>(this IEnumerable<TSource> source, Func<TSource, TKey> keySelector) { HashSet<TKey> seenKeys = new HashSet<TKey>(); foreach (TSource element in source) { if (seenKeys.Add(keySelector(element))) { yield return element; } } } }
Source: c# – LINQ’s Distinct() on a particular property – Stack Overflow
white-space | CSS-Tricks
Here is a table to understand the behaviors of all the different values for property white-space:
New lines | Spaces and tabs | Text wrapping | |
---|---|---|---|
normal | Collapse | Collapse | Wrap |
pre | Preserve | Preserve | No wrap |
nowrap | Collapse | Collapse | No wrap |
pre-wrap | Preserve | Preserve | Wrap |
pre-line | Preserve | Collapse | Wrap |
Source: white-space | CSS-Tricks
Visual Studio Comparison Tools – Visual Studio Marketplace
Visual Studio Comparison Tools is an extension for Visual Studio which uses external tools to compare files, folders and clipboard. Features: Comparing two files, selecting folders for comparison from the solution explorer and comparing (and merging) clipboard to a file or selected area in a file. By default uses Beyond Compare if found, then WinMerge (http://winmerge.org/) and if neither is found uses VSDiff to compare files. Tested to work with Beyond Compare 3 and 4.
Source: Visual Studio Comparison Tools – Visual Studio Marketplace