I hereby claim:
- I am jtangelder on github.
- I am jtangelder (https://keybase.io/jtangelder) on keybase.
- I have a public key ASCKQzxwTobC0hWn_XhXcj4xV7vaufd6s1ZVFlhlNF4Mbgo
To claim this, I am signing this object:
| import urllib.request | |
| import urllib.error | |
| import json | |
| import re | |
| import cmd | |
| import html | |
| def getTeletekstPage(page): | |
| url = 'http://teletekst-data.nos.nl/json/%s' % (page) | |
| res = urllib.request.urlopen(url) |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| Create (cacheable) resources, and endpoints that require some state that you want to hide from the | |
| arguments, like a JWT for authenticating remote calls. | |
| Returns a function that will be accepted by redux-thunk. | |
| */ | |
| /** | |
| * create a redux-resource function | |
| * @param {Function} remote(args, getState) |
| (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | |
| // no_unit_test | |
| module.exports = { | |
| visible: function(client) { return client.visibilityState === 'visible'; }, | |
| topLevel: function(client) { return client.frameType === 'top-level'; }, | |
| focused: function(client) { return client.focused; }, | |
| urlEndsWith: function(endsWith) { | |
| return function(client) { return client.url.endsWith(endsWith); }; | |
| } | |
| }; |
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <h1>Battery level volume control</h1> | |
| <div id="player"></div> | |
| <script src="https://www.youtube.com/iframe_api"></script> | |
| <script> | |
| let player; | |
| function onYouTubeIframeAPIReady() { | |
| player = new YT.Player('player', { |