https://www.nytimes.com/live/2020/08/16/us/election-trump-vs-biden?referringSource=articleShare
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 { render, fireEvent, waitFor } from 'test-utils'; | |
import { MockedProvider } from '@apollo/client/testing'; | |
import ChatInput, { ADD_MESSAGE } from './ChatInput'; | |
let resultCalled = false; | |
const addMessage = { | |
date_created: new Date(), | |
user: 'testUser', | |
message: 'chat input test message', | |
index: 0, |
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 { | |
chakra, | |
forwardRef, | |
SystemStyleObject, | |
useStyles, | |
useTheme, | |
HTMLChakraProps, | |
} from '@chakra-ui/system'; | |
import { Slide, SlideOptions } from '@chakra-ui/transition'; | |
import { cx, __DEV__ } from '@chakra-ui/utils'; |
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' | |
export function iFrame({props}){ | |
const iframeRef = React.useRef(null); | |
useElementInteration({ | |
elementRef: iframeRef, | |
onInteraction: () => | |
console.log("Interaction of iframe!!!") | |
}); |
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
{ | |
"posts": [ | |
"{_id: \"1b53b6f1-e74c-43dc-835c-62daa58fa8e1\", _upda…}", | |
"{_id: \"a7760b4a-a419-4014-a6c0-5cb961c1b9ad\", _upda…}", | |
"{_id: \"e0ec33e3-d419-4585-9198-30673a719801\", _upda…}" | |
], | |
"categories": [ | |
{ | |
"_id": "376bfca7-be64-47e5-93e2-552b1aeb813a", | |
"tags": [ |
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
require("dotenv").config({ path: "./.env.development" }); //loaded from .env.development | |
const r2 = require("r2"); | |
const slugify = require("slugify"); | |
var wpArticles = require("./rss-feed.json"); | |
/** | |
{ | |
"create": { | |
"_id": "123", | |
"_type": "cms.article", |
Vote by mail: Which states allow absentee voting - Washington Post
For voters in seven states, in-person voting remains the only option unless they can provide an approved reason not related to fear of the coronavirus. Traditional absentee excuses include military deployments or illness.
I don't care who you vote for, or what party you vote for when millions are unable to easily vote, we all lose.
What’s your favorite new front-end technology? Why is it your favorite? What does it do well, where it could be improved, and how to spread its reach?
Webassembly is an exciting technology that is advancing the web as a platform in new and interesting ways. If you're not familiar with webassembly, let's do a lighting intro and then dive into the ways we can leverage this fantastic feature.
Webassembly, or wasm for short, let's us to deliver compiled code to the browser that is able to parse and execute leaps and bounds faster than our bundled JavaScript can. But don't worry, it's not going to replace JavaScript or great tooling like Webpack or Babel. It's going to supplement and help with the heavy lifting to make our web apps run at almost native speeds!
Great use cases for leveraging the power of wasm could be anything that is computationally heavy that you'd like to do in the browser. Things like gaming engines, image shaders or manipulation. You might be using wasm today and not even know. Popular
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
A 2019-07-28T23:28:17Z Running migrations for postit | |
A 2019-07-28T23:28:17Z 2019/07/28 23:28:17 New connection for "post-it-243617:us-central1:postitdb-beta" | |
A 2019-07-28T23:28:17Z 2019/07/28 23:28:17 New connection for "post-it-243617:us-central1:postitdb-beta" | |
A 2019-07-28T23:28:18Z 23:28:18.294 [info] == Running 20190717045929 Postit.Repo.Migrations.CreatePosts.change/0 forward | |
A 2019-07-28T23:28:18Z 23:28:18.298 [info] create table posts | |
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
{"version":1,"resource":"file:///Users/jesse/Documents/code/tauri-sample-next/src/pages/index.tsx","entries":[{"id":"YlTY.tsx","timestamp":1661792381463}]} |