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
var leadSource = LeadSource.A; | |
var union = LeadSource.A | LeadSource.B | LeadSource.C; | |
Console.WriteLine(union & leadSource); //true | |
Console.WriteLine(union & LeadSource.B); //true | |
Console.WriteLine(union & LeadSource.C); //true | |
Console.WriteLine(union & LeadSource.D); //false |
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
; Step 1) Install chocolatey with the following command in Powershell: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
; Step 2) Select from the list of packages below and append them to `choco install -y`, like: choco install -y chocolateygui 7zip googlechrome etc | |
; Step 3) Paste into a new admin powershell window and run. | |
; General tools | |
7zip | |
notepadplusplus | |
sysinternals | |
windirstat | |
wireshark |
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
get-project -All | foreach-object { If ($PSItem.ProjectName.Contains("\")) { $PSItem.ProjectName.SubString($PSItem.ProjectName.LastIndexOf("\")+1)} else { $PSItem.ProjectName } } | foreach-object { Add-BindingRedirect $PSItem} |
OlderNewer