Skip to content

Instantly share code, notes, and snippets.

View tiefenb's full-sized avatar
🖐️

Markus Tiefenbacher tiefenb

🖐️
View GitHub Profile
@tiefenb
tiefenb / Slect Slots
Created August 18, 2016 05:06
Solving slots in select boxes
<select-field name="my-select-field">
<select-option value="my-option value 1">My Option 1</select-option>
<select-option value="my-option value 2">My Option 2</select-option>
</select-field>
<!-- Output: -->
<select name="my-select-field">
<option value="my-option value 1">My Option 1</option>
<option value="my-option value 2">My Option 2</option>
// change your piwik server host
// change YOUR_SITE_ID with your site id
<amp-pixel src="https://piwik.example.org/piwik.php?idsite=YOUR_SITE_ID&rec=1&action_name=TITLE&urlref=DOCUMENT_REFERRER&url=CANONICAL_URL&rand=RANDOM"></amp-pixel>
@tiefenb
tiefenb / gist:6668039
Created September 23, 2013 08:50
javascript robotics and electronis
> flying robots: http://nodecopter.com/
> diving robots: http://openrov.com/
> nodejs+arduino: http://semu.github.io/noduino/ and https://github.com/rwaldron/johnny-five
> home automation: http://ni-c.github.io/heimcontrol.js/
> motion dedection with leapmotion: https://github.com/leapmotion/leapjs
> and iwth kinect: https://github.com/pgte/node-kinect
> node robots: http://nodebots.io/
> tessel, a nodejs microcontroller: http://technical.io/
> robot web tools library: http://robotwebtools.org/
@tiefenb
tiefenb / blippex-spam.js
Created August 7, 2013 12:15
blippex spam
var request = require('request');
var async = require('async');
var worker = async.queue(function(url, cb) {
var data = {
"url": url,
"time_spent": 199999,
"created_at": new Date().toGMTString()
@tiefenb
tiefenb / gist:4027480
Created November 6, 2012 20:56
sae kurs: datatypes #1
var nyan = new Object();
typeof nyan // object, logisch
var nyan = new Date();
typeof nyan // object, wtf?