This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
video="$TM_DROPPED_FILE" | |
echo -n "<video controls="controls" src="\"$video\" "></video>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WEBVTT | |
1 | |
00:00:13.000 --> 00:00:16.100 | |
I heard about this <c.arduino>arduino</c> project, and I saw it online - | |
2 | |
00:00:16.100 --> 00:00:20.100 | |
- and I said 'Wow! <00:00:18.100>a lot of people are starting to talk about this. I should check it out!' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Node.prototype.prependChild = function(el) { | |
this.childNodes[1]&&this.insertBefore(el, this.childNodes[1]) || this.appendChild(el); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var contracthours=165,hourrate=123,sum=0,now=new Date,firstday=1,nextday=now.getDate()-(now.getHours()<15?1:0),lastday=(new Date((new Date).setFullYear(now.getFullYear(),now.getMonth()+1,0))).getDate(),workdaysdone=0,workdaysleft=0,msg;for(var d=firstday;d<=lastday;d++){var day=new Date((new Date).setFullYear(now.getFullYear(),now.getMonth(),d)),weekday=day.getDay();if(weekday!==0&&weekday!==6){if(d<=nextday)workdaysdone++;else workdaysleft++}}[].slice.apply(document.querySelectorAll('span[id*="lblTimer"]')).forEach(function(a){sum+=parseFloat(a.innerText)||0});msg=contracthours+" total hours\n"+sum+" hours ("+Math.round(sum/workdaysdone*10)/10+" hours / workday) worked so far.\n"+(contracthours-sum)+" hours ("+Math.round((contracthours-sum)/workdaysleft*10)/10+" hours / workday) to go.\n"+Math.floor(sum*hourrate)+" dkk earned so far";alert(msg) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is an obfuscated email address: <a class="obsfuscated" href="#">moc.elpmaxe@zyx</a>. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
// requestAnimationFrame polyfill by Erik Möller | |
// fixes from Paul Irish and Tino Zijdel | |
(function() { | |
var lastTime = 0; | |
var vendors = ['ms', 'moz', 'webkit', 'o']; | |
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Adafruit_NeoPixel.h> | |
#define PIN 2 | |
#define Pixels 25 | |
// Parameter 1 = number of pixels in strip | |
// Parameter 2 = Arduino pin number (most are valid) | |
// Parameter 3 = pixel type flags, add together as needed: | |
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) | |
// NEO_KHZ400 400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Adafruit_NeoPixel.h> | |
#define PIN 2 | |
#define Pixels 24 | |
#define BG 1 | |
// Parameter 1 = number of pixels in strip | |
// Parameter 2 = Arduino pin number (most are valid) | |
// Parameter 3 = pixel type flags, add together as needed: | |
// NEO_KHZ800 800 KHz bitstream (most NeoPixel products w/WS2812 LEDs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Adafruit_NeoPixel.h> | |
// Pin used on Arduino board | |
#define PIN 2 | |
// Number of NeoPixels | |
#define PIXELS 24 | |
// Number of pixels on either side continuously orange to indicate side of vehicle | |
#define FIXEDPIXELS 1 | |
// Parameter 1 = number of pixels in strip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
OlderNewer