From 3777ccf9a14e5ef54bd82233f66f2de1afa06148 Mon Sep 17 00:00:00 2001 From: yorch Date: Thu, 2 Apr 2015 10:18:41 -0700 Subject: [PATCH 1/3] Added a command to open a browser and punch in to the time tracker --- bash/mount_whitehorse.command | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/bash/mount_whitehorse.command b/bash/mount_whitehorse.command index 6710827..64da19f 100755 --- a/bash/mount_whitehorse.command +++ b/bash/mount_whitehorse.command @@ -10,12 +10,23 @@ mkdir /Volumes/whitehorse mount -t smbfs //mak:ale2312x@makineisilon/whitehorse /Volumes/whitehorse echo mounting pegasus mkdir /Volumes/pegasus -mount -t smbfs //jorge:Ladilla2@mak-nas/pegasus /Volumes/pegasus +mount -t smbfs //jorge:Ladilla3@mak-nas/pegasus /Volumes/pegasus echo done. sleep 1 open -a trolCommander -open -a adium +echo ' /$$$$$$$ /$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$'; +echo '| $$__ $$| $$ | $$| $$$ | $$ /$$__ $$| $$ | $$ |_ $$_/| $$$ | $$'; +echo '| $$ \ $$| $$ | $$| $$$$| $$| $$ \__/| $$ | $$ | $$ | $$$$| $$'; +echo '| $$$$$$$/| $$ | $$| $$ $$ $$| $$ | $$$$$$$$ | $$ | $$ $$ $$'; +echo '| $$____/ | $$ | $$| $$ $$$$| $$ | $$__ $$ | $$ | $$ $$$$'; +echo '| $$ | $$ | $$| $$\ $$$| $$ $$| $$ | $$ | $$ | $$\ $$$'; +echo '| $$ | $$$$$$/| $$ \ $$| $$$$$$/| $$ | $$ /$$$$$$| $$ \ $$'; +echo '|__/ \______/ |__/ \__/ \______/ |__/ |__/ |______/|__/ \__/'; + +sleep 25 + +"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" https://timeandlabor.paychex.com/secure/Login.aspx?Alias=0083A8306102 --args --"profile-direory"="Profile 2" > /tmp/chromelog.log & stty echo exit From 8f25a06837c0863e6c92c5bff34f11d7d3f36357 Mon Sep 17 00:00:00 2001 From: yorch Date: Thu, 2 Apr 2015 10:24:42 -0700 Subject: [PATCH 2/3] Added a script to get all the videos in a text file called videos off of youtube links --- bash/get_videos.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bash/get_videos.sh diff --git a/bash/get_videos.sh b/bash/get_videos.sh new file mode 100755 index 0000000..f83abc8 --- /dev/null +++ b/bash/get_videos.sh @@ -0,0 +1,6 @@ +for i in $(cat videos); + do + youtube-dl -F $i; + echo "select quality"; + read q;youtube-dl -v -j -J -f $q $i; + done From dee053f9f1adf232abbf990e89d87ba750dc970e Mon Sep 17 00:00:00 2001 From: yorch Date: Thu, 2 Apr 2015 10:25:44 -0700 Subject: [PATCH 3/3] Added a script to compress videos using ffmpeg to lossless dirac with flac --- bash/make_lossless.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bash/make_lossless.sh diff --git a/bash/make_lossless.sh b/bash/make_lossless.sh new file mode 100755 index 0000000..7f73878 --- /dev/null +++ b/bash/make_lossless.sh @@ -0,0 +1,4 @@ +for i; + do ffmpeg -i "$i" -c:v libschroedinger -qscale:v 0 -c:a flac -qscale:a 0 "${i%.*}_Dirac+Flac.mkv" ; +done; +