Skip to content

Instantly share code, notes, and snippets.

/* all single-instance buttons get the .gia-button class */
.gia-button {
display: inline-block;
padding: 8px 22px;
color: #fff;
font-size: 14px;
font-family: Helvetica, Arial, sans-serif;
font-weight: 200;
line-height: 1em;
@gabrieldance
gabrieldance / ffmpeg to webm
Created October 31, 2013 19:41
bash script to encode two-pass WEBM video.
#!/bin/bash
for file in *.mov; do
ffmpeg -i ${file} -pass 1 -video_size 640x360 -c:v libvpx -qmin 0 -qmax 50 -b:v .325M -f webm -y /dev/null
ffmpeg -i ${file} -pass 2 -video_size 640x360 -c:v libvpx -qmin 0 -qmax 50 -b:v .325M -c:a libvorbis -q:a 6 -y ../../640x360/FINAL_WEBM/${file%%mov}webm
done
@gabrieldance
gabrieldance / ffmpeg to OGV
Created October 31, 2013 19:42
ffmpeg to OGV
#!/bin/bash
for file in *.mov; do
ffmpeg2theora -v 9 -a 6 --max_size 640x360 -o ../640x360/${file}.ogv $file
done
@gabrieldance
gabrieldance / keybase.md
Created January 10, 2019 22:40
keybase public gist

Keybase proof

I hereby claim:

  • I am gabrieldance on github.
  • I am gabrieldance (https://keybase.io/gabrieldance) on keybase.
  • I have a public key ASAg765fFB_Kj4Nj7jgbj_u--eMizlIftSw3ckrT64kk4Ao

To claim this, I am signing this object: