HOME BLOG

Archive for October, 2022

How to create product demo videos using a Mac

Posted on: October 17th, 2022 by Olu No Comments

Hi folks,

In this article I briefly discuss an easy and inexpensive way to create product demonstration videos using a Mac. The information shared here is based on my experience creating such for our product, Yinkos Hymns Manager.

First, here is a list of free tools you can use.

  1. QuickTime
  2. Gimp
  3. iMovie

For screen recording, you can use QuickTime. It comes free of charge on Mac computers. With this software, you can create one of more recordings of your screen and add your voice as you do the demonstration.

If you want to add a splash screen at the beginning of your presentation or anywhere else within it, you can use an app like Gimp (which is free to download), PhotoShop (not free, but you may be able to try it for free) or similar software.

Once you have your images and screen recordings for all aspects of your presentation, you would need  a software to combine them into a single video, including nice transitions between the various videos. You can use iMovie for this. iMovie usually comes built-in on Mac. If it isn’t available you can get it from the App Store free of charge.

 

That’s all for now.

How to execute shell scripts that can throw an error without causing Jenkins build to fail

Posted on: October 1st, 2022 by Olu No Comments

Hi folks,

Usually, if a shell script in a Jankins build throws an error, the build fails automatically. In this post I talk briefly about a technique for running a shell script in your Jenkins CI pipeline without causing the build to fail if the shell script throws an error.
The technique is to use code like the following:

sh("""
set +e
/your/script/that/may-or-may-not-fail.sh
set -e
""")

 

set +e is the default way that bash runs. That is, if a command throws an error, bash displays it, but continues with the script.

set -e forces the script to exit if there’s an error.

That’s all for now. Till next time, happy software development.