- Use the following package versions:
+ "metro-react-native-babel-preset": "^0.59.0",
+ "react-native": "0.63.0",
+ "react-native-macos": "^0.63.23",
// pages/api/sponsors.ts | |
import { NextApiRequest, NextApiResponse } from 'next' | |
const AV_SIZE = 32 | |
const PADDING = 4 | |
const COLS = 16 | |
type SponsorResult = { avatarUrl: string; login: string } |
import * as React from "react" | |
import { Model } from "@croquet/croquet" | |
import { CroquetContext } from "@croquet/react" | |
/** | |
* A callback that publishes the returned data to the current view's model. | |
* @param eventName The name of the event to be published. | |
* @param fn A function that returns the data to be published. | |
* @param deps (optional) An array of dependencies for the callback. | |
*/ |
_APP_ENV=production | |
_APP_LOCALE=en | |
_APP_OPTIONS_ABUSE=enabled | |
_APP_OPTIONS_FORCE_HTTPS=disabled | |
_APP_OPENSSL_KEY_V1=your-secret-key | |
_APP_DOMAIN=localhost | |
_APP_DOMAIN_TARGET=localhost | |
_APP_CONSOLE_WHITELIST_ROOT=enabled | |
_APP_CONSOLE_WHITELIST_EMAILS= | |
_APP_CONSOLE_WHITELIST_IPS= |
<audio crossorigin="anonymous" id="audio_source" controls preload="none" style="width:16em;padding:0;"> | |
<source src="http://www.example.com:8000/sample?type=http&nocache=4" type='audio/mpeg'> | |
</audio> | |
<script> | |
const AudioContext = window.AudioContext || window.webkitAudioContext; | |
const audio = document.querySelector( "audio" ); | |
var convolverBuffer; | |
var convolverNode; |
// /extensions/users-permissions | |
"use strict"; | |
/** | |
* Module dependencies. | |
*/ | |
// Public node modules. | |
const _ = require("lodash"); | |
const request = require("request"); |
// | |
// YeetJSIUTils.h | |
// yeet | |
// | |
// Created by Jarred WSumner on 1/30/20. | |
// Copyright © 2020 Facebook. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import <jsi/jsi.h> |
import { forEachObjIndexed } from "ramda"; | |
import * as React from "react"; | |
import { | |
Animated, | |
ScrollView, | |
View, | |
ViewStyle, | |
LayoutChangeEvent, | |
NativeScrollEvent, | |
} from "react-native"; |
# Make sure you are using gpg2 | |
git config --global gpg.program gpg2 | |
# Clone empty repository | |
git clone [email protected]:ruzickap/terraform-gitops.git | |
# Configure a repository to use git-crypt | |
cd terraform-gitops | |
git-crypt init |
- (void)createSilentAudioFileAtURL:(NSURL *)fileURL durationInMilliseconds:(NSInteger)durationInMilliseconds { | |
AudioFileID mRecordFile; | |
AudioStreamBasicDescription audioFormat; | |
audioFormat.mSampleRate = 44100.00; | |
audioFormat.mFormatID = kAudioFormatLinearPCM; | |
audioFormat.mFormatFlags = kAudioFormatFlagIsSignedInteger | kAudioFormatFlagIsPacked; | |
audioFormat.mFramesPerPacket = 1; | |
audioFormat.mChannelsPerFrame = 2; | |
audioFormat.mBitsPerChannel = sizeof(short) * 8; |