Instantly share code, notes, and snippets.

View benran-boxstarter-work.ps1
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableExpandToOpenFolder
Enable-RemoteDesktop
Disable-GameBarTips
Disable-UAC
Set-TaskbarOptions -Combine Full
cinst googlechrome
cinst firefox
cinst fiddler4
cinst git-credential-winstore
View benran-boxstarter.ps1
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableExpandToOpenFolder
Enable-RemoteDesktop
Disable-GameBarTips
Disable-UAC
Set-TaskbarOptions -Combine Full
# Browsers
cinst googlechrome
cinst firefox
View LevelDatParser.cs
void Main()
{
string path = @"Path to your Level.dat";
Level l = new Level();
try
{
l.ReadFrom(File.OpenRead(path));
}
catch (Exception e)
{
View npm-debug.log
4002 silly mapToRegistry using default registry
4003 silly mapToRegistry registry https://registry.npmjs.org/
4004 silly mapToRegistry data Result {
4004 silly mapToRegistry raw: 'delayed-stream',
4004 silly mapToRegistry scope: null,
4004 silly mapToRegistry escapedName: 'delayed-stream',
4004 silly mapToRegistry name: 'delayed-stream',
4004 silly mapToRegistry rawSpec: '',
4004 silly mapToRegistry spec: 'latest',
4004 silly mapToRegistry type: 'tag' }
View gist:fbb7288f6daa258b3df4dfe6961f7a97
PS C:\src\xbox> install-package chocolatey -verbose -ProviderName Chocolatey
DEBUG: 00:00:00.0000002 Calling 'Chocolatey::GetDynamicOptions' 'Provider'
DEBUG: 00:00:00.0056436 Calling 'Chocolatey::GetDynamicOptions' 'Source'
DEBUG: 00:00:00.0164123 Calling 'Chocolatey::GetDynamicOptions' 'Package'
DEBUG: 00:00:00.0220975 Calling 'Chocolatey::GetDynamicOptions' 'Install'
DEBUG: 00:00:00.0269860 Calling SearchForPackages. Name='chocolatey'
VERBOSE: Using the provider 'Chocolatey' for searching packages.
DEBUG: 00:00:00.0287840 PackageProvider::FindPackage with name chocolatey
DEBUG: 00:00:00.0293678 Calling SearchForPackages After Select 1
DEBUG: 00:00:00.0331302 Calling 'Chocolatey::FindPackage' 'chocolatey','','','','0'