This file contains hidden or 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
| #!/usr/bin/env ansible-playbook | |
| --- | |
| - name: Install and Configure LaTex | |
| hosts: localhost | |
| become: true | |
| gather_facts: False | |
| vars: | |
| tex_live: texlive-scheme-full | |
| tex_live_retries: 888 |
This file contains hidden or 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
| #!/usr/bin/env ansible-playbook | |
| --- | |
| - name: Install Text Editors | |
| hosts: localhost | |
| become: true | |
| gather_facts: False | |
| tasks: | |
| - name: Install Terminal Text Editors | |
| dnf: |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Ensure we have root permissions | |
| if [[ $(/usr/bin/id -u) -ne 0 ]]; then | |
| echo "Not running as root" | |
| exit | |
| fi | |
| dnf update -y | |
| dnf install ansible -y |
This file contains hidden or 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
| #!/usr/bin/env ansible-playbook | |
| --- | |
| - name: Install Kubectl | |
| hosts: localhost | |
| become: true | |
| gather_facts: false | |
| tasks: | |
| - name: Configure YUM repo | |
| yum_repository: |
This file contains hidden or 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
| #!/usr/bin/env ansible-playbook | |
| --- | |
| - name: Install Kubectl | |
| hosts: localhost | |
| become: true | |
| gather_facts: false | |
| tasks: | |
| - name: Configure YUM repo | |
| yum_repository: |
This file contains hidden or 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
| #!/usr/bin/env ansible-playbook | |
| --- | |
| - name: Install Text Editors | |
| hosts: localhost | |
| become: true | |
| gather_facts: False | |
| tasks: | |
| - name: Install Terminal Text Editors | |
| dnf: |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Ensure we have root permissions | |
| if [[ $(/usr/bin/id -u) -ne 0 ]]; then | |
| echo "Not running as root" | |
| exit | |
| fi | |
| dnf update -y | |
| dnf install ansible -y |
This file contains hidden or 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
| #!/usr/bin/env ansible-playbook | |
| --- | |
| - name: Install and Configure LaTex | |
| hosts: localhost | |
| become: true | |
| gather_facts: False | |
| vars: | |
| tex_live: texlive-scheme-full | |
| tex_live_retries: 888 |
This file contains hidden or 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
| You are given a two-digit integer n. Return the sum of its digits. | |
| Example | |
| For n = 29, the output should be | |
| solution(n) = 11. | |
| Input/Output | |
| [execution time limit] 3 seconds (java) |
This file contains hidden or 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
| param ( | |
| [Parameter(Position=0, mandatory=$true)] | |
| [string] $jsonConfigFilePath, | |
| [parameter(mandatory=$false)] | |
| [int] $debugLvl = 0, | |
| [parameter(mandatory=$false)] | |
| [string] $reportFilePath | |
| ) | |
NewerOlder