The code of the React component to scroll DIV content by axe X. It can be useful when you have a wide table and a narrow screen. Or a designer had a very cool idea of the interface.
(more...)The code of the React component to scroll DIV content by axe X. It can be useful when you have a wide table and a narrow screen. Or a designer had a very cool idea of the interface.
(more...)There are a lot of cases when you need to get the items by the author. For me the only correct way to get the SharePoint list items by user with CAML is like this:
<Where><Eq><FieldRef Name='Author' LookupId='TRUE' /><Value Type='Integer'>123</Value></Eq></Where>
(more...)In HTML tag 'input type = number' is not very user friendly. So, I always implement it as a text with transformation text to number.
(more...)I needed to check if the tables are in the database or not. Here is an example of the SQL query - it returns 1 if one of the tables exists and 0 if they do not exist.
(more...)Standard deviation is the degree of dispersion or the scatter of the data points relative to its mean, in descriptive statistics. It’s often used in data analysis and reports. And, of course, how to calculate Standard deviation in PowerBI is very important to know.
(more...)If you want to customize the styles for filter panels in DataGrid from Material UI (MUI), you need to know, where it is. And only so. To update these styles you can only with the object properties.
(more...)You have a sim-card and need to find what's you number. If your balance is active, you can call somebody, but if you can't do it? Of course, for different operators the commands are uniuque. But for AldiTalk there's such a ocmmand.
(more...)You can delete timer job only with PowerShell. Why? I guess you know why 🙂 The most popular reason is the duplicating of timer jobs. To delete a timer job, you need to know the ID. And you can get it also with PowerShell or with GUI.
(more...)In Linux (Debian, Ubuntu) it's very cool to use bash and command line. Recently I wanted to add to archive approximately 3000 'jpg' files, which were named like 'test_2024_06_10 11:22:00'. I didn't want to select so many files manually, so I did it from command line. This is how my command line text looked like:
(more...)For local development I often need Windows server and I use trial version. As six months came through, I need to buy or extend it. Of course, I prefer to extend 🙂
Open PowerShell as administrator and execute the command:
slmgr -rearm
To continue the trial for your Microsoft Office, you can use OSPPREARM.EXE
cd %SystemDrive%\Program Files (x86)\Microsoft Office\Office16
OSPPREARM.EXE