A simple clock made with D3.
After I'd made it I got a bit caught up in trying to make it look like Dieter Ram's Braun clock face adding a whole bunch fo extra stuff...
It's still not quite there.
limit was a number of 10. | |
arr had limit number. | |
The looking-glass hatta () | |
opened | |
The looking-glass initialise () | |
opened | |
i was a number and i became 0. | |
eventually (i == limit) because | |
perhaps (i == 0 || i == 1) so |
#!/bin/bash | |
# This script downloads a gravatar image associated with EMAIL and saves it at | |
# AVATAR_OUTPUT_PATH then creates a favicon icon and saves it at | |
# FAVICON_OUTPUT_PATH. | |
EMAIL="[email protected]" | |
AVATAR_OUTPUT_PATH="static/img/avatar.png" | |
FAVICON_OUTPUT_PATH="static/favicon.ico" |
function AssertionError(message) { | |
this.name = "AssertionError"; | |
this.message = message || "Assertion Error"; | |
} | |
AssertionError.prototype = new Error(); | |
AssertionError.prototype.constructor = AssertionError; | |
function Tests() { | |
this.tests = []; | |
} |
function make_iter(f) | |
return function(...) | |
local args = ... | |
local co = coroutine.create(f) | |
return function() | |
if coroutine.status(co) == "dead" then | |
return nil | |
end | |
_, result = coroutine.resume(co, args) | |
return result |
#!/bin/bash | |
APPLICATION_TOKEN=a3MxpesaEnciPeqqsYBrzZatpwrDQ9 | |
USER_TOKEN=$PUSHOVER_USER_TOKEN | |
URL=https://api.pushover.net/1/messages.json | |
function push_alert() { | |
curl -s \ | |
-F "token=$APPLICATION_TOKEN" \ | |
-F "user=$USER_TOKEN" \ |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/iconsets/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> | |
<template> |
A simple clock made with D3.
After I'd made it I got a bit caught up in trying to make it look like Dieter Ram's Braun clock face adding a whole bunch fo extra stuff...
It's still not quite there.
Drawable Graphs in d3
Traceback (most recent call last): | |
File "../project/bugs/cuda_broken_109e128133d6622d99d80fe99144cf269e1039bf.py", line 17, in <module> | |
p() | |
File "../project/bugs/cuda_broken_109e128133d6622d99d80fe99144cf269e1039bf.py", line 8, in p | |
V = FunctionSpace(mesh, "CG", degree) | |
File "/homes/hjd11/proj/Firedrake/PyOP2/pyop2/caching.py", line 161, in __new__ | |
obj = make_obj() | |
File "/homes/hjd11/proj/Firedrake/PyOP2/pyop2/caching.py", line 142, in make_obj | |
obj.__init__(*args, **kwargs) | |
File "/homes/hjd11/proj/Firedrake/firedrake/firedrake/functionspace.py", line 518, in __init__ |
[{"pid":79498,"tid":1295,"ts":216941129400,"ph":"X","cat":"toplevel","name":"MessageLoop::RunTask","args":{"src_file":"../../third_party/WebKit/Source/platform/scheduler/base/task_queue_impl.cc","src_func":"PushOntoImmediateIncomingQueueLocked"},"dur":71,"tdur":60,"tts":1096954}, | |
{"pid":79498,"tid":1295,"ts":216941129427,"ph":"X","cat":"toplevel","name":"TaskQueueManager::ProcessTaskFromWorkQueue","args":{"src_file":"../../base/trace_event/trace_log.cc","src_func":"SetEnabled"},"dur":14,"tdur":11,"tts":1096974}, | |
{"pid":79498,"tid":1295,"ts":216941129447,"ph":"X","cat":"toplevel","name":"TaskQueueManager::ProcessTaskFromWorkQueue","args":{"src_file":"../../base/trace_event/trace_log.cc","src_func":"SetEnabled"},"dur":8,"tdur":5,"tts":1096994}, | |
{"pid":79498,"tid":1295,"ts":216941129457,"ph":"X","cat":"toplevel","name":"TaskQueueManager::ProcessTaskFromWorkQueue","args":{"src_file":"../../base/trace_event/trace_log.cc","src_func":"SetEnabled"},"dur":8,"tdur":4,"tts":1097004}, | |
{"pid":79498,"tid":17463,"ts":216941 |