One thing I tend to forget is how powerful azure cli is and how many things can be done way faster through this tool. So, for example, if you want…
Snippets
IEx is Elixir’s interactive shell, where you can type any Elixir expressions and get its result. One issue you might come across when trying to use `iex` in Powershell, through a…
If you have multiple files having an extension like jpeg and you want to batch rename them to `jpg` as extension you can do that with a single line of code: FOR /R…
A time may come when you will need to alter your database to use a different collation. You can do this by using the following snippet: USE master; GO ALTER DATABASE [DatabaseName] COLLATE…
To get a rough view of how many rows, total, used and unused space each table has, in a sql server database you can run the following query: USE {Database_Name};…
Sometimes you may need to render a certain view as string, for example when you want to send an email where usually the body is pure html. To do so, you need…
NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central…
A custom validation attribute allows you to create metadata, that you can use in the data model to validate data fields. In order to validate when a collection is null or empty, you may create…
In order to sort a collection of objects based on another list that contains the proper order, we can create an extension method that performs a `Join` between these two…