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
async function syncDailySession(startingAfter) { | |
/* first we check if the room exists */ | |
const response = await axios(`${config.dailyCoApiUrl}/meetings`, { | |
method: 'GET', | |
headers: { | |
'Content-Type': 'application/json', | |
authorization: `Bearer ${config.dailyCoApiKey}`, | |
}, | |
params: { | |
ongoing: false, |
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
var selected_level; | |
var selected_type; | |
var selected_processing; | |
var noise_level_id=-1; | |
var noise_type_id=-1; | |
var noise_processing_id=-1; | |
var music_pos = -1; |
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
import styled from "styled-components" | |
const Bubble = styled(div)` | |
border-radius: 20px; | |
padding: 8px 15px; | |
margin-top: 5px; | |
margin-bottom: 5px; | |
display: inline-block; | |
margin-right: 25%; |
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
function inventory(arr1, arr2) { | |
// All inventory must be accounted for or you're fired! | |
var index; | |
// checks if the inventories match | |
function check(name){ | |
for (var i = 0; i < arr1.length; i++){ | |
if (arr1[i][1] === name){ | |
return i; |