Pipeline sequence in PowerShell

Here’s an example of a pipeline sequence in PowerShell — a simple but powerful concept.
Imagine you forgot to clean up your old log files. Or, as I had to do today, you open the dreaded folder 'inetpub/mailroot/Badmail' on a dev server and see thousands of files.

(more...)

I use the context service as a singletone in the app. What do you think, is this a good way to initialize and use context the way like this (see below) is it better just to use it as disposable? See examples below and write the comments

(more...)

Fix the warning 'The value provided to Autocomplete is invalid' for MUI Autocomplete

Material UI

For the development of a Ract component I used MUI Autocomplete. I got the array of objects from SharePoint list and used this data as a parameter for options. Actually, you can use any source.
But I had a lot of warnings in console.

MUI: The value provided to Autocomplete is invalid.
None of the options match with {"Id":0,"Title":"","ProjectDescription":"","AvailableObjects":[]}.
You can use the isOptionEqualToValue prop to customize the equality test.

(more...)

MarkiMarta.com. Notes of web-specialist
Since 2009
18+