Last active
February 28, 2018 14:56
-
-
Save daviscodesbugs/e1b620f31059002bf0c45dd71e356fa3 to your computer and use it in GitHub Desktop.
Quick Scripts
This file contains 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 | |
# Need NPM package localtunnel-cli installed | |
while : | |
do | |
lt --subdomain <subdomain> --port 80 | |
done |
This file contains 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 | |
rm *.jpg | |
mogrify -format jpg -quality 100 *.png | |
rm *.png |
This file contains 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 | |
if [ $# -eq 2 ]; then | |
printf "Start Time: " | |
read starttime | |
printf "End Time: " | |
read endtime | |
ffmpeg -i "$1" -ss $starttime -to $endtime -acodec copy -vcodec copy "$2" | |
else | |
echo "Specify an input and output video" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment