This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| vlc_pid=$(pgrep VLC) | |
| last_title="" | |
| compiled_titles="" | |
| echo "Starting loop..." | |
| echo "Press [Q] when the title has finished..." | |
| while true; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function conv { | |
| echo "Processing: ${1}" | |
| docker run -i -t -v ${PWD}:/files --rm=true -u="0" jedimonkey/avconv avconv -i "/files/${1}" "/files/${1%%.wma}.flac" | |
| } | |
| IFS=$'\n'; set -f | |
| for f in $(find ./ -name '*.wma'); do conv "$f"; done | |
| unset IFS; set +f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| echo "Installing PHP extensions" | |
| docker-php-ext-install pdo_mysql | |
| # Install Phalcon | |
| PHALCON_VERSION=3.4.0 | |
| PHALCON_EXT_PATH=php7/64bits | |
| set -xe && \ |