prep for upcoming web dev conference

This commit is contained in:
Yosef Durr
2018-11-02 09:19:17 -07:00
parent 75a956ceef
commit edeb59937c

View File

@@ -26,7 +26,6 @@ function executeScript {
#--- Setting up Windows ---
executeScript "FileExplorerSettings.ps1";
executeScript "SystemConfiguration.ps1";
executeScript "RemoveDefaultApps.ps1";
executeScript "CommonDevTools.ps1";
executeScript "Browsers.ps1";
@@ -52,28 +51,16 @@ write-host "Installing tools inside the WSL distro..."
Ubuntu1804 run apt install ansible -y
## Install NodeJS
Ubuntu1804 run curl -sL https://deb.nodesource.com/setup_8.x | bash -
# Ubuntu1804 run curl -sL https://deb.nodesource.com/setup_8.x | bash -
Ubuntu1804 run apt-get install -y nodejs
# checkout recent projects
## Get a NodeJS Demo
mkdir C:\github
cd C:\github
git.exe clone https://github.com/microsoft/windows-dev-box-setup-scripts
git.exe clone https://github.com/microsoft/winappdriver
git.exe clone https://github.com/microsoft/wsl
git.exe clone https://github.com/PowerShell/PowerShell
## Get a NodeJS Demo
git.exe clone https://github.com/gtsopour/nodejs-shopping-cart.git
cd C:\github\nodejs-shopping-cart
npm install
# set desktop wallpaper
Invoke-WebRequest -Uri 'http://chocolateyfest.com/wp-content/uploads/2018/05/img-bg-front-page-header-NO_logo-opt.jpg' -Method Get -ContentType image/jpeg -OutFile 'C:\github\chocofest.jpg'
Set-ItemProperty -path 'HKCU:\Control Panel\Desktop\' -name wallpaper -value 'C:\github\chocofest.jpg'
rundll32.exe user32.dll, UpdatePerUserSystemParameters
RefreshEnv
Enable-UAC
Enable-MicrosoftUpdate
Install-WindowsUpdate -acceptEula