I already wrote a post about adopting a functional programming style in bash scripts. Here I want to explore how to build a minimal, reusable functional toolbox for my bash scripts, avoiding redefinition of base functional bricks whenever I need them.
So, in short: I wish I could write a script (say use-functional-bricks.sh
) like the following:
Deploying Only the Interaction Model for OU Alexa Skill
In the new ASK CLI 2.x that has just been recently released, I found that the choice to deploy only the interaction model seems to have disappeared. In this article, I will show you how to regain this powerful time-saving capability back.
The Value of Deploying Only The Interaction Model
This option is important to me as I do a lot of local debugging. To save time I used to deploy only the interaction model from my local machine when I do simple minor changes, especially on the utterances, slot types, and values.
Extracting the Base Name of a File in Bash
I have a handy bash script that transcodes videos using Don Meton’s video_transcoding tools. This script was written in a hurry, and one limitation it had was that it re-transcoded any source file even if the output file already existed.
The script looked like this: