Git - How to reset changes from a specific commit
You can revert a single commit in git using git revert <commit>, below is a step by step guide on how to do this. »
You can revert a single commit in git using git revert <commit>, below is a step by step guide on how to do this. »
In this post we will use a newly created remote repository and two local repositories cloned from that remote. We will then push a change and »
You can add a JWT bearer token to a request by adding it to the Authorization header with a bearer scheme in front of the token »
The easiest way to setup serilog is to add the Nuget packages and then configure it in your program.cs or startup.cs file. In this »
In C# you can use the Random class to get random numbers: Random random = new Random(); var diceRoll = random.Next(1,7); In the above we »
In JavaScript, you can use try, catch and finally statements to handle exceptions. Below is an example of how you can use a try-catch statement in »
In JavaScript, a switch statement can be used to perform different actions based on different conditions. The switch statement tests the value of a variable or »
In Microsoft SQL Server, you can use the CAST or CONVERT function to change the data type of a value or expression. The basic syntax for »
In SQL Server, you can use the DATEADD function to add a specified time interval to a given date. The syntax for the DATEADD function is »
You can get an instance of the date object with the current time and date using let date = new Date();. If you call .toString() on this »