Skip to content

Instantly share code, notes, and snippets.

View kmturley's full-sized avatar

Kim T kmturley

View GitHub Profile
@kmturley
kmturley / FfmpegController.java
Created November 10, 2015 16:42
Extending video editor functionality
package org.ffmpeg.android;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
@kmturley
kmturley / VideoEditor.java
Created November 10, 2015 16:41
Extending video editor plugin functionality
package org.apache.cordova.videoeditor;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URL;
import java.net.URLDecoder;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
@kmturley
kmturley / data-functions.js
Created May 12, 2015 20:46
Re-written date functions to not use eval()
/*
* Copyright (C) 2004 Baron Schwartz <baron at sequent dot org>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Software Foundation, version 2.1.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more