Monthly Archive: September 2018

Git 0

Rename Local and Remote branch in git

Many time developers accidentally make a typo while naming the git branch locally and sometimes we push the code to remote git branch without realization. In this case you need to rectify the mistake...

Git 0

Git checkout remote branch

In this tutorial let us look out how to use git checkout remote branch and related concepts. The git checkout command lets you navigate between the branches created by git branch. The repository you maintain on Github/VSTS/Bitbucket/Gitlab...

Git 0

Git pull force to overwrite local files

Let’s consider a simple scenario, There are many team members working with the same files and folders and you run into a merge conflict when you use git pull. In most cases you resolve...

PowerShell 0

Powershell – Regular Expression

Regular expressions (regex or regexp) are extremely useful for   powerful search pattern language and also used in extracting information. Powershell makes use of Regular expression in several ways.  Select-String

The above code search all...

PowerShell 0

Powershell – Using foreach loop over an array

In this article let’s see how to use foreach on powershell array element. Checkout How to create an array and add/remove items into powershell array. Syntax of ForEach (loop statement in powershell)

Use ForEach...

PowerShell 0

Adding and Removing Items from a PowerShell Array

In this article i will show you how to add and remove items from a powershell array.  Create an Array in Powershell using System.Array

If we create an array and run the command...

C# 0

Using C# HttpClient from Sync and Async code

Asynchronous programming is a modern of way of writing code and it enhances the overall page responsiveness and avoids the performance bottlenecks. The .NET 4.5 and C# 5 provides a neat and clean way...