A graph that interprets IoT temperature device through time, tracking internal to a refrigerator and external to a refrigerator.
Written in D3, and visible here
Gist available here
Time Series with Dots, based on https://gist.github.com/jonmitten/f89f09c96146fa27dc089269b4b069d5
I hereby claim:
To claim this, I am signing this object:
This Gist aims to serve as a reminder for myself and for anybody who finds this useful. Documenting the various ways of converting time in javascript, making time and date stamps, adding and subtracting time into human-readable formats, the goal is to have snippets and references that are outside of the Mozilla docs, largely drawn from StackOverflow. Links will be provided as available.
It is advisable to keep times in UTC timezone, adjusting to timezones only after all other conversions have taken place. This document assumes UTC as the timezone.
var current_time = Date.now();
I had a few issues setting up my Raspberry Pi 3 b+ with Pygame, especially pygame.mixer, which doesn't just automatically install with pygame on a virtualenv. The virtualenv may be unnecessary, but to optimize portability between RPis, I wanted to have a requirements.txt to include with my favorite version of python this week, Python 3.6.
But, leave it to me to not document as I go - when I get in the zone, I have a hard time stopping to take notes between Google search, attempt fix, fail or succeed, and on to the next problem. So, I'm reserving this gist for doing it again. I'm planning on replicating this process for installation art, and before I'm able to construct a recipe for Ansible or RPi Baker, I will document the process here.
RPi ships (as of this writing) with Python 2.7 and Python 3.5 - and look, I love 3.5, but I was taught to always make a virtualenv whenever starting a new python project. So, it really doesn't matter what vers
[ | |
{ | |
"sid": "00001", | |
"market": "CHICAGO IL", | |
"band": "A", | |
"carrier": "AT&T" | |
}, | |
{ | |
"sid": "00002", | |
"market": "LOS ANGELES CA", |