-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into main
# Conflicts: # dev_environments/README.md # dev_environments/cplusplus.ps1 # dev_environments/javascript.ps1 # dev_environments/python.ps1 # dev_environments/ruby.ps1 # javascript-webstorm.ps1 # python-pycharm.ps1 # ruby-rubymine.ps1
- Loading branch information
Showing
20 changed files
with
209 additions
and
42 deletions.
There are no files selected for viewing
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/elixir.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/dev_environments/elm.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex | ||
|
||
choco install nodejs | ||
# reload powershell to get environment running | ||
npm install --global elm-test@latest-0.19.1 | ||
npm install --global elm-format@latest-0.19.1 | ||
cinst intellijidea | ||
|
||
# intellij elm | ||
# link elm compiler located in C:\Program Files (x86)\Elm\0.19.1\bin\elm.exe | ||
# link elm-format and elm-test located in C:\Users\Administrator\AppData\Roaming\npm | ||
# Run tests via the command line (you may have to reload the terminal after installation before trying this) | ||
# elm-test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/dev_environments/erlang.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex | ||
|
||
choco install erlang | ||
choco install rebar3 | ||
cinst intellijidea | ||
|
||
# intellij erlang | ||
# Run tests via the command line (you may have to reload the terminal after installation before trying this) | ||
# rebar3 eunit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/dev_environments/golang.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/golang-goland.ps1 | iex | ||
|
||
# Clone repo | ||
& "C:\Program Files\Git\cmd\git.exe" clone https://github.com/OrangePants-R/starter-project-go-coderetreat C:\Code\starter-project-go-coderetreat |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/dev_environments/haskell.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex | ||
|
||
choco install haskell-stack | ||
cinst intellijidea | ||
# intellij haskell-force | ||
|
||
#Running test does some install as well: | ||
# stack test | ||
|
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/dev_environments/julia.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex | ||
|
||
choco install julia | ||
cinst intellijidea | ||
# intellij julia pluggin | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/dev_environments/kotlin.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex | ||
|
||
choco install openjdk | ||
choco install gradle | ||
# reload powershell to get environment running | ||
cinst intellijidea | ||
|
||
# Run tests via the command line (you may have to reload the terminal after installation before trying this): | ||
# cargo test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/dev_environments/prolog.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex | ||
|
||
choco install SWI-Prolog | ||
cinst intellijidea | ||
|
||
|
||
# Run tests via the command line (you may have to reload the terminal after installation before trying this): | ||
# swipl -f hello_world.pl -s hello_world_tests.plt -g run_tests,halt -t 'halt(1)' |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/dev_environments/reasonml.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex | ||
|
||
choco install nodejs | ||
# reload powershell to get environment running | ||
npm install -g bs-platform | ||
cinst intellijidea | ||
|
||
# intellij reasonML | ||
# When you open a ReasonML project, allow IntelliJ to install the ReasonML plugin it suggests | ||
# Run tests via the command line (you may have to reload the terminal after installation before trying this): | ||
# run: npm install | ||
# Open two shells, and in the first, start the build process. | ||
# run: npm start | ||
# run: npm test |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/dev_environments/rust.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex | ||
|
||
choco install rust | ||
choco install rustup.install | ||
# reload powershell to get environment running | ||
rustup self update | ||
rustup component add rustfmt | ||
rustup component add clippy | ||
|
||
cinst intellijidea | ||
|
||
# Run tests via the command line (you may have to reload the terminal after installation before trying this): | ||
# cargo test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# How to run this file: | ||
# PS> iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/full.net.machine.ps1 | iex | ||
|
||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/windows.ps1 | iex | ||
iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/visual-studio.ps1 | iex | ||
|
||
choco install swiftforwindows | ||
# reload powershell to get environment running | ||
"C:\Swift\bin\swiftc.exe" -swift-version 4 "C:\Swift\Samples\Hello\Hello.swift" -o "C:\Swift\RuntimeEnv\Hello.exe" | ||
cinst intellijidea | ||
|
||
# Run the following command: "C:\Swift\bin\Swift for Windows.exe" | ||
# It loads a dialog from which you can select a file to compile | ||
# The compiled file is output by default to C:\Swift\RuntimeEnv | ||
# Running the executable in that folder seems to work. | ||
# Run tests via the command line (you may have to reload the terminal after installation before trying this) | ||
# "C:\Swift\bin\swiftc.exe" -swift-version 4 "C:\Users\Administrator\Exercism\swift\hello-world\Sources\HelloWorld\HelloWorld.swift" -o "C:\Swift\RuntimeEnv\HelloWorld.exe" && "C:\Swift\RuntimeEnv\HelloWorld.exe" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
func hello() -> String { | ||
return "hello" | ||
} | ||
|
||
func assertEquals(_ expected: String, _ actual: String) { | ||
if expected == actual { | ||
print("Passed.") | ||
} else { | ||
print("Failed.") | ||
print("Expected: " + expected) | ||
print("Actual: " + actual) | ||
} | ||
} | ||
|
||
func testNoName() { | ||
let expected = "Hello, World!" | ||
assertEquals(expected, hello()) | ||
} | ||
|
||
func testEverything() { | ||
testNoName() | ||
} | ||
|
||
testEverything() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This script | ||
# iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/java-intellij.ps1 | iex | ||
|
||
#Requires -RunAsAdministrator | ||
|
||
iwr -useb cin.st | iex | ||
choco feature enable --name=allowGlobalConfirmation | ||
choco install elixir | ||
cinst intellijidea | ||
|
||
# Install the intellij elixir plugin | ||
|
||
|
||
Write-Host -Foreground yellow "Reboot when done" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This script | ||
# iwr -useb https://raw.githubusercontent.com/JayBazuzi/machine-setup/main/golang-goland.ps1 | iex | ||
|
||
#Requires -RunAsAdministrator | ||
|
||
iwr -useb cin.st | iex | ||
choco feature enable --name=allowGlobalConfirmation | ||
cinst golang | ||
cinst goland | ||
|
||
Write-Host -Foreground yellow "Reboot when done" |