Skip to content

Instantly share code, notes, and snippets.

import React, { useState, useEffect } from "react"
import { Button, Image, View, Text } from "react-native"
import * as ImagePicker from "expo-image-picker"
import { getAuth, signInAnonymously } from "firebase/auth"
import { ref, uploadBytesResumable, getDownloadURL } from "firebase/storage"
import { storage } from "./firebase" //^9.12.1
const UploadMedia = () => {
const video = React.useRef(null)
const [status, setStatus] = React.useState({})
@wheelie33
wheelie33 / Error.txt
Last active November 1, 2022 18:02
Cropping Crash
Fatal: TypeError null is not an object (evaluating 'v.default.handleSetJSResponder')
@wheelie33
wheelie33 / index.html
Last active December 2, 2022 20:24
HTMLImageElement Issue
<html>
<link
rel="stylesheet"
type="text/css"
href="https://cdn.jsdelivr.net/npm/@mediapipe/control_utils_3d@0.2/landmark_grid.css"
crossorigin="anonymous"
/>
<meta charset="utf-8" />
<link rel="icon" href="favicon.ico" />
@wheelie33
wheelie33 / gist:10625a57637aca4de1ba9da219f63404
Created November 17, 2023 20:36
Azure Exception Details
2023-11-17T20:35:49Z [Error] Function 'Function1', Invocation id 'f3c85a79-97ac-4d48-98f8-265b2c423d6a': An exception was thrown by the invocation.
2023-11-17T20:35:49Z [Error] Executed 'Functions.Function1' (Failed, Id=f3c85a79-97ac-4d48-98f8-265b2c423d6a, Duration=856ms)
2023-11-17T20:35:49Z [Error] message-queue-6a2c3120-d268-4e31-ab15-a2c4de05ed87: User message handler complete: Message: SequenceNumber: 130, Exception: Microsoft.Azure.WebJobs.Host.FunctionInvocationException: Exception while executing function: Functions.Function1
---> Microsoft.Azure.WebJobs.Script.Workers.Rpc.RpcException: Result: Failure
Exception: System.InvalidOperationException: The gRPC channel URI 'http://:' could not be parsed.
at Microsoft.Azure.Functions.Worker.Extensions.Rpc.ConfigurationExtensions.GetFunctionsHostGrpcUri(IConfiguration configuration) in D:\a\_work\1\s\extensions\Worker.Extensions.Rpc\src\ConfigurationExtensions.cs:line 35
at Microsoft.Azure.Functions.Worker.GrpcHttpClientBuilderExtensions.<