Skip to content

Instantly share code, notes, and snippets.

View srabuini's full-sized avatar

Sebastian Rabuini srabuini

View GitHub Profile
ffmpeg -y -loop 1 -i sebas.jpg -r 20 -t 3 begin.mpg
@srabuini
srabuini / gist:4050005
Created November 10, 2012 05:11
Move elements a number (positive or negative) of steps and return it
class Array
def move(steps)
(steps % size).times { self << shift }; return self
end
end