Monthly Archive: December 2015

0

[: !=: unary operator expected

In bash, always use the double bracket conditional command [[ … ]] For example, #!/bin/bash sex=male if [[ $sex == ‘male’ ]];then echo “sex is male.” elif [[ $sex == ‘female’ ]];then echo “sex...

0

Embed youtube video in wordpress site

The following template allows you to do the following: Embed a youtube video into WordPress site, which uses markdown in its posts. Allows you the size the video’s dimensions. Notes: Remove extra space after...