This file contains hidden or 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
#!/usr/bin/env node | |
/** | |
* Copyright (c) 2015-present, Facebook, Inc. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
'use strict'; |
This file contains hidden or 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
{ | |
"statusCode": 200, | |
"body": [ | |
"{schema_version=1, command_id=B4, system_id=AVPTC61D14BB_1000, unit_id=53, gateway_id=dev-gw-10002, measure_name=gateway_data, time=2023-10-16 11:43:09.495000000, Gw_Fw_Version=NULL, DI=NULL, update_rate=180, Indoor_Communication=NULL, Outdoor_Communication=NULL, 0x0014_53_B0=NULL, 0x000A_53_B0=NULL, 0x0004_53_B0=NULL, 0x000F_53_B0=NULL, 0x0003_53_B0=NULL, 0x000E_53_B0=NULL, 0x0013_53_B0=NULL, 0x000D_53_B0=NULL, 0x0008_53_B0=NULL, 0x0007_53_B0=NULL, 0x0012_53_B0=NULL, 0x0002_53_B0=NULL, 0x0010_53_B0=NULL, 0x0009_53_B0=NULL, 0x000B_53_B0=NULL, 0x0006_53_B0=NULL, 0x0015_53_B0=NULL, 0x000C_53_B0=NULL, 0x0001_53_B0=NULL, 0x0011_53_B0=NULL, 0x000D_53_B1=NULL, 0x0004_53_B1=NULL, 0x0012_53_B1=NULL, 0x0001_53_B1=NULL, 0x000E_53_B1=NULL, 0x0003_53_B1=NULL, 0x0034_53_B3=NULL, 0x0014_53_B3=NULL, 0x0024_53_B3=NULL, 0x001E_53_B3=NULL, 0x0037_53_B3=NULL, 0x0008_53_B3=NULL, 0x0018_53_B3=NULL, 0x000E_53_B3=NULL, 0x0028_53_B3=NULL, 0x0038_53_B3=NULL, 0x0020_53_B3=NULL, 0x0030_53_B3=NULL |
This file contains hidden or 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
[{ | |
screen: 'Sensor', | |
data: [ | |
{ | |
Key: 'ReturnAirTemperatureSensor', | |
Value: '-', | |
display_name: 'Return Air Temp', | |
description: 'The temperature of the air detected at the unit air return sensor. When replacing temperature sensor use only Goodman/Amana approved sensor. Use of invalid sensors will lead to inaccurate temperature readings.', | |
value_unit: 'F', | |
visible: 'Hide' |
This file contains hidden or 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
{"arr": "52,01,03,01,B0,FF,01,00,13,00,02,00,52,03,00,09,04,00,02,06,00,0C,00,07,00,09,00,08,00,0F,09,00,47,4D,56,43,39,36,31,32,30,35,44,4E,42,42,00,0A,00,0B,0B,00,30,30,30,30,30,30,31,30,30,30,00,0C,00,FE,0E,00,02,10,00,02,12,00,02,13,00,03,14,00,78,15,00,01,16,00,0C,17,00,02,18,00,00,19,00,08,1A,00,70,1B,00,98,08#", "data": "{\"screen\":\"Configuration\",\"data\":[{\"Key\":\"ControlID\",\"Value\":19,\"display_name\":\"Controls ID (hidden)\",\"description\":\"Unique identifier for control board, used to determine if this board has any firmware updates available.\",\"value_unit\":null,\"visible\":\"Show\"},{\"Key\":\"UnitType\",\"Value\":\"Furnace\",\"display_name\":\"HVAC Device\",\"description\":\"The type of HVAC Device you are viewing. Sometimes a single unit can have multiple HVAC functions but each of these functions will appear as a separate HVAC device.\",\"value_unit\":null,\"visible\":\"Show\"},{\"Key\":\"ControlSoftwareVersion\",\"Value\":9,\"display_name\":\"Firmware Version\",\"description\":\"S |
This file contains hidden or 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
[{"arr": "52,01,03,01,B6,FF,01,00,FF,FF,02,00,FF,FF,03,00,FF,FF,06,00,43,20,07,00,FF,FF#", "data": "{\"screen\":\"Sensor\",\"data\":[{\"Key\":\"ReturnAirTemperatureSensor\",\"Value\":\"-\",\"display_name\":\"Return Air Temp\",\"description\":\"The temperature of the air detected at the unit air return sensor. When replacing temperature sensor use only Goodman/Amana approved sensor. Use of invalid sensors will lead to inaccurate temperature readings.\",\"value_unit\":\"F\",\"visible\":\"Hide\"},{\"Key\":\"SupplyAirTemperatureSensor\",\"Value\":\"-\",\"display_name\":\"Supply Air Temp\",\"description\":\"The temperature of the air detected at the unit air supply sensor. When replacing temperature sensor use only Goodman/Amana approved sensor. Use of invalid sensors will lead to inaccurate temperature readings.\",\"value_unit\":\"F\",\"visible\":\"Hide\"},{\"Key\":\"OutdoorAmbientTemperature\",\"Value\":\"-\",\"display_name\":\"Outdoor Temp\",\"description\":\"Outdoor ambient temperature measured by an outdoor t |
This file contains hidden or 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
2022-12-19 17:00:55.377667+0530 CoolCloudHAC[18513:4598637] [Snapshotting] Snapshotting a view (0x108042200, UIKeyboardImpl) that is not in a visible window requires afterScreenUpdates:YES. | |
2022-12-19 17:01:18.655846+0530 CoolCloudHAC[18513:4599070] [connection] nw_read_request_report [C2] Receive failed with error "Software caused connection abort" | |
2022-12-19 17:01:18.994254+0530 CoolCloudHAC[18513:4599070] [general] *** -[NSKeyedUnarchiver validateAllowedClass:forKey:] allowed unarchiving safe plist type ''NSString' (0x1e21d43c0) [/System/Library/Frameworks/Foundation.framework]' for key 'NS.keys', even though it was not explicitly included in the client allowed classes set: '{( | |
"'NSDate' (0x1e21cc7a0) [/System/Library/Frameworks/CoreFoundation.framework]", | |
"'NSDictionary' (0x1e21ccb10) [/System/Library/Frameworks/CoreFoundation.framework]" | |
)}'. This will be disallowed in the future. | |
2022-12-19 17:01:23.246914+0530 CoolCloudHAC[18513:4599070] [] nw_path_necp_check_for_updates Failed to copy updated |
This file contains hidden or 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
Starting Download | |
sendOTAIndex: Optional(180) | |
otaToSend: 505440 | |
Progress: 0.00035612535 | |
Progress from local progress: 0.00035612535 | |
sendOTAIndex: Optional(360) | |
otaToSend: 505440 | |
Progress: 0.0007122507 | |
Progress from local progress: 0.0007122507 | |
2022-12-19 16:32:04.228391+0530 CoolCloudHAC[18442:4585721] [tcp] tcp_input [C2.1.1:3] flags=[R] seq=4123398894, ack=0, win=0 state=LAST_ACK rcv_nxt=4123398894, snd_una=2822228981 |
This file contains hidden or 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
/** | |
* You are given two non-empty arrays `a` and `b`, each consisting of objects of | |
* type Entry (see the type declaration below) | |
* Each 'label' is unique within an array (e.g. you cannot have two entries | |
* with `label` 'a' within the same array). | |
* | |
* Write a function `merge` which does the following: | |
* 1) Merges the contents of the two arrays together and returns a new array. | |
* When two entries have the same `label`, the result should have | |
* their `value` property summed up. |
This file contains hidden or 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
from src.nextPairs.dictionaryDao import dictionary_dao | |
from src.nextPairs.optimalItemGenerator import get_next_item_id | |
corpus = dictionary_dao.retrieve_whole_dictionary() | |
def get_ranked_next_pair(ids_array, responses_array): | |
latest_pair_id = get_next_item_id(sum(responses_array), corpus, ids_array) | |
second_latest_pair_id = get_next_item_id(sum(responses_array[:-1]), corpus, ids_array[:-1]) | |
third_latest_pair_id = get_next_item_id(sum(responses_array[:-2]), corpus, ids_array[:-2]) |
This file contains hidden or 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
export const videoCallLinksCtrl = { | |
async create(meeting, params) { | |
const existingMeeting = await meetingsDao.get(meeting._id) | |
if (meeting.videoCallLink) { | |
return existingMeeting; | |
} | |
const {courseId} = meeting; | |
const course = await coursesDao.get(courseId); | |
NewerOlder