Skip to content

Instantly share code, notes, and snippets.

View konsultaner's full-sized avatar
🎯
Focusing

Richard konsultaner

🎯
Focusing
View GitHub Profile
@konsultaner
konsultaner / jsonOdmWiki.txt
Created August 6, 2015 05:52
JSON ODM Wikipedia entry
{{Infobox Software
| Name = <!-- Nur falls abweichend vom Artikelnamen -->
| Logo = <!-- Logo -->
| Screenshot = <!-- Bildschirmfoto -->
| Beschreibung = <!-- Beschreibung des Bildschirmfotos -->
| Hersteller = Richard Burkhardt, [http://www.konsultaner.de Konsultaner GmbH & Co. KG], Software-Unternehmen
| Erscheinungsjahr = 2015
| AktuelleVersion = 0.0.3
| AktuelleVersionFreigabeDatum = 23. März 2015
| AktuelleVorabVersion = <!-- -->
@konsultaner
konsultaner / colorize.js
Created April 2, 2015 06:30
Color filtering known from Photoshop in JavaScript
var colorize = {
blendColorValue : function (color1,color2,method){
if(typeof color1 == 'undefined'){
color1 = 0;
}
if(typeof color2 == 'undefined'){
color2 = 0;
}
@konsultaner
konsultaner / gist:5728234
Last active December 18, 2015 04:49
This is an angularjs directive for jsMovie
/* Directive for jsMovie */
/* USAGE: <div jsmovie='' play-on-load='true' folder='img/seq/' sequence='mySeq####.png' from='1' to='32'></div> */
module.directive('jsmovie',function(){
return {
restrict:"A",
link:function(scope,element,attrs){
var possibleSettings = [
{name:'images', type:'array'},
{name:'clipQueue', type:'array'},
{name:'grid', type:'object'},
$('.movie').jsMovie({
images : ['loader_ani4x4.png'],
folder : 'pic/loader/',
height : 40, width: 40,
grid : {height:40, width:40, columns:4, rows:4},
showPreLoader : false,
playOnLoad : false,
playBackwards : false,
repeat: true,
fps:6
$('.movie').jsMovie({
images : ['loader_ani4x4.png'],
folder : 'pic/loader/',
height : 40, width: 40,
grid : {height:40, width:40, columns:4, rows:4},
showPreLoader : false,
playOnLoad : true
});