Skip to content

Instantly share code, notes, and snippets.

@fakeheal
fakeheal / App.tsx
Created May 18, 2021 10:52
Reproductive Health Permissions + Fetch Data
import React, { useState } from 'react'
import { SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, View } from 'react-native'
import { Colors } from 'react-native/Libraries/NewAppScreen'
import AppleHealthKit, { HealthKitPermissions, HealthValue } from 'react-native-health'
/* Permission options */
const permissions = {
permissions: {
read: [
const toRemove = [
'If You Need The Most Awesome Violin Music, Hear This •',
'Traitor',
'Revolution',
'Sacrifice',
'Endgame',
'Overlord',
'Darkness',
'A Soundtrack for the Apocalypse'
];
@fakeheal
fakeheal / copy.js
Last active December 13, 2022 11:47
Copy cards title & link as markdown from a specific Trello Board List
const print = (text, level = 'warn') => console[level](`HELPER: ${text}`)
const NOT_LABELED = 'Not Labeled';
const LIST_NAME = 'Live';
const SELECTORS = {
list: {
wrapper: 'list-wrapper',
header: 'list-header-name-assist'
},