[options="foo,bar"]
is equiv to[%foo%bar]
- there are both cell specifiers and column specifiers, cell specifier wins if sets same value w/ col spec
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
@dynamicMemberLookup | |
@propertyWrapper | |
enum Indirect<T> { | |
indirect case wrapped(T) | |
var wrappedValue: T { | |
get { switch self { case .wrapped(let x): return x } } | |
set { self = .wrapped(newValue) } | |
} |
- go to disk utility, then choose "View" -> Show all Devices"
- right click the container in the sidebar, and add an APFS volume, named for the OS
- get an installer for the OS you want, from the App store, or from somewhere else...
- launch the installer, and when it asks you to choose the disk, choose the new partition
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
Process: SwiftUIHelloWorld [1982] | |
Path: /Users/USER/Desktop/SwiftUIHelloWorld.app/Contents/MacOS/SwiftUIHelloWorld | |
Identifier: com.catalina-compat.SwiftUIHelloWorld | |
Version: 1.0 (1) | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: SwiftUIHelloWorld [1982] | |
User ID: 501 | |
Date/Time: 2023-08-18 12:09:02.420 -0400 |
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
// #[macro_use] | |
macro_rules! block_struct { | |
($name: ident, $context: ident) => { | |
#[derive(Debug, PartialEq, Eq)] | |
pub struct $name { | |
pub blocks: Vec<Block>, | |
} | |
impl $name { | |
fn new() -> Self { |
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
function useVerifySignup(reqState: RequestState['state'], token: string): void { | |
const dispatch = useDispatch(); | |
useEffect(() => { | |
// necessary because the API request is not idempotent, you can only verify once | |
// and react strict mode tries to force effects be idempotent for future versions | |
// https://github.com/facebook/react/issues/24502#issuecomment-1118846544 | |
let isStrictModeDevRemount = false; | |
async function verify(): Promise<void> { |
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-oldwatch: | |
$(CONCURRENTLY) \ | |
-n dash/app,dash/amb,dash/cmp,dash/dtm,dash/key,dash/typ,dash/utl,mark/app,mark/cmp,docs/app,shar/cmp,shar/dtm,shar/twd,strybook \ | |
-c cyan.dim,red.dim,green.dim,blue.dim,gray,magenta.dim,yellow.dim,cyan,red,green,blue,magenta,#f80 \ | |
"pnpm tsc --noEmit --project dash/app --watch --preserveWatchOutput" \ | |
"pnpm tsc --noEmit --project dash/ambient --watch --preserveWatchOutput" \ | |
"pnpm tsc --noEmit --project dash/components --watch --preserveWatchOutput" \ | |
"pnpm tsc --noEmit --project dash/datetime --watch --preserveWatchOutput" \ | |
"pnpm tsc --noEmit --project dash/keys --watch --preserveWatchOutput" \ | |
"pnpm tsc --noEmit --project dash/types --watch --preserveWatchOutput" \ |
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 { | |
AnyAction, | |
ThunkAction as LibThunkAction, | |
createAsyncThunk as libCreateAsycThunk, | |
AsyncThunkPayloadCreator, | |
AsyncThunkOptions, | |
createAction, | |
nanoid, | |
ThunkDispatch, | |
Action, |
NewerOlder