This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for more details look at the post https://puresourcecode.com/tools/powershell/cloning-all-repositories-from-azure-devops/ | |
param( | |
[string]$Organization | |
) | |
if ($Organization -notmatch '^https?://dev.azure.com/\w+') { | |
$Organization = "https://dev.azure.com/$Organization" | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for more details look at the https://puresourcecode.com/tools/powershell/cloning-all-repositories-from-azure-devops/ | |
param( | |
[string]$Organization = "ABS-EA-Applications" | |
) | |
if ($Organization -notmatch '^https?://dev.azure.com/\w+') { | |
$Organization = "https://dev.azure.com/$Organization" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Coding Challenge: Find the Middle Node in a Linked List | |
Problem Statement: | |
Write a method that finds and returns the middle node of a singly linked list. | |
If the list has an even number of nodes, return the first of the two middle nodes. | |
Examples: | |
FindMiddle(["a", "b", "c", "d", "e", "f", "g"]) → "d" | |
FindMiddle(["a", "b", "c", "d", "e", "f"]) → "c" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Text.RegularExpressions; | |
using System.Xml; | |
using System.Xml.Linq; | |
internal class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
Program app = new Program(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using ServiceStack; | |
using ServiceStack.Text; | |
using ServiceStack.Redis; | |
using ServiceStack.DataAnnotations; | |
var redisManager = new RedisManagerPool("localhost:6379"); | |
var redis = redisManager.GetClient(); | |
public class Todo |