Skip to content

Instantly share code, notes, and snippets.

View dominiklessel's full-sized avatar
🎯
Focusing

Dominik Lessel dominiklessel

🎯
Focusing
View GitHub Profile
@dominiklessel
dominiklessel / html5video.sh
Created November 4, 2012 20:15 — forked from liamcurry/html5video.sh
automated conversion of a file to all three html5 compatible video formats - h.264, ogg, and webm
#!/bin/sh
# Output file for HTML5 video
# requirements: ffmpeg .6+
# usage: ./html5video.sh infile.mp4 640x360
target_directory='converted'
file=`basename $1`
filename=${file%.*}
filepath=`dirname $1`
@dominiklessel
dominiklessel / ubuntu-1104-nginx-base.sh
Created April 10, 2012 11:59 — forked from predominant/ubuntu-1104-nginx-base.sh
Install Ubuntu 11.04 Nginx based web server with PHP-FPM, MySQL and MongoDB
#!/bin/bash
###
#
# Copyright (c) 2011 Cake Development Corporation (http://cakedc.com)
#
# Ubuntu 11.04 based web server installation script
# Run this by executing the following from a fresh install of Ubuntu 11.04 server:
#
# bash -c "$(curl -fsSL https://raw.github.com/gist/1264701)" <mysqlPassword>
@dominiklessel
dominiklessel / NSImage+OpenCV.h
Created February 1, 2012 09:08
NSImage to cv::Mat and vice versa
//
// NSImage+OpenCV.h
//
#import <AppKit/AppKit.h>
@interface NSImage (NSImage_OpenCV) {
}