capacity_building:workshops:tooling
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| capacity_building:workshops:tooling [2022/10/08 11:56] – [Demo files used during the presentation] rolf001 | capacity_building:workshops:tooling [2023/01/05 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | /* | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| + | */ | ||
| ====== Tools, Workflow and Resources for Effective Development | ====== Tools, Workflow and Resources for Effective Development | ||
| - | **Live Online Workshop for HSRW and ULSA by Harley Lara - 2022-10-06** | + | **Live Online Workshop for [[https:// |
| Workshop details: | Workshop details: | ||
| * **Topic**: Tools, workflow and resources for effective development | * **Topic**: Tools, workflow and resources for effective development | ||
| - | * **Description**: | + | * **Description**: |
| * **Date**: 06 October 2022 | * **Date**: 06 October 2022 | ||
| * **Time**: from 16:00 to 18:00 (CEST) | * **Time**: from 16:00 to 18:00 (CEST) | ||
| Line 15: | Line 17: | ||
| ---- | ---- | ||
| - | ===== Demo files used during | + | ===== Demo Scripts Used in the Workshop |
| - | <WRAP center round info 60%> | + | Download all the files here: {{ : |
| - | Please change | + | |
| - | </ | + | |
| - | * {{ : | + | * '' |
| - | * {{ : | + | * '' |
| - | * {{ : | + | * '' |
| - | * {{ : | + | * '' |
| - | * {{ : | + | * '' |
| ===== bash Demo ===== | ===== bash Demo ===== | ||
| Line 31: | Line 31: | ||
| <file bash hello-bash.sh> | <file bash hello-bash.sh> | ||
| #!/bin/bash | #!/bin/bash | ||
| - | # | ||
| - | # Script used as demo during the workshop | ||
| - | # " | ||
| - | # 06 Oct. 2022, HSRW Germany | ||
| - | # | ||
| - | # Copyright (c) 2022 Harley Lara | ||
| - | # | ||
| - | # Permission is hereby granted, free of charge, to any person obtaining | ||
| - | # a copy of this software and associated documentation files (the | ||
| - | # " | ||
| - | # without limitation the rights to use, copy, modify, merge, publish, | ||
| - | # distribute, sublicense, and/or sell copies of the Software, and to | ||
| - | # permit persons to whom the Software is furnished to do so, subject to | ||
| - | # the following conditions: | ||
| - | # | ||
| - | # The above copyright notice and this permission notice shall be | ||
| - | # included in all copies or substantial portions of the Software. | ||
| - | # | ||
| - | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| - | # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
| - | # MERCHANTABILITY, | ||
| - | # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
| - | # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
| - | # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
| - | # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
| - | |||
| - | sudo apt-get update && \ | ||
| - | apt-get install -y \ | ||
| - | build-essential \ | ||
| - | cmake \ | ||
| - | pkg-config \ | ||
| - | libpthread-stubs0-dev | ||
| - | |||
| - | sudo apt-get install -y \ | ||
| - | curl \ | ||
| - | htop \ | ||
| - | python3-pip | ||
| + | echo "hello bash scripting" | ||
| </ | </ | ||
| Line 75: | Line 39: | ||
| <file bash tmux-fzf.sh> | <file bash tmux-fzf.sh> | ||
| #!/bin/bash | #!/bin/bash | ||
| - | # | ||
| - | # Script used as demo during the workshop | ||
| - | # " | ||
| - | # 06 Oct. 2022, HSRW Germany | ||
| - | # | ||
| - | # Copyright (c) 2022 Harley Lara | ||
| - | # | ||
| - | # Permission is hereby granted, free of charge, to any person obtaining | ||
| - | # a copy of this software and associated documentation files (the | ||
| - | # " | ||
| - | # without limitation the rights to use, copy, modify, merge, publish, | ||
| - | # distribute, sublicense, and/or sell copies of the Software, and to | ||
| - | # permit persons to whom the Software is furnished to do so, subject to | ||
| - | # the following conditions: | ||
| - | # | ||
| - | # The above copyright notice and this permission notice shall be | ||
| - | # included in all copies or substantial portions of the Software. | ||
| - | # | ||
| - | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| - | # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
| - | # MERCHANTABILITY, | ||
| - | # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
| - | # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
| - | # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
| - | # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
| - | |||
| - | |||
| # Used the next line to set the list of directories | # Used the next line to set the list of directories | ||
| Line 140: | Line 77: | ||
| </ | </ | ||
| + | |||
| + | ===== apt - Linux Software Package Manager ===== | ||
| + | |||
| + | <file bash install-some-software-packages.sh> | ||
| + | #!/bin/bash | ||
| + | |||
| + | sudo apt update && \ | ||
| + | apt-get install -y \ | ||
| + | build-essential \ | ||
| + | cmake \ | ||
| + | pkg-config \ | ||
| + | libpthread-stubs0-dev | ||
| + | |||
| + | sudo apt install -y \ | ||
| + | curl \ | ||
| + | htop \ | ||
| + | python3-pip | ||
| + | |||
| + | |||
| + | </ | ||
| ===== Encryption and Decryption with Ansible ===== | ===== Encryption and Decryption with Ansible ===== | ||
| + | Encryption: | ||
| < | < | ||
| - | # Encryption: | + | $> ansible-vault encrypt FILE_NAME |
| - | ansible-vault encrypt FILE_NAME | + | </ |
| - | # Decryption: | + | Decryption: |
| - | ansible-vault decrypt FILE_NAME | + | < |
| + | $> ansible-vault decrypt FILE_NAME | ||
| </ | </ | ||
capacity_building/workshops/tooling.1665222972.txt.gz · Last modified: 2023/01/05 14:38 (external edit)