Skip to content

Instantly share code, notes, and snippets.

@clemens-tolboom
clemens-tolboom / tagAmsterdam2014.user.js
Last active Aug 29, 2015
Auto tag for DrupalCon Amsterdam2014
View tagAmsterdam2014.user.js
// ==UserScript==
// @name www.drupal.org
// @namespace tagAmsterdam2014
// @match https://www.drupal.org/node/*
// @run-at document-end
// @grant none
// ==/UserScript==
// SAVE as tagAmsterdam2014.user.js
// Inspired by https://github.com/webflo/drupalsprint-bookmarklet/blob/gh-pages/index.html
@clemens-tolboom
clemens-tolboom / index.html
Last active Dec 27, 2015
Just a dumb test for iFrame animation.
View index.html
<!DOCTYPE html>
<html>
<head>
<title>'slideshow'</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<style>
#stage {
@clemens-tolboom
clemens-tolboom / index.html
Last active Dec 26, 2015
A color picker layout
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Color menu</title>
<style>
svg circle {
fill: white;
stroke: #020202;
stroke-width: 3px;
}
@clemens-tolboom
clemens-tolboom / index.html
Last active Dec 26, 2015
Context menu on several elements: circle, rect or whole.
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Context Menu</title>
<style>
#main {
display: inline-block;
background-color: grey;
position: relative;
}