This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! ColorGenerator v0.0.1 - MIT license */ | |
'use strict'; | |
/** | |
* Module dependencies | |
*/ | |
var hash = function(stringToHash) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: ben-test-((TAG)) | |
namespace: abakus | |
spec: | |
replicas: 1 | |
template: | |
metadata: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ed Balls | |
import React from 'react'; | |
import i18n from 'i18next'; | |
import {initReactI18next, useTranslation} from 'react-i18next'; | |
import {cloneDeep} from 'lodash'; | |
// This is usally imported from a json file or similar | |
const langEN = { | |
title: 'My amazing app', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Linking } from "react-native" | |
import PostHog from 'posthog-react-native' | |
import AsyncStorage from '@react-native-async-storage/async-storage'; | |
import { v4 as uuidv4 } from 'uuid'; | |
const getSessionId = async () => { | |
// You could get something remotely from an API or just store a unique ID | |
let sessionId = await AsyncStorage.getItem('my-session-id') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"type": 4, | |
"data": { | |
"href": "http://localhost:8100/tab1", | |
"width": 2560, | |
"height": 831 | |
}, | |
"timestamp": 1681739584084, | |
"delay": -290 |