Skip to content

Instantly share code, notes, and snippets.

@dominicusin
Created November 2, 2015 07:38
Show Gist options
  • Select an option

  • Save dominicusin/c1d6bc34ba464ce5c1f6 to your computer and use it in GitHub Desktop.

Select an option

Save dominicusin/c1d6bc34ba464ce5c1f6 to your computer and use it in GitHub Desktop.
Winda
Get-Command -Module PackageManagement
Get-PackageProvider –Name Chocolatey –ForceBootstrap
Set-Executionpolicy Unrestricted –Scope CurrentUser
Register-PackageSource -Name chocolatey -ProviderName Chocolatey -Location http://chocolatey.org/api/v2/
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('[[[[http://repo.pbox.me/files/i.ps1')]]]])" && set PATH=%PATH%;%ALLUSERSPROFILE%\pbox
nuget install chocolatey -pre
choco install git nodejs.install
npm install -g bower
bower install jquery
npm install -g duo
choco feature enable -n allowGlobalConfirmation
Find-Package -ProviderName RuckZuck -Updates | Install-Package
echo IF "%1"=="-a" (dir) ELSE (IF "%1"=="-al" (dir) ELSE (dir %1 %2 %3 %4 %5)) > %systemroot%\ls.cmd
echo %1 /?> %systemroot%\man.cmd
echo IF "%1"=="-a" (ipconfig /all) ELSE (ipconfig %1) > %systemroot%\ifconfig.cmd
echo findstr %1 %2 %3 %4 %5 > %systemroot%\grep.cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment