Merge branch 'main' of github.com:UL-FRI/classroom

This commit is contained in:
Gašper Fele-Žorž 2024-09-16 11:01:48 +02:00
commit bc6d0000a9
25 changed files with 87 additions and 127 deletions

View file

@ -1,7 +1,8 @@
# Kriptografija in računalniška varnost # Kriptografija in računalniška varnost
# Klemen.Klanjscek@fri.uni-lj.si, Janos.Vidali@fri.uni-lj.si # Klemen.Klanjscek@fri.uni-lj.si
# GNU/Linux, SageMath, Python 3, Jupyter Notebook, OpenSSL, OpenSSH client # GNU/Linux, SageMath, Python 3, Jupyter Notebook, OpenSSL, OpenSSH client
dependencies:
- role: sagemath # SageMath se se prevede za Ubutnu 24.04: https://github.com/sagemath/sage/issues/38051#issuecomment-2123452861
- role: jupyter # - include_tasks: sagemath.yml
- role: openssl - include_tasks: jupyter.yml
- include_tasks: openssl.yml

View file

@ -1,25 +1,25 @@
- name: Check Haskell install status # - name: Check Haskell install status
win_stat: # win_stat:
path: C:\ghcup\bin\ghc.exe # path: C:\ghcup\bin\ghc.exe
register: file # register: file
- when: not file.stat.exists # - when: not file.stat.exists
block: # block:
- name: Download Haskell # - name: Download Haskell
win_get_url: # win_get_url:
url: "https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1" # url: "https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1"
dest: 'C:\' # dest: 'C:\'
register: download # register: download
- name: Install Haskell # - name: Install Haskell
win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64 # win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64
- name: Add Haskell to PATH # - name: Add Haskell to PATH
win_path: # win_path:
elements: # elements:
C:\ghcup\bin # C:\ghcup\bin
- name: Remove temporary files # - name: Remove temporary files
win_file: # win_file:
path: "{{ download.dest }}" # path: "{{ download.dest }}"
state: absent # state: absent

View file

@ -1,5 +1,5 @@
# Digitalna forenzika # Digitalna forenzika
# Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si # Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si
# Windows, GNU/Linux, GNS3, VirtualBox # Windows, GNU/Linux, GNS3, VirtualBox
- include_tasks: GNS3.yml - include_tasks: gns3.yml
- include_tasks: virtualbox.yml - include_tasks: virtualbox.yml

View file

@ -1,15 +0,0 @@
- name: Add GNS3 repository
apt_repository:
repo: ppa:gns3/ppa
state: present
update_cache: True
validate_certs: False
- name: Install gns3 server
ansible.builtin.apt:
name: gns3-server
state: latest
- name: Install gns3 GUI
ansible.builtin.apt:
name: gns3-gui
state: latest

View file

@ -1,5 +1,5 @@
# Komunikacijski protokoli in omrežna varnost # Komunikacijski protokoli in omrežna varnost
# Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si # Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si
# Windows, GNU/Linux, GNS3, VirtualBox # Windows, GNU/Linux, GNS3, VirtualBox
- include_tasks: GNS3.yml - include_tasks: gns3.yml
- include_tasks: virtualbox.yml - include_tasks: virtualbox.yml

View file

@ -1,7 +1,8 @@
# Kriptografija in računalniška varnost # Kriptografija in računalniška varnost
# Klemen.Klanjscek@fri.uni-lj.si, Janos.Vidali@fri.uni-lj.si # Klemen.Klanjscek@fri.uni-lj.si
# GNU/Linux, SageMath, Python 3, Jupyter Notebook, OpenSSL, OpenSSH client # GNU/Linux, SageMath, Python 3, Jupyter Notebook, OpenSSL, OpenSSH client
- include_tasks: sagemath.yml # SageMath se se prevede za Ubutnu 24.04: https://github.com/sagemath/sage/issues/38051#issuecomment-2123452861
# - include_tasks: sagemath.yml
- include_tasks: jupyter.yml - include_tasks: jupyter.yml
- include_tasks: openssl.yml - include_tasks: openssl.yml

View file

@ -5,7 +5,7 @@
- include_tasks: vscode.yml - include_tasks: vscode.yml
- include_tasks: ocaml.yml - include_tasks: ocaml.yml
- include_tasks: eclipse.yml - include_tasks: eclipse.yml
- include_tasks: haskell.yml
- include_tasks: swi-prolog.yml - include_tasks: swi-prolog.yml
- include_tasks: rlwrap.yml - include_tasks: rlwrap.yml
- include_tasks: utop.yml

View file

View file

@ -1,9 +1,10 @@
- name: Install SageMath # # SageMath se se prevede za Ubutnu 24.04: https://github.com/sagemath/sage/issues/38051#issuecomment-2123452861
apt: # - name: Install SageMath
name: sagemath # apt:
state: latest # name: sagemath
# state: latest
- name: Install SageMath - Jupyter # - name: Install SageMath - Jupyter
apt: # apt:
name: sagemath-jupyter # name: sagemath-jupyter
state: latest # state: latest

View file

@ -11,3 +11,8 @@
name: elpa-sml-mode name: elpa-sml-mode
state: latest state: latest
# - name: Readline for SML
# lineinfile:
# dest: "$HOME/.bashrc"
# line: "alias smlnj='rlwrap sml'"
# insertafter: EOF

View file

@ -0,0 +1,4 @@
- name: Install utop
apt:
name: utop
state: latest

View file

@ -1,9 +1,7 @@
VSCode_Extensions: VSCode_Extensions:
- VisualStudioExptTeam.vscodeintellicode - VisualStudioExptTeam.vscodeintellicode
- arthurwang.vsc-prolog - AmauryRabouan.new-vsc-prolog
- dramforever.vscode-ghc-simple
- eamodio.gitlens - eamodio.gitlens
- justusadam.language-haskell
- ms-dotnettools.csdevkit # IS-63714 - ms-dotnettools.csdevkit # IS-63714
- ms-python.python - ms-python.python
- ms-vscode.cpptools - ms-vscode.cpptools

View file

@ -1,9 +1,10 @@
- name: Install SageMath # # SageMath se se prevede za Ubutnu 24.04: https://github.com/sagemath/sage/issues/38051#issuecomment-2123452861
apt: # - name: Install SageMath
name: sagemath # apt:
state: latest # name: sagemath
# state: latest
- name: Install SageMath - Jupyter # - name: Install SageMath - Jupyter
apt: # apt:
name: sagemath-jupyter # name: sagemath-jupyter
state: latest # state: latest

View file

@ -1 +0,0 @@
# TODO

View file

@ -1,16 +1,14 @@
VSCode_Extensions: VSCode_Extensions:
- VisualStudioExptTeam.vscodeintellicode - VisualStudioExptTeam.vscodeintellicode
- arthurwang.vsc-prolog - AmauryRabouan.new-vsc-prolog
- dramforever.vscode-ghc-simple
- eamodio.gitlens - eamodio.gitlens
- justusadam.language-haskell
- ms-dotnettools.csdevkit # IS-63714 - ms-dotnettools.csdevkit # IS-63714
- ms-python.python - ms-python.python
- ms-vscode.cpptools - ms-vscode.cpptools
- franneck94.c-cpp-runner - franneck94.c-cpp-runner
- ritwickdey.LiveServer - ritwickdey.LiveServer
- ms-toolsai.jupyter - ms-toolsai.jupyter
- vscodevim.vim # - vscodevim.vim
- ocamllabs.ocaml-platform - ocamllabs.ocaml-platform
- stonebuddha.vscode-better-sml - stonebuddha.vscode-better-sml
- vscode-icons-team.vscode-icons - vscode-icons-team.vscode-icons
@ -22,4 +20,4 @@ VSCode_Extensions:
- platformio.platformio-ide # ORS-63218 - platformio.platformio-ide # ORS-63218
- stmicroelectronics.stm32-vscode-extension # RA-63703 - stmicroelectronics.stm32-vscode-extension # RA-63703
- danielpinto8zz6.c-cpp-compile-run - danielpinto8zz6.c-cpp-compile-run
- vadimcn.vscode-lldb # - vadimcn.vscode-lldb

View file

@ -1,5 +1,5 @@
# Digitalna forenzika # Digitalna forenzika
# Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si # Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si
# Windows, GNU/Linux, GNS3, VirtualBox # Windows, GNU/Linux, GNS3, VirtualBox
- include_tasks: GNS3.yml - include_tasks: gns3.yml
- include_tasks: virtualbox.yml - include_tasks: virtualbox.yml

View file

@ -1,4 +0,0 @@
- name: GNS3 na Windows ne deluje
debug:
msg: "GNS3 na Windows zaenkrat ne vklapljamo"

View file

@ -1,5 +1,5 @@
# Komunikacijski protokoli in omrežna varnost # Komunikacijski protokoli in omrežna varnost
# Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si # Aleks.Huc@fri.uni-lj.si, Gasper.FeleZorz@fri.uni-lj.si
# Windows, GNU/Linux, GNS3, VirtualBox # Windows, GNU/Linux, GNS3, VirtualBox
- include_tasks: GNS3.yml - include_tasks: gns.yml
- include_tasks: virtualbox.yml - include_tasks: virtualbox.yml

View file

@ -1,7 +0,0 @@
# Kriptografija in računalniška varnost
# Klemen.Klanjscek@fri.uni-lj.si, Janos.Vidali@fri.uni-lj.si
# GNU/Linux, SageMath, Python 3, Jupyter Notebook, OpenSSL, OpenSSH client
- include_tasks: sagemath.yml
- include_tasks: jupyter.yml
- include_tasks: openssl.yml

View file

@ -1,11 +0,0 @@
# Principi programskih jezikov
# Klemen.Klanjscek@fri.uni-lj.si
# Windows, GNU/Linux, VS Code, Ocaml, Eclipse, Haskell, SWI-Prolog, rlwrap
- include_tasks: vscode.yml
- include_tasks: ocaml.yml
- include_tasks: eclipse.yml
- include_tasks: haskell.yml
- include_tasks: swi-prolog.yml
- include_tasks: rlwrap.yml

View file

@ -13,7 +13,6 @@
- import_tasks: IVZ-63521.yml - import_tasks: IVZ-63521.yml
- import_tasks: KCR-63550.yml - import_tasks: KCR-63550.yml
- import_tasks: KPOV-63716.yml - import_tasks: KPOV-63716.yml
- import_tasks: KRV-63528.yml
- import_tasks: MRO-63257.yml - import_tasks: MRO-63257.yml
- import_tasks: MV-63288.yml - import_tasks: MV-63288.yml
- import_tasks: NDN-63729.yml - import_tasks: NDN-63729.yml
@ -32,7 +31,6 @@
- import_tasks: PB-63707.yml - import_tasks: PB-63707.yml
- import_tasks: PB2-63713.yml - import_tasks: PB2-63713.yml
- import_tasks: PJC-63769.yml - import_tasks: PJC-63769.yml
- import_tasks: PPJ-63220.yml
- import_tasks: PS-63261.yml - import_tasks: PS-63261.yml
- import_tasks: PSP-63287.yml - import_tasks: PSP-63287.yml
- import_tasks: PUI-63768.yml - import_tasks: PUI-63768.yml

View file

@ -1,25 +1,25 @@
- name: Check Haskell install status # - name: Check Haskell install status
win_stat: # win_stat:
path: C:\ghcup\bin\ghc.exe # path: C:\ghcup\bin\ghc.exe
register: file # register: file
- when: not file.stat.exists # - when: not file.stat.exists
block: # block:
- name: Download Haskell # - name: Download Haskell
win_get_url: # win_get_url:
url: "https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1" # url: "https://www.haskell.org/ghcup/sh/bootstrap-haskell.ps1"
dest: 'C:\' # dest: 'C:\'
register: download # register: download
- name: Install Haskell # - name: Install Haskell
win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64 # win_command: powershell.exe {{ download.dest }} -InBash -ExistingMsys2Dir C:\msys64
- name: Add Haskell to PATH # - name: Add Haskell to PATH
win_path: # win_path:
elements: # elements:
C:\ghcup\bin # C:\ghcup\bin
- name: Remove temporary files # - name: Remove temporary files
win_file: # win_file:
path: "{{ download.dest }}" # path: "{{ download.dest }}"
state: absent # state: absent

View file

@ -1,4 +0,0 @@
# We have it at least in git and msys2 but what the hell.
- name: Install OpenSSL
win_chocolatey:
name: openssl

View file

@ -1 +0,0 @@
# TODO

View file

@ -1,13 +1,9 @@
VSCode_Extensions: VSCode_Extensions:
- VisualStudioExptTeam.vscodeintellicode - VisualStudioExptTeam.vscodeintellicode
- arthurwang.vsc-prolog
- dramforever.vscode-ghc-simple
- eamodio.gitlens - eamodio.gitlens
- justusadam.language-haskell
- ms-dotnettools.csdevkit # IS-63714 - ms-dotnettools.csdevkit # IS-63714
- ms-python.python - ms-python.python
- ms-vscode.cpptools - ms-vscode.cpptools
- ocamllabs.ocaml-platform
- stonebuddha.vscode-better-sml - stonebuddha.vscode-better-sml
- vscode-icons-team.vscode-icons - vscode-icons-team.vscode-icons
- vscjava.vscode-java-pack - vscjava.vscode-java-pack