Category: Development
-
Get the count of each column of Kusto Table
In Kusto Query Language (KQL), you can’t directly get the count of each column in a single command. However, you can get the count of each column one by one using the count() function. Here’s an example: Replace ‘datatable’ with your table name and ‘Column1’, ‘Column2’, ‘Column3’ with your column names. This will give you the count…
-
Solving the Angular Update Error: Conflicting peer dependency
If you’re struggling to update your Angular version and encounter the following error when executing the command ‘npm install’: Here’s a potential solution: Delete the ‘node_modules’ folder and the ‘package-lock.json’ file, then reinstall npm. This could resolve your issue. To do this, execute the following commands:
-
oh-my-zsh slow on WSL2 git directory
You might notice oh-my-zsh very slow on WSL2 shell, especially when you cd into a directory with git enabled. This can be resolved by running following command
-
git clone error “Operation not permitted” on WSL2 Shell
On a clean installed WSL2 (Windows SubSystem for Linux Gen 2), you might get error “Operation not permitted” when trying to run command git clone on the shell. To resolve this, simple run following commands: You might need to replace the drive letter if you hit error on other drivers.
-
Run Disk Cleanup tool on Windows Server without Installing
If you are getting a low disk space alert on a Windows Server, the safest way to free some space is to run the Disk Cleanup wizard. However on Windows Server, by default Disk Cleanup is not installed. Installing it through “Add Windows Features” would trigger a reboot. To avoid this you can simply install…
-
Delete a project in Visual Studio Online Portal
Microsoft announces Visual Studio Online general available this week. Visual Studio Online (aka VS Online) was named TFS Online for preview for quite a long time. Previously if you create test projects for practice, you might find it’s hard to discover how to delete projects. You can do that in either TFS Online Portal or…