Skip to content

Instantly share code, notes, and snippets.

Ben Randall veleek

View GitHub Profile
@veleek
veleek / benran-boxstarter-work.ps1
Created Jan 10, 2018
Boxstarter Script for my work machines
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
@veleek
veleek / benran-boxstarter.ps1
Last active Jan 12, 2018
BoxStarter script for setting up my laptop
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
@veleek
veleek / LevelDatParser.cs
Created Oct 3, 2017
LinqPad script to load a Level.dat file from Minecraft Better Together
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)
{
@veleek
veleek / npm-debug.log
Created Nov 15, 2016
electron-quick-start install failure
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' }
@veleek
veleek / gist:fbb7288f6daa258b3df4dfe6961f7a97
Created Nov 15, 2016
OneGet Installation of chocolatey installs to wierd path
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'
You can’t perform that action at this time.