Skip to content

Instantly share code, notes, and snippets.

View to-var's full-sized avatar
🏠
Working from home

Jose Tovar to-var

🏠
Working from home
View GitHub Profile
@to-var
to-var / convert.sh
Created October 10, 2018 17:07
Converts all .avi files ito .mov in the same folder. Uses ffmpeg.
for i in *.avi;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -i "$i" "${name}.mov";
done
@to-var
to-var / install.sh
Created August 23, 2018 15:28
An Oh-my-zsh theme installer helper. Put this file on the same folder as a downloaded theme, then run `sh install.sh [theme-you-want-to-install]`
#!/bin/bash
# Colors
RED="\033[0;31m"
ORANGE="\033[0;33m"
GREEN="\033[0;32m"
NC="\033[0m"
# Messages
OK="[OK]"