Skip to content

Instantly share code, notes, and snippets.

View dplesca's full-sized avatar
👀

Dragos Plesca dplesca

👀
  • Bucharest, Romania
View GitHub Profile
package main
import (
"fmt"
"log"
"os/exec"
"path/filepath"
"sync"
)
@dplesca
dplesca / gifenc.sh
Last active September 15, 2020 10:04
#gif with text overlay #generator using #ffmpeg - inspired by http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html
#!/bin/bash
#parameters:
# $1 - mp4 url
# $2 - start time in format hh:mm:ss.mic
# $3 - duration in seconds
# $4 - text for gif overlay
# $5 - output file without extension
if [ "$#" -ne 5 ]
then
echo "Usage: gifenc.sh \$1 \$2 \$3 \$4 \$5
@dplesca
dplesca / grid.css
Created August 20, 2013 12:49
#purecss.io fixed 810px grid for #facebook apps
.fb-row {
letter-spacing: -0.31em;
*letter-spacing: normal;
*word-spacing: -0.43em;
text-rendering: optimizespeed;
}
.opera-only :-o-prefocus,
.fb-row {
word-spacing: -0.43em;