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
# Vimeo requirements for HD video: | |
# -r 30 --> 30 frames per second | |
# -b 5000k --> bitrate = 5000 k | |
# -s 1920x1080 --> sets output size | |
# -vcodec libx264 --> encodes using h.264 | |
ffmpeg -i ~/Desktop/source.mpg -deinterlace -r 30 -b 5000k -vcodec libx264 -vpre libx264-hq -s 1920x1080 ~/Desktop/destination.mp4 |
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
#!/usr/bin/env ruby | |
require "rubygems" | |
require "integrity" | |
class Refresher | |
JS = <<-EOS | |
<script type="text/javascript"> | |
//<![CDATA[ | |
setTimeout('location.reload()', %s * 1000) | |
//]]> |
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 | |
FILE=vinagrette.last_commit.id | |
LAST_COMMIT=`cat $FILE` | |
ACTUAL_COMMIT=`git ls-remote git://git.globoi.com/vinagrette/mainline.git master | cut -f1` | |
if [ "$ACTUAL_COMMIT" != "$LAST_COMMIT" ]; then | |
wget http://macaco.globoi.com/vinagrette/builds --post-data="" -t 1 -q | |
wget http://macaco.globoi.com/vinagrette-acceptancetests/builds --post-data="" -t 1 -q | |
fi |
NewerOlder