This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
# This script will uninstall every windows update on your machine (that it can) | |
# Don't run unless you really want all updates removed ... | |
# Restart PC when finished | |
$file = "./updateList.txt" | |
Function GetUpdateList | |
{ | |
if(Test-Path $file) { | |
Remove-Item $file | |
} |
This file contains 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
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Enable-RemoteDesktop | |
cinst chocolatey | |
cinst notepadplusplus.install | |
cinst sublimetext3 | |
cinst visualstudiocode | |
cinst maven -version 3.2.1 | |
cinst firefox -version 21.0 | |
cinst googlechrome | |
cinst vlc |
This file contains 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
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | |
choco install -y java.jdk | |
choco install -y git.install | |
choco install -y nodejs | |
choco upgrade -y nodejs.install | |
npm install -g yo | |
npm install -g bower | |
npm install -g grunt-cli | |
npm install -g generator-jhipster |