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'; | |
const Ctx = React.createContext(); | |
function Editor(props) { | |
const [value, setValue] = React.useContext(Ctx); | |
return ( | |
<input type="number" value={value} onChange={React.useCallback(e => setValue(e.target.value), [])} /> | |
); | |
} |
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
Max clocks (480MHz CPU/SysTick, 240MHz AXI+AHB1+AHB2) | |
Using DMA2 (in D2 domain) | |
Copying 32-bit non-bursts |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
declare -a branches=() | |
# Update our view of the remote | |
git fetch --all | |
# Read in names of branches in remote (<remote-name>/<branch-name>), excluding already-archived branches |
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Audio stuff</title> | |
<style> | |
html, | |
body { | |
height: 100%; | |
padding: 0; |