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
| type Classnames = string[] | string | |
| type VariantConfig = { | |
| [variant: string]: { [option: string]: Classnames } | |
| } | |
| type Config<V extends VariantConfig> = { | |
| base: Classnames | |
| variants: V | |
| compoundVariants?: ({ |
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 { | |
| GetServerSideProps, | |
| GetServerSidePropsContext, | |
| GetServerSidePropsResult, | |
| NextPage, | |
| } from 'next' | |
| import { initUrqlClient, SSRData, withUrqlClient } from 'next-urql' | |
| import { | |
| cacheExchange, | |
| Client, |
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"} |