Skip to content

Instantly share code, notes, and snippets.

View boblitex's full-sized avatar
:electron:
breaking stuff

Jude Bobinihi boblitex

:electron:
breaking stuff
  • South Africa
View GitHub Profile
@boblitex
boblitex / podfile
Created January 23, 2024 12:13
Podfile for expo SDK50 with react-native-maps config plugin
require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking")
require File.join(File.dirname(`node --print "require.resolve('react-native/package.json')"`), "scripts/react_native_pods")
# @generated begin withReactNativeFirebase - expo prebuild (DO NOT MODIFY) sync-a61af217a15f61bd72b8c969542445800edfe21c
pod 'Firebase', :modular_headers => true
pod 'FirebaseCore', :modular_headers => true
pod 'GoogleUtilities', :modular_headers => true
$RNFirebaseAsStaticFramework = true
# @generated end withReactNativeFirebase
require 'json'
/* eslint-disable no-sequences */
/* eslint-disable no-return-assign */
/* eslint-disable no-empty */
/* eslint-disable no-plusplus */
/* eslint-disable no-unsafe-finally */
/* eslint-disable no-undef */
/* eslint-disable global-require */
import React, { useState, useEffect, useRef, useCallback } from 'react';
import { FlatList, View, Text, Pressable, Animated, Platform } from 'react-native';
import NetInfo, { useNetInfo } from '@react-native-community/netinfo';
"use strict";
/**
* Auth.js controller
*
* @description: A set of functions called "actions" for managing `Auth`.
*/
/* eslint-disable no-useless-escape */
const crypto = require("crypto");
@boblitex
boblitex / app.html
Created August 8, 2019 04:22
says displayTotalCart from the fetch is undefined
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Mini App</title>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Mini App</title>
<style>
body {
margin: 0;