Automation
Shell scripting averts tediousness of following the same mundane tasks on a machine, where human error is inevitable and will cost time
~ The fact that you can be away from the keyboard, knowing that the scripts will continue to progress is greatly appreciated
~ I am no shell expert; the mentality towards some solutions used in these scripts may not resemble maximum efficiency but it is what I believed was reliable at the time and easy for future manipulation
Prerequisites:
Git for Windows‘ Bash Terminal
Windows Users may want to record their screen to review at a later time; whether it be a class, meeting or an important task
This script will source programs solely for the screen recording function, and then commence a recording with a default time limit of 2 hours and 15 minutes
~ Time limit set in case of negligence and to prevent producing a several Gigabyte video
Time limit can be manipulated by the User, as shown in the screenshot:
1) Enter number of seconds
~ Shown in 1st Example
2) Enter time by HH:MM:SS format
~ Shown in 2nd Example
3) If User wishes to stop recording before a time limit is reached, press ‘Ctrl + c’
~ Shown in 3rd Example
<a target="_blank" href="https://ffmpeg.org/">ffmpeg</a>
is the fundamental component within most recording programs, used for image/video conversions, trimming and streaming and therefore it is used in this script also
However, as well as recording the screen, the script uses an audio sniffer library (by default), which captures internal audio as ‘hear what you see’, meaning you can have your PC on low volume, or even mute, and it will still capture audio at normal volume
Yet, you may want to capture your Microphone instead of the internal audio, whether it’s a Headset or the PC built-in mic.
So, you will type the word ‘mic’ along with or without a set time limit, which was mentioned above
Example scenario (early morning class):
Execute the script, along with a set time limit (optional), see that the recording has started, join class and leave it on screen, put PC sound to mute (if not using ‘mic’) and proceed with a productive task, such as going back to sleep
Later on, have the ability to skim through the dullness of the class
Prerequisites:
VNC Viewer
Google Cloud Account
All Users have a chance to $300 credits on Google Cloud Platform where they can loan machine(s) with a range of specs, with a respective cost on the credits, within a year span of the trial
However, the created machines (‘cloud instances’) can only be accessed via Terminal, which may not be friendly for people who are used to a GUI Environment
Therefore, this script will setup a VNC Server on the Google Cloud machine, whereby a GUI Ubuntu (Gnome) Desktop is setup for Users to access with the VNC Viewer