Skip to content

Instantly share code, notes, and snippets.

@mvtango
mvtango / berlin.svg
Last active August 29, 2015 13:56 — forked from mbostock/.block
So glaubt Berlin
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mvtango
mvtango / .gitignore
Last active November 25, 2016 19:04
HTML Sanitizing for Email Newsletters
data-directory/
@mvtango
mvtango / index.html
Last active August 29, 2015 14:03
West Hamburg Traffic Jam
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<title>Traffic layer</title>
<style>
html, body, #map-canvas {
height: 100%;
margin: 0px;
@mvtango
mvtango / index.html
Created August 2, 2014 20:54
fbclaim.com counter
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Place favicon.ico and apple-touch-icon(s) in the root directory -->
@mvtango
mvtango / index.html
Last active August 29, 2015 14:05
Tabletop Test
<html>
<head>
<title>Javascript Tabletop Test</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="tabletop.js"></script>
</head>
<body>
<div id="data">
</div>
DROP PROCEDURE IF EXISTS redate_order;
delimiter //
CREATE PROCEDURE redate_order (INOUT orderid INT, INOUT stamp VARCHAR(255))
proc:BEGIN
START TRANSACTION;
update wp_wpsg_order set cdate=stamp where id=orderid;
insert into wp_wpsg_orderlog set o_id=orderid,cdate=now(),title="dummy";
SET @neworder=LAST_INSERT_ID();
update wp_wpsg_orderlog set title=concat("Datum manuell geändert auf ",stamp) where id=@neworder;
SET stamp=(select title from wp_wpsg_orderlog where id=@neworder);
@mvtango
mvtango / index.html
Last active August 29, 2015 14:07
Twitter List Widget
<html>
<head><title>Two Twitter List Widgets</title></head>
<body>
<h2>Twitter Anleitung:
<a href="https://dev.twitter.com/web/embedded-timelines#timeline-selection">Eine Widget ID, mehrere Listen</a>
</h2>
<div style="width:50%; height: 500px; float:left">
<a class="twitter-timeline" href="https://twitter.com/dpa/lists/erdogan-in-koeln" data-list-slug="erdogan-in-koeln" data-list-owner-screen-name="dpa" data-widget-id="432176307640606720">Erdogan in Koeln</a>
</div>
### Keybase proof
I hereby claim:
* I am mvtango on github.
* I am mvtango (https://keybase.io/mvtango) on keybase.
* I have a public key whose fingerprint is ADD0 B190 E900 D9E0 D364 137E F846 1BC7 AEF5 6E58
To claim this, I am signing this object:
@mvtango
mvtango / dabblet.css
Created May 19, 2015 05:37
Clase del Máster en Periodismo BCN_NY 2014/2015
/**
* Clase del Máster en Periodismo BCN_NY 2014/2015
*/
body {
background: #fff;
min-height: 100%;
}
p.invisible {
@mvtango
mvtango / README.md
Last active August 29, 2015 14:23 — forked from mbostock/.block

(Modiefied MV 2015-06-16) Bubble charts encode data in the area of circles. Although less perceptually-accurate than bar charts, they can pack hundreds of values into a small space. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.