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
curl --location --request POST 'https://api.highfidelity.com/api/v1/spaces/dd12f2a5-ee72-4b86-b42d-76c431c11ac5/settings/zones?token=token' \ | |
--header 'authority: dev-api.apiax.io' \ | |
--header 'pragma: no-cache' \ | |
--header 'cache-control: no-cache' \ | |
--header 'productid: 5f8400d29acb977228f1d893' \ | |
--header 'authorization: Basic Og==' \ | |
--header 'content-type: application/json' \ | |
--header 'accept: application/json' \ | |
--header 'x-priority-countries: VGB' \ | |
--header 'x-legal-entity-id: 5bb3460d650bdfed26360313' \ |
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
/** | |
* Copyright (c) Facebook, Inc. and its affiliates. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
*/ | |
#import "AppDelegate.h" | |
#import <React/RCTBridge.h> |
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
const getTimeFromStamp = (n) => { | |
if(n<=0) { | |
return "Session Ongoing"; | |
} | |
let day = parseInt(n / (24 * 3600)); | |
n = n % (24 * 3600); | |
let hour = parseInt(n / 3600); | |
n %= 3600; | |
let minutes = parseInt(n / 60) ; | |
n %= 60; |
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
#include <bits/stdc++.h> | |
using namespace std; | |
int a[1002]; | |
void multiply(int num) { | |
int c = 0; | |
for(int i =0 ; i<1002; i++) { | |
int temp = a[i]*num + c; | |
a[i] = temp%10; |
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 findPower(num, p) { | |
var ans = []; | |
var ret = 0; | |
ans.push(1); | |
for(var i = 0; i<p; i++) { | |
var c = 0; | |
for(var j = 0; j<ans.length; j++) { | |
ans[j]*=num; | |
ans[j]+=c; | |
c = parseInt(ans[j]/10); |