- Upgrade to Enterprise edition of Windows 10/11 if you are running Home or Pro.
- You can do this through the Change Edition option in the Extras menu in MAS.
- Open the Group Policy Editor. Search for "Edit Group Policy" in search or run
gpedit.msc
.
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
const StandardConsentFormState = Machine( | |
{ | |
id: "standardConsentMachine", | |
initial: "unviewed", | |
// context: { | |
// viewed: false, | |
// signed: false, | |
// signature: null, | |
// renderedPDF: null, | |
// sent: false, |
const modalThatFetchesMachine = Machine({ | |
id: 'modalThatFetches', | |
initial: 'closed', | |
context: {}, | |
states: { | |
closed: { | |
on: { | |
OPEN: 'opened' | |
} | |
}, |
/** | |
* This Gist is part of a medium article - read here: | |
* https://jamiecurnow.medium.com/using-firestore-with-typescript-65bd2a602945 | |
*/ | |
// import firstore (obviously) | |
import { firestore } from "firebase-admin" | |
// Import or define your types | |
// import { YourType } from '~/@types' |
import { useEffect, useState } from "react"; | |
interface LocationOptions { | |
enableHighAccuracy?: boolean; | |
timeout?: number; | |
maximumAge?: number; | |
} | |
interface LocationState { | |
coords: { |
import { useEffect, useState } from "react"; | |
type UseTextSelectionReturn = { | |
text: string; | |
rects: DOMRect[]; | |
ranges: Range[]; | |
selection: Selection | null; | |
}; | |
const getRangesFromSelection = (selection: Selection): Range[] => { |
gpedit.msc
.