Skip to content

Instantly share code, notes, and snippets.

View andrewarrow's full-sized avatar
💭
https://andrewarrow.dev/

Andrew Arrow andrewarrow

💭
https://andrewarrow.dev/
View GitHub Profile
"data": [
{
"timestamp": 1462460504,
"value": 6.96,
"event_type": "br"
},
{
"timestamp": 1462460506,
"value": 8.47,
"event_type": "br"
how about this - a "VR timeout room" - think star trek halodeck but
much smaller, and current tech not science fiction. A small shed in
the backyard of the house has a complete virtual reality room in there
for the kid to expereince a "fake car ride" or any other very calming
nice human expereince. (Walk in the park, along the beach, etc.) The
kid is monitored for his heart rate, breathing, all vitals, and the
parents can see a video an audio feed from inside. BUT the kid is
locked in the VR room until the parent says they can leave. Cuz the
parent might wanna go cook dinner for an hour, still watching their
smart phone with all the data on if kid is ok, but not actually
require 'net/https'
require 'uri'
require 'json'
require 'csv'
if ARGV.size < 5
puts 'usage: ruby events.rb org_id token device_id email event'
exit 1
end
require 'net/https'
require 'uri'
require 'json'
require 'csv'
if ARGV.size < 4
puts 'usage: ruby bitium_list_subscribers.rb slug org_id token device_id'
exit 1
end
Faye = require 'faye'
run_it = () ->
fc = new Faye.Client 'http://localhost:8000/channel'
sub = fc.subscribe '/foo', (payload) ->
fc.disconnect()
sub.callback () ->
fc.publish '/foo', {hi: 'hello'}
@andrewarrow
andrewarrow / gist:2303251
Created April 4, 2012 16:03
email chain about CBT - name changed for privacy
---------- Forwarded message ----------
From: andrew@cbtreferee.com <andrew@cbtreferee.com>
Date: Sat, Mar 31, 2012 at 7:47 AM
Subject: Re: CBTReferee
To: Rachel Harris <rharris@...>
try and view the world this way:
every morning when you wake up, the first thought to "catch" is something like:
@andrewarrow
andrewarrow / gist:2270306
Created April 1, 2012 01:19
email chain about CBT app - name changed for privacy
We couldn’t find that file to show.