Skip to content

Instantly share code, notes, and snippets.

Avatar

Danilo Tuler tuler

View GitHub Profile
@tuler
tuler / .block
Last active Apr 3, 2016 — forked from mbostock/.block
Zoom to Bounding Box II
View .block
license: gpl-3.0
@tuler
tuler / affirmation
Created Jul 29, 2014
MuleSoft Contributor Agreement Acceptance by Danilo Tuler
View affirmation
I, Danilo Tuler, have read and do accept the MuleSoft Contributor Agreement
at http://www.mulesoft.org/legal/contributor-agreement.html
Accepted on Mon Jul 28 2014 21:06:00 GMT-0300 (BRT)
@tuler
tuler / strip
Created Jun 5, 2013
groovy script to generate a film strip
View strip
@Grab( 'commons-io:commons-io:2.1' )
import org.apache.commons.io.FilenameUtils
// filename of video
def filename = this.args[0]
// base of filename
def basename = FilenameUtils.getBaseName(filename)
// width of final strip
@tuler
tuler / thumbnail_xuggler
Created Jun 5, 2013
Script to generate video thumbnails using xuggler
View thumbnail_xuggler
@GrabResolver(name='xuggle', root='http://xuggle.googlecode.com/svn/trunk/repo/share/java/')
@Grab( 'xuggle:xuggle-xuggler:5.2' )
import javax.imageio.ImageIO;
import java.io.File;
import java.awt.image.BufferedImage;
import com.xuggle.xuggler.Global;
import com.xuggle.xuggler.IContainer;
import com.xuggle.xuggler.IPacket;
View redmine_svn_to_git_migrator.rb
#!/usr/bin/ruby
#
# Migration Tool for Redmine issue and time entry comments from SVN revisions to Git (i.e. r1234 => commit:abcdef789)
# ==============================
# (c) 2009 Christoph Olszowka & Sebastian Georgi, Capita Unternehmensberatung
#
# We used this when we migrated two of our main repositories from svn to git (see http://gist.github.com/139478)
# and wanted to have our revision links in Redmine reflect that change, too.
#
You can’t perform that action at this time.