Obviously, it's a often cased task to update an object, or even a property in one object the array of objects. Especially it's actual for React applications.
(more...)Obviously, it's a often cased task to update an object, or even a property in one object the array of objects. Especially it's actual for React applications.
(more...)With SSH you sometimes need to add new value to the $PATH variable. When your application is not in the directory, which exists in the $PATH array. If you don't want to write down the full path in the command line, for example, '/home/user/myapps/makephoto', you can add '/home/user/myapps/' to $PATH and then you can execute 'makephoto' easier.
(more...)Sometimes I like to use calculate different measures for one or another site. Last weekend I read about Lighthouse – it’s a part of DevTools in Google Chrome. I have already forgotten that I have such a powerful tool in my pocket and don’t use it. What is Lighthouse? Lighthouse is an open-source, automated tool for improving the performance, quality, and correctness of your web apps.
(more...)In my PowerShell script, which updated the content at my Personal site, became errors. I really don’t know why it stopped working at one moment, but started to debug.
(more...)Once again experiments and tests. I added a new column to the existing table and needed to fill it with different values.
(more...)Its's more and more complicated to find information about SharePoint. I don't really know why it's so. That's why I often write down the references and examples. Today I tried to remember how to create a SharePoint list with PNPJS and there's a parameter which template you will use.
(more...)DataGrid looks like a table, but it's another component, it consists of multiple div-elements. But for a user it's a table and common table attributes are often required. One of them is striped rows. Below there's an example how to implement it.
(more...)I had to update the date values in the MSSQL database table for tests and demo. I needed to set random Dates from the specific range.
(more...)When you execute your Web Api and at Swagger Page you can see Swagger error ‘Failed to load API definition’, you can’t really determine, where the error is. It is in one of the controllers. But do you want to check all of them?
(more...)There's a data type 'uniqueidentifier' in SQL. If you need to feed this field with random value, you can use NEWID(). The 'uniqueidentifier' value in SQL looks like this: '234779E5-996F-45AC-90C3-21631AF4A08D'.
(more...)