Skip to content

Instantly share code, notes, and snippets.

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' \
/**
* 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>
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;
#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;
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);