Friday, October 7, 2022

Starting multiple Byobu process through shell script

 How to Start multiple Byobu process through shell script:


Below is sample code:

byobu new-session -d -s "onreboot"

byobu new-window -t "onreboot":1 -n "web app" "sh ./webapp-build.sh" >/home/ubuntu/scripts/web_launch.log 2>&1

byobu new-window -t "onreboot":2 -n "api app" "sh ./api-build.sh" >/home/ubuntu/scripts/api_launch.log 2>&1

Wednesday, October 5, 2022

Text contrast checker tool

 Very useful tool for keeping right contrast in text:


https://dequeuniversity.com/rules/axe/4.4/color-contrast?utm_source=lighthouse&utm_medium=devtools