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
#region Windows settings | |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Set-TaskbarSmall | |
Enable-RemoteDesktop | |
Disable-InternetExplorerESC | |
#endregion | |
#region Windows updates | |
Enable-MicrosoftUpdate | |
Install-WindowsUpdate -AcceptEula |
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
if (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) | |
{ | |
Write-Warning "You do not have Administrator rights to run this script!`nPlease re-run this script as an Administrator!" | |
break | |
} | |
$logfile = (Join-Path $env:temp sxstrace.log) | |
$outfile = (Join-Path $env:temp sxstrace.txt) | |
Write-Output "Starting sxstrace utility..." |
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
param ( | |
[Parameter(Mandatory=$true, | |
Position = 0)] | |
[int] | |
$Width, | |
[Parameter(Mandatory=$true, | |
Position = 1)] | |
[int] |
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
git checkout master | |
git merge develop | |
git push -u origin master |
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
namespace ToArrayVsToList | |
{ | |
using System; | |
using System.Linq; | |
using System.Collections.Generic; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
[MemoryDiagnoser] | |
public class ToArrayVsToList |
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
// Microsoft (R) .NET Framework IL Disassembler. Version 4.6.1055.0 | |
// Copyright (c) Microsoft Corporation. All rights reserved. | |
// VTableFixup Directory: | |
// IMAGE_COR_VTABLEFIXUP[0]: | |
// RVA: 0x00004000 | |
// Count: 0x0001 | |
// Type: 0x000d |