Skip to content

Instantly share code, notes, and snippets.

Public NotInheritable Class CombGuid
Public Shared Function NewGuid() As Guid
Dim timestamp As DateTime = DateTime.UtcNow
Dim guidArray As Byte() = Guid.NewGuid.ToByteArray
Dim timestampArray As Byte() = BitConverter.GetBytes(timestamp.Ticks / 10000L)
If BitConverter.IsLittleEndian Then Array.Reverse(timestampArray)
Buffer.BlockCopy(timestampArray, 2, guidArray, 10, 6)
## Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
## Basic setup
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showFileExtensions -showHidenFilesFoldersDrives
Enable-RemoteDesktop
Disable-InternetExplorerESC
- O que você fizer vai ser utilizado por muitos usuários, durante muitos anos. E complementado por outros desenvolvedores. Faça bem feito.
- Entenda como funciona, aprenda, melhore. Não desperdice seu tempo.
- Sabia balancear entre pragmatismo e perfeccionismo.
- Se algo não funcionou, não explique muito, não discuta. Descubra o que ocasionou e ajuste.
- Leia o código-fonte de outros, principalmente Símix, DevExpress e projetos open source no GitHub.
- Participe dos code reviews.
# Regras gerais
- Analise o ambiente que vai ser alterado antes de começar a desenvolver.
- Confira as especificações da tarefa. Sugira ideias se identificar que ficariam melhores.
@simix-markus
simix-markus / .NET6Migration.md
Created March 15, 2022 15:51 — forked from davidfowl/.NET6Migration.md
.NET 6 ASP.NET Core Migration