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:45] – [Tools, Workflow and Resources for Effective Development] rolf001 | capacity_building:workshops:tooling [2022/10/09 21:04] (current) – harley001 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | /* | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| + | */ | ||
| ====== Tools, Workflow and Resources for Effective Development | ====== Tools, Workflow and Resources for Effective Development | ||
| + | |||
| + | **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 13: | Line 17: | ||
| ---- | ---- | ||
| - | ===== Demo files used during | + | ===== Demo Scripts Used in the Workshop ===== |
| + | |||
| + | Download all the files here: {{ : | ||
| + | |||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | ===== bash Demo ===== | ||
| + | |||
| + | <file bash hello-bash.sh> | ||
| + | # | ||
| + | |||
| + | echo "hello bash scripting" | ||
| + | </ | ||
| + | |||
| + | ===== tmux Demo ===== | ||
| + | |||
| + | <file bash tmux-fzf.sh> | ||
| + | # | ||
| + | |||
| + | # Used the next line to set the list of directories | ||
| + | DIRECTORIES=" | ||
| + | # Uncommend the next line if you are using a external file | ||
| + | # for track the list of directories | ||
| + | # DIRECTORIES=$(cat ~/ | ||
| + | # Note about the external file | ||
| + | # | ||
| + | # ~/ | ||
| + | # | ||
| + | # | ||
| + | # One directory per line | ||
| + | |||
| + | if [[ $# -eq 1 ]]; then | ||
| + | SELECTED=$1 && [[ " | ||
| + | else | ||
| + | SELECTED=$(find $DIRECTORIES -mindepth 1 -maxdepth 1 -type d | fzf) | ||
| + | fi | ||
| + | |||
| + | if [[ -z $SELECTED ]]; then | ||
| + | exit 0 | ||
| + | fi | ||
| + | |||
| + | SELECTED_NAME=$(basename " | ||
| + | SELECTED_NAME=${SELECTED_NAME: | ||
| + | |||
| + | if [[ -n $TMUX ]]; then | ||
| + | # inside tmux | ||
| + | tmux switch-client -t " | ||
| + | tmux new-session -ds " | ||
| + | tmux switch-client -t " | ||
| + | elif [[ -z $TMUX ]]; then | ||
| + | # outside tmux | ||
| + | tmux new-session -s " | ||
| + | tmux attach -t " | ||
| + | fi | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== apt - Linux Software Package Manager | ||
| + | |||
| + | <file bash install-some-software-packages.sh> | ||
| + | # | ||
| + | |||
| + | sudo apt update && \ | ||
| + | apt-get install -y \ | ||
| + | build-essential \ | ||
| + | cmake \ | ||
| + | pkg-config \ | ||
| + | libpthread-stubs0-dev | ||
| + | |||
| + | sudo apt install -y \ | ||
| + | curl \ | ||
| + | htop \ | ||
| + | python3-pip | ||
| - | <WRAP center round info 60%> | + | </file> |
| - | Please change the '' | + | |
| - | </WRAP> | + | |
| - | * {{ : | + | ===== Encryption |
| - | * {{ : | + | |
| - | * {{ : | + | |
| - | * {{ : | + | |
| - | * {{ : | + | |
| - | * 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.1665222342.txt.gz · Last modified: 2022/10/08 11:45 by rolf001