This file contains hidden or 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 React from 'react' | |
interface Props { | |
colCount: number | |
gap: number | |
children: React.ReactNode[] | |
} | |
const PrimitiveMasonry: React.FC<Props> = ({ | |
colCount = 2, |
This file contains hidden or 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 { json, LoaderFunction, useCatch, useLoaderData } from 'remix' | |
type BCDBalance = { | |
contract: string | |
token_id: number | |
name: string | |
description: string | |
artifact_uri: string | |
display_uri: string | |
thumbnail_uri: string |
This file contains hidden or 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 pathlib | |
import os | |
import uuid | |
if __name__ == "main": | |
files = os.listdir() | |
for f in files: | |
suffix = pathlib.Path(f).suffix | |
This file contains hidden or 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 os | |
import dateutil | |
import glob | |
# Assumes you're working in a directory with only the Daily Notes | |
# Files that aren't parseable dates will fail | |
files = map(lambda n: n[2:-2], glob.glob("./*.md")) | |
for f in files: | |
d = dateutil.parser.parse(f) |
This file contains hidden or 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
name: Release to TestFlight internally and bump build number | |
on: [workflow_dispatch] | |
jobs: | |
internal_testflight: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# We use a deploy key (i.e. public key) in the Houston-App/certificates repo to |
This file contains hidden or 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 { Text } from "react-native" | |
import React from "react" | |
import { PanGestureHandler } from "react-native-gesture-handler" | |
import Animated, { | |
runOnJS, | |
useAnimatedGestureHandler, | |
useAnimatedStyle, | |
useSharedValue, | |
withSpring, | |
} from "react-native-reanimated" |
This file contains hidden or 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 { styled } from "@stitches/react" | |
const Stack = styled("div", { | |
display: "flex", | |
variants: { | |
dir: { | |
col: { flexDirection: "column" }, | |
row: { flexDirection: "row" }, | |
}, |
This file contains hidden or 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
{"lastUpload":"2020-07-12T19:49:30.768Z","extensionVersion":"v3.4.3"} |
This file contains hidden or 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
/** | |
* @flow | |
* @prettier | |
*/ | |
import { type QueryRenderProps } from 'react-apollo' | |
import * as React from 'react' | |
import { | |
get, | |
takeRightWhile, |
This file contains hidden or 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 React from "react" | |
import { Image } from "react-native" | |
const sources = [ | |
{ | |
height: 16, | |
uri: | |
"https://finimize-img-test.imgix.net/https%3A%2F%2Fimages.unsplash.com%2Fphoto-1498671546682-94a232c26d17%3Fixlib%3Drb-1.2.1%26ixid%3DeyJhcHBfaWQiOjEyMDd9%26auto%3Dformat%26fit%3Dcrop%26w%3D987%26q%3D80?fit=crop&h=16&ixlib=python-3.0.0&w=16&s=60604503c09cf60a0a360046429a8fc0", | |
width: 16 | |
}, |