Skip to content

Instantly share code, notes, and snippets.

View HERYORDEJY's full-sized avatar

Ayodeji Yusuf Oyebode HERYORDEJY

View GitHub Profile
@HERYORDEJY
HERYORDEJY / .js
Last active November 24, 2023 07:49
React Native Face-ID Authentication implementation
/*--------------------
Using the react-native-biometrics package
----------------------*/
import React, { useEffect, useState } from 'react';
import { View, Text, TouchableOpacity } from 'react-native';
import Biometrics from 'react-native-biometrics';
const FaceIDAuthentication = () => {
@HERYORDEJY
HERYORDEJY / certs.json
Created September 18, 2023 14:56 — forked from cblanquera/certs.json
List of academic degrees and certs
[
{
"degree_title": "American Association for Respiratory Care Fellow",
"degree_reference": "AARCF",
"degree_level": "certification"
},
{
"degree_title": "American Registry for Radiologic Technologists",
"degree_reference": "AART",
"degree_level": "certification"
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],
@HERYORDEJY
HERYORDEJY / fileData.js
Created April 15, 2022 07:23
React Native FormData file upload issue.
import { AxiosRequestConfig } from "axios";
const FormData = global.FormData;
const axiosInstance = axios.create({
baseURL: 'example.com', // use with scheme
timeout: 30000,
headers: {
"X-Platform": 'iOS',
"X-App-Build-Number": '1.0.0',
},
import React, {
useEffect,
useRef,
useState,
} from 'react';
import {
Animated,
Button,
Text,