I hereby claim:
- I am stevenpetryk on github.
- I am stevenpetryk (https://keybase.io/stevenpetryk) on keybase.
- I have a public key ASBf3hBUItZ9PL6XSouJPBvEc6XdVNG3LpawQW0XV2hHGAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Waiting for input* | |
| entered input -> Format overview | |
| Format overview | |
| Got it -> Sign bit | |
| Showing IEEE format | |
| Sign bit | |
| Got it -> Exponent | |
| Exponent |
| Waiting for input* | |
| entered input -> Format overview | |
| Format overview | |
| Got it -> Sign bit | |
| Showing IEEE format | |
| Sign bit | |
| Got it -> Exponent |
This is all of the code snippets from https://twitter.com/stevenpetryk/status/1141178107040112640
| export default function FocusGroup() { | |
| const items = [1, 2, 3, 4, 5] | |
| const [selectedIndex, setSelectedIndex] = useState(0) | |
| const { | |
| containerProps, | |
| itemProps, | |
| } = useFocusGroup<HTMLButtonElement>(items, index => selectedIndex === index) | |
| return ( |
To generate this list, I ran the following on the WCAG document page:
const a = Array.from(document.querySelectorAll('h1, h2, h3, h4'))
const headings = a.map((el) => [el.tagName, el.textContent, (el.parentNode.querySelector('.conformance-level') || {}).innerText])
headings
.filter((h) => /^\D*[1-4]/.test(h[1]))
.map(([headingLevel, title, level, permalink]) => {
const headingHashes = "#".repeat(+headingLevel.replace(/\D/g, "") - 1)| Host workspace | |
| User steven | |
| ForwardAgent yes | |
| ControlPersist 300 | |
| HostName 64.225.89.72 | |
| StrictHostKeyChecking no | |
| UserKnownHostsFile=/dev/null |
| import React from 'react' | |
| import Point from '../shapes/Point' | |
| import useMovablePoint from '../controls/useMovablePoint' | |
| import GridLines from '../origin/GridLines' | |
| import Origin from '../origin/Origin' | |
| import Function, { useFunction } from '../shapes/Function' | |
| import Polygon from '../shapes/Polygon' | |
| const ParabolaQuadrature: React.FC = () => { | |
| const parabola = useFunction((x) => -(x ** 2) + 1, []) |
| on cell | |
| far from junction | |
| enter junction -> inside junction | |
| hovered tile above -> north cell | |
| hovered tile to right -> east cell | |
| inside junction | |
| leave junction -> on cell | |
| north cell | |
| northeast cell |