Skip to content

Instantly share code, notes, and snippets.

View ellingen's full-sized avatar

Sven Ellingen ellingen

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ellingen on github.
  • I am ellingen (https://keybase.io/ellingen) on keybase.
  • I have a public key ASBqNeOokZQV5_ku0Ds_iq-GIPuTFb_GOMLPTPI35f9zWAo

To claim this, I am signing this object:

Deckset Theme Customization Beta

Download Beta Build (builds expire after 28 days)

Here is an example snippet of the theme configuration commands (place these at the top of your Markdown file):

theme: Work
text: Gill Sans, #F5E5C0, text-scale(0.75), line-height(1.4)
header: Gill Sans UltraBold, text-scale(1.2), line-height(0.9)
@ellingen
ellingen / acb-colorize-waffle.user.js
Last active November 25, 2016 09:28
Colorize Waffle Board
// ==UserScript==
// @name Colorize Waffle Board
// @version 0.1
// @description Use this script to coloroize cards in Waffle depending on the source they belong to.
// @author Theo Lampert, Sven Ellingen
// @include https://waffle.io*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant none
// @updateURL https://gist.github.com/ellingen/f8968403f533b0cc839ce063c280206e/raw/acb-colorize-waffle.js
@ellingen
ellingen / prototype-data.json
Last active December 8, 2015 15:01
prototype
[
{
"slug":"marcus-miller-fireside-chat",
"streamurl":"http://54.153.14.198/channel-1",
"showTitle":"Fireside Chat",
"episodeTitle":"Marcus Miller",
"episodeNr":"43",
"image":"https://assets.rbmaradio.com/media/W1siZiIsIjIwMTUvMTEvMDQvMTIvMzgvMTQvNTIvbWFyY3VzbWlsbGVyLmpwZyJdLFsicCIsInRodW1iIiwiMTAyNHgxMDI0IyJdLFsicCIsImNvbnZlcnQiLCItc3RyaXAgLWludGVybGFjZSBQbGFuZSAtcXVhbGl0eSA0NSJdXQ/6c923cb85283e538/marcusmiller.jpg",
"teaser":"The legendary bassist, composer, and jazz journeyman reminisces on his life in music: from Miles Davis to Luther Vandross and all inbetween.",
"upNext1showTitle":"Science of Sound
",
@ellingen
ellingen / Deckset Kiosk
Created September 12, 2014 11:00
Open AppleScript editor, and paste this in, press run. This changes every 20 seconds, change the "delay 20" to "delay 10" to have it every 10 seconds.
tell application "Deckset"
tell document 1
repeat
set currentSlideIndex to slideIndex
set slideIndex to slideIndex + 1
if currentSlideIndex = slideIndex then
set slideIndex to 0
end if
delay 20
end repeat
# Render all Contentful stories as dynamic pages
contentful_middleman_client.entries(content_type: contentful_types[:story], include: 1).each do |story|
story_perma = story.fields[:title].to_slug.normalize.to_s
proxy "/story/#{story_perma}.html", "/templates/story.html", locals: { id: story.id, story: story }
story.fields[:blocks].each do |b|
block = contentful_middleman_client.entries('sys.id' => b['sys']['id'], :include => 1).first
proxy "/b/#{block.sys[:id]}/#{story_perma}.html", "/templates/shared-block.html", locals: { story: story, block: block }
end
end
(function ($) {
$.event.special.textchange = {
setup: function (data, namespaces) {
$(this).bind('keyup.textchange', $.event.special.textchange.handler);
$(this).bind('cut.textchange paste.textchange input.textchange', $.event.special.textchange.delayedHandler);
},
teardown: function (namespaces) {