This file contains 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
Import-Module posh-git | |
Import-Module oh-my-posh | |
Import-Module Terminal-Icons | |
Import-Module PSReadLine | |
Set-PSReadLineKeyHandler -Key UpArrow -Function HistorySearchBackward | |
Set-PSReadLineKeyHandler -Key Tab -Function Complete | |
Set-PSReadLineKeyHandler -Key DownArrow -Function HistorySearchForward | |
Set-PoshPrompt -Theme powerlevel10k_rainbow | |
Set-PSReadLineOption -Colors @{ Command = 'Blue' } | |
Set-PSReadLineOption -EditMode Windows |
This file contains 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 System.Runtime.CompilerServices; | |
using System.Threading.Tasks; | |
public class Program | |
{ | |
public static async Task Main() | |
{ | |
Console.WriteLine(await 1); | |
} |
This file contains 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 System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Net; | |
internal class Program | |
{ | |
public static void Main() | |
{ | |
var mem = MemoizeFunction<string, string>(GetWebPage); |
This file contains 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 System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using CoreFtp; | |
using Microsoft.Azure.Management.AppService.Fluent; | |
using Microsoft.Azure.Management.Fluent; | |
using Microsoft.Azure.Management.ResourceManager.Fluent; | |
using Microsoft.Azure.Management.ResourceManager.Fluent.Authentication; | |
using Microsoft.Azure.Management.ResourceManager.Fluent.Core; |
This file contains 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; | |
namespace MergeSort_LinkedList | |
{ | |
internal class ListNode | |
{ | |
public int Val { get; set; } | |
public ListNode Next { get; set; } | |
public ListNode(int val = 0, ListNode next = null) |