Skip to content

Instantly share code, notes, and snippets.

View jasond-s's full-sized avatar
🦇

Jason Dryhurst-Smith jasond-s

🦇
View GitHub Profile
using System.Buffers;
using System.Security.Cryptography;
using System.Text;
public static class UuidGenerator
{
private const int Version5 = 0x50;
private const int VariantRFC4122 = 0x80;
public static Guid GenerateV5Uuid(Uri uriNamespace)
# Load posh-git example profile
. '{PATH TO POWERSHELL STUFF}\WindowsPowerShell\Modules\posh-git\profile.example.ps1'
#First in your powershell profile in
#C:\Users\<<username>>\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
#Then in:
#C:\Users\<<username>>\Documents\WindowsPowerShell\Get-ChildItemColor.ps1
# function prompt {