This file contains 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
11-05 10:21:22.538 D/cmh-communication-service(23534): DISCONNECTED | |
11-05 10:21:22.538 D/cmh-communication-service(23534): Trying to re connect... | |
11-05 10:21:22.538 D/cmh-communication-service(23534): CONNECTING | |
11-05 10:21:22.548 D/cmh-communication-service(23534): errorAn exception was thrown by the websocket | |
11-05 10:21:22.548 D/cmh-communication-service(23534): DISCONNECTED | |
11-05 10:21:22.548 D/cmh-communication-service(23534): Trying to re connect... | |
11-05 10:21:22.548 D/cmh-communication-service(23534): CONNECTING | |
11-05 10:21:22.548 D/cmh-communication-service(23534): errorAn exception was thrown by the websocket | |
11-05 10:21:22.548 D/cmh-communication-service(23534): DISCONNECTED | |
11-05 10:21:22.548 D/cmh-communication-service(23534): Trying to re connect... |
This file contains 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
{ | |
"vacations" : [ | |
"28-Nov-2013", "24-Dec-2013", "25-Dec-2013" | |
], | |
"override_days": [ | |
"30-Nov-2013" : { | |
"sleep" : ["12:00", "17:00"], | |
"wake_up" : ["9:00", "13:00"] | |
}, | |
"1-Dec-2013" : { |
This file contains 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
{ | |
"Monday": { | |
"wake_up": ["7:00"], | |
"sleep":["19:00"] | |
}, | |
"Tuesday" : { | |
"wake_up": ["7:00"], | |
"sleep":["19:00"] | |
}, | |
"Wednesday" : { |
This file contains 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
{ | |
flash_ads: [ | |
{ | |
sponsor_name: "Xeljanz", | |
condition: ["RA"], | |
source_type: "HTML", | |
banner_source_path: "xeljanz/banner/index.html", | |
box_source_path: "xeljanz/box/index.html", | |
sponsor_website_URL: "http://www.xeljanz.com/oral-medication?src_code=XELW10027436" | |
}, |
This file contains 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
{ | |
"Monday": { | |
"wake_up": ["7:00"], | |
"sleep":["17:00"] | |
}, | |
"Tuesday" : { | |
"wake_up": ["7:00"], | |
"sleep":["17:00"] | |
}, | |
"Wednesday" : { |
This file contains 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
[ | |
{ | |
"title" : "Diabetes Basics", | |
"type" : "sub-conditions", | |
"sub_conditions": [ | |
{ | |
title: "A1C", | |
videos:[ | |
{ | |
name:"", |
This file contains 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
{ | |
"sponsor_ads": [ | |
{ | |
"type": "flash", | |
"sponsor": "Pradaxa", | |
"newsletter_available": false, | |
"conditions": [ | |
"Heart Health", | |
"Heart Health 101", | |
"Atrial Fibrillation" |
This file contains 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
# All devices with at least one heartbeat | |
mp_with_last_seen = {} | |
MediaPlayer.find_in_batches(:batch_size => 100) do |mps| | |
mps.each do |mp| | |
hb = MediaPlayerHeartbeat.where(:client_id => mp.client_id).last | |
mp_with_last_seen[mp.name] = hb.created_at unless hb.blank? | |
end | |
end | |
CSV.open("data.csv", "wb") {|csv| mp_with_last_seen.to_a.each {|elem| csv << elem} } |
This file contains 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
/* For single clinic custom website */ | |
{ | |
"title": "JointMan", | |
"position": "3", | |
"websites": [ | |
{ | |
"title": "", | |
"url": "https://www.t3treattotarget.com/", | |
"showZoomControls": false, | |
"desktopVersion": false |