Skip to content

Instantly share code, notes, and snippets.

@tackelua
Last active October 2, 2022 18:33
Show Gist options
  • Save tackelua/5587b354e8b6ca35388816f8d42000be to your computer and use it in GitHub Desktop.
Save tackelua/5587b354e8b6ca35388816f8d42000be to your computer and use it in GitHub Desktop.

Revisions

  1. tackelua revised this gist Oct 2, 2022. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions new-server.cmd
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@ New-NetFirewallRule -DisplayName "Gith Outbound" -Direction Outbound -LocalPort

    choco feature enable -n allowGlobalConfirmation

    choco install chocolateygui -fy
    choco install googlechrome -fy
    choco install git -fy
    choco install vscode -fy
  2. tackelua revised this gist Oct 2, 2022. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions new-server.cmd
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,6 @@
    New-NetFirewallRule -DisplayName "Gith Inbound" -Direction Inbound -LocalPort 3000-9999 -Protocol TCP -Action Allow
    New-NetFirewallRule -DisplayName "Gith Outbound" -Direction Outbound -LocalPort 3000-9999 -Protocol TCP -Action Allow

    @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

    choco feature enable -n allowGlobalConfirmation
    @@ -6,5 +9,6 @@ choco install googlechrome -fy
    choco install git -fy
    choco install vscode -fy
    choco install nvm -fy
    choco install smartgit -fy

    nvm install 16
  3. tackelua created this gist Oct 2, 2022.
    10 changes: 10 additions & 0 deletions new-server.cmd
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

    choco feature enable -n allowGlobalConfirmation

    choco install googlechrome -fy
    choco install git -fy
    choco install vscode -fy
    choco install nvm -fy

    nvm install 16