diff --git a/bash/get_deliveries.sh b/bash/get_deliveries.sh new file mode 100644 index 0000000..1788e69 --- /dev/null +++ b/bash/get_deliveries.sh @@ -0,0 +1,2 @@ +search_string=$1; +for i in $(find . -type d -maxdepth 1 -name '*$search_String*'); do find "$i" -type d -name '*ivery*' -exec find {} -name '*mov' \;; done 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 diff --git a/bash/make_h264.sh b/bash/make_h264.sh new file mode 100755 index 0000000..bb29bef --- /dev/null +++ b/bash/make_h264.sh @@ -0,0 +1,4 @@ +for i; + do ffmpeg -i "$i" -c:v libx264 -profile:v main -pix_fmt yuv420p -q 0 -strict -2 "${i%.*}_h264.mov" ; +done; + 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; + diff --git a/bash/mount_whitehorse.command b/bash/mount_whitehorse.command index 6710827..f14e80f 100755 --- a/bash/mount_whitehorse.command +++ b/bash/mount_whitehorse.command @@ -10,12 +10,25 @@ 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 //eduardo:"pgss%401046"@mak-nas/pegasus /Volumes/pegasus echo done. sleep 1 open -a trolCommander -open -a adium +echo ' /$$$$$$$ /$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$'; +echo '| $$__ $$| $$ | $$| $$$ | $$ /$$__ $$| $$ | $$ |_ $$_/| $$$ | $$'; +echo '| $$ \ $$| $$ | $$| $$$$| $$| $$ \__/| $$ | $$ | $$ | $$$$| $$'; +echo '| $$$$$$$/| $$ | $$| $$ $$ $$| $$ | $$$$$$$$ | $$ | $$ $$ $$'; +echo '| $$____/ | $$ | $$| $$ $$$$| $$ | $$__ $$ | $$ | $$ $$$$'; +echo '| $$ | $$ | $$| $$\ $$$| $$ $$| $$ | $$ | $$ | $$\ $$$'; +echo '| $$ | $$$$$$/| $$ \ $$| $$$$$$/| $$ | $$ /$$$$$$| $$ \ $$'; +echo '|__/ \______/ |__/ \__/ \______/ |__/ |__/ |______/|__/ \__/'; + +log_punch.sh in + +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 diff --git a/bash/mount_whitehorse_ALT.command b/bash/mount_whitehorse_ALT.command new file mode 100755 index 0000000..7f43eb9 --- /dev/null +++ b/bash/mount_whitehorse_ALT.command @@ -0,0 +1,34 @@ +stty -echo +echo Waiting for silly MAC lag... +for i in {1..3}; +do + echo ...$i + sleep 1 +done +echo mounting whitehorse +mkdir /Volumes/whitehorses +mount -t smbfs //mak:ale2312x@makineisilon/whitehorse /Volumes/whitehorses +echo mounting pegasus +mkdir /Volumes/pegassus +mount -t smbfs //eduardo:"pgss%401046"@mak-nas/pegasus /Volumes/pegassus +echo done. +sleep 1 +open -a trolCommander + +echo ' /$$$$$$$ /$$ /$$ /$$ /$$ /$$$$$$ /$$ /$$ /$$$$$$ /$$ /$$'; +echo '| $$__ $$| $$ | $$| $$$ | $$ /$$__ $$| $$ | $$ |_ $$_/| $$$ | $$'; +echo '| $$ \ $$| $$ | $$| $$$$| $$| $$ \__/| $$ | $$ | $$ | $$$$| $$'; +echo '| $$$$$$$/| $$ | $$| $$ $$ $$| $$ | $$$$$$$$ | $$ | $$ $$ $$'; +echo '| $$____/ | $$ | $$| $$ $$$$| $$ | $$__ $$ | $$ | $$ $$$$'; +echo '| $$ | $$ | $$| $$\ $$$| $$ $$| $$ | $$ | $$ | $$\ $$$'; +echo '| $$ | $$$$$$/| $$ \ $$| $$$$$$/| $$ | $$ /$$$$$$| $$ \ $$'; +echo '|__/ \______/ |__/ \__/ \______/ |__/ |__/ |______/|__/ \__/'; + +log_punch.sh in + +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 diff --git a/jsx/dependencySearcher.jsx b/jsx/dependencySearcher.jsx new file mode 100644 index 0000000..e0bedcd --- /dev/null +++ b/jsx/dependencySearcher.jsx @@ -0,0 +1 @@ +//Walk the items. search_string = "Element"; project_items = app.project.items for ( var i = 1; i <= project_items.length ; i ++) { var item = project_items[i]; if( item.typeName == "Composition" ) { var comp = item; //alert( comp.name ); var comp = item; for ( var j = 1 ; j <= comp.numLayers ; j ++ ) { var layer = comp.layer(j); if ( layer.matchName == "ADBE AV Layer") //Only go into layers... not cameras and lights. { var effects = layer.property("Effects"); //alert( comp.name + " , " + layer.name ); for ( var k = 1 ; k <= effects.numProperties ; k ++ ) { var effect = effects.property(k); if ( effect.name == search_string ) { layer.comment = "Contains " + effect.name + " layer."; comp.comment = "Contains " + effect.name + " layer."; } //alert( comp.name + " , " + layer.name + " , " + effect.name ); } } } } } \ No newline at end of file