Skip to content

Instantly share code, notes, and snippets.

Marcus Schiesser marcusschiesser

Block or report user

Report or block marcusschiesser

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
marcusschiesser /
Created Sep 24, 2019
Convert QuickTime movies to animated GIFs. Useful for uploading to Github
from gooey import Gooey, GooeyParser
@Gooey(target="ffmpeg", program_name='QuickTime To Gif v1.0', suppress_gooey_flag=True)
def main():
parser = GooeyParser(description="Convert QuickTime movies to GIFs")
ffmpeg = parser.add_argument_group('Frame Extraction Util')
metavar='Input Movie',
help='The movie that you want to convert to a GIF',
marcusschiesser / launchrock_adwords.js
Created Sep 22, 2016 — forked from anonymous/launchrock_adwords.js
Add Google Adwords to Launchrock
View launchrock_adwords.js
// you also have to add the JS from the URL in the header,
// so the function window.google_trackConversion is available
angular.module("lrSiteApp").config(function ($httpProvider) {
var httpinterceptor = function () {
return {
response: function (result) {
var isCreateReq = result.config.url.match(/site-users\/create/) !== null;
if (isCreateReq) {
marcusschiesser / ext_dataview_buttons.js
Created May 7, 2013
Buttons with action handlers in a datagrid in ExtJS 4.2
View ext_dataview_buttons.js
Ext.onReady(function () {
Ext.define('User', {
extend: '',
fields: [
{name: 'name', type: 'string'}
var store = Ext.create('', {
marcusschiesser /
Created Apr 27, 2013
Utils class for doing transactions with Google App Engine
public final class TXUtils {
public static final Logger log = Logger.getLogger(TXUtils.class.getName());
public interface Transaction<T> {
T doit(EntityManager em);
private static final EntityManagerFactory emfInstance = Persistence
marcusschiesser /
Created Apr 27, 2013
Simple Http client class for doing REST-style request with Android
public class HttpUtils {
private static final int SERVER_PORT = 80;
private static final String SERVER_IP = ""; // use for emulator
private static HttpUtils instance = new HttpUtils();
private DefaultHttpClient client;
private ResponseHandler<String> responseHandler;
marcusschiesser / AuthFilter.scala
Created Apr 27, 2013
AuthFilter secures your Play 2.1.1 web application by allowing only requests that contain a secret access key. Once authenticated the secret key is stored in the session object for convenience.
View AuthFilter.scala
package util
import play.api.mvc._
import play.api.Logger
object AuthFilter extends Filter {
val accessParam = "access_key"
val accessKey = "secret"
override def apply(next: RequestHeader => Result)(request: RequestHeader): Result = {
You can’t perform that action at this time.