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
// @ts-nocheck | |
import { Globe } from "./Globe"; | |
export class BlogGlobe { | |
private el: HTMLElement; | |
private globeEl: HTMLElement; | |
private globe: any; | |
private hasLoadingStarted: boolean = false; | |
private isGlobeLoaded: boolean = false; | |
private intersectionObserver: IntersectionObserver; |
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
sharecal:eval: > NODE_ENV=production pnpx braintrust eval "./evals/json-repro.eval.ts" | |
sharecal:eval: | |
sharecal:eval: .../Library/pnpm/store/v3/tmp/dlx-5175 | Progress: resolved 1, reused 0, downloaded 0, added 0 | |
sharecal:eval: .../Library/pnpm/store/v3/tmp/dlx-5175 | Progress: resolved 56, reused 27, downloaded 0, added 0 | |
sharecal:eval: .../Library/pnpm/store/v3/tmp/dlx-5175 | Progress: resolved 84, reused 62, downloaded 0, added 0 | |
sharecal:eval: .../Library/pnpm/store/v3/tmp/dlx-5175 | +106 +++++++++++ | |
sharecal:eval: .../Library/pnpm/store/v3/tmp/dlx-5175 | Progress: resolved 127, reused 106, downloaded 0, added 0 | |
sharecal:eval: .../Library/pnpm/store/v3/tmp/dlx-5175 | Progress: resolved 127, reused 106, downloaded 0, added 106, done | |
sharecal:eval: Processing 1 evaluators... | |
sharecal:eval: Experiment main-1726691757 is running at https://www.braintrust.dev/app/sharecal/p/JSONDiff%20repro/experiments/main-1726691757 |
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 Calendar from "~components/Calendar" | |
import { useEffect, useRef, useState } from "react" | |
import cssTextFcDaygrid from "data-text:@fullcalendar/daygrid/main.css" | |
import cssTextFcCommon from "data-text:@fullcalendar/common/main.css" | |
import cssTextFcTimegrid from "data-text:@fullcalendar/timegrid/main.css" | |
import cssTextGlobals from "data-text:~styles/globals.css" | |
import { | |
ChakraProvider, | |
Modal, | |
ModalBody, |
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 { Button, ChakraProvider, Flex } from "@chakra-ui/react"; | |
import createCache from "@emotion/cache"; | |
import { CacheProvider } from "@emotion/react"; | |
import type { PlasmoContentScript } from "plasmo"; | |
import { createRoot } from "react-dom/client"; | |
export const config: PlasmoContentScript = { | |
matches: ["https://plasmo.com/*"] | |
} |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"go.lintOnSave": "workspace", | |
"go.vetOnSave": "workspace", | |
"go.buildFlags": [], | |
"go.coverOnSave": false, | |
"go.useCodeSnippetsOnFunctionSuggest": false, | |
"go.gopath": "/Users/austintackaberry/gocode", | |
"go.formatTool": "goreturns", | |
"javascript.validate.enable": false, |
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 React from "react"; | |
import ReactDOM from "react-dom"; | |
import "./index.css"; | |
import App from "./App"; | |
import registerServiceWorker from "./registerServiceWorker"; | |
import { BrowserRouter } from "react-router-dom"; | |
import { IntlProvider, addLocaleData } from "react-intl"; | |
import en from "react-intl/locale-data/en"; | |
import es from "react-intl/locale-data/es"; |
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
{ | |
"en": { | |
"Weather.message": "Because it is sunny!", | |
"Day.homeLink": "Go back home", | |
"Home.header": "Hello, world!", | |
"Home.dayMessage": "It's a beautiful day outside.", | |
"Home.dayLink": "Click here to find out why!" | |
}, | |
"es": { | |
"Weather.message": "¡Porque es soleado!", |
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 * as fs from "fs"; | |
import { sync as globSync } from "glob"; | |
import { sync as mkdirpSync } from "mkdirp"; | |
import last from "lodash/last"; | |
const MESSAGES_PATTERN = "./public/messages/**/*.json"; | |
const LANG_DIR = "./public/locales/"; | |
const LANG_PATTERN = "./public/locales/*.json"; | |
// Try to delete current json files from public/locales |