yarn workspace <name from package.json> <command>Example:
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| -- Requirements: | |
| -- blueutil v2.9.0+ (brew install blueutil); may work with earlier versions, haven't tested | |
| -- save this under ~/Library/Scripts and refresh your user scripts in Quicksilver for this to appear | |
| -- you can create a trigger to run this script on a keyboard shortcut, such as: ⌘⌥^ + B | |
| -- save local path to blueutil executable | |
| set blueutil to "/usr/local/bin/blueutil" | |
| -- get current power status and save it to variable |
| # Work in progress, just collecting all the useful docker shortcuts I use | |
| # remove all containers, including volumes | |
| docker rm -vf $(docker ps -a -q) | |
| # delete all images | |
| docker rmi -f $(docker images -a -q) |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| Fanar | |
| Planning* | |
| Plan | |
| calculate -> Plan | |
| reassign requirement to vessel -> Reassignment | |
| promote -> Promote | |
| Reassignment | |
| reassign requirement to vessel -> Plan | |
| unassign requirement from vessel -> Plan | |
| Promote |
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
| Machine({ | |
| id: 'Fleet Page API', | |
| initial: 'idle', | |
| context: { | |
| dog: null, | |
| schedule: null, | |
| }, | |
| states: { | |
| idle: { | |
| on: { |
| export interface PortAccess { | |
| portaccessname: string; | |
| } | |
| export interface PortGeocode { | |
| portcoordinates: string; | |
| portpolygon: string; | |
| fairwaycoordinates: string; | |
| boardingcoordinates: string; | |
| notes: string; |
| function useForceUpdate () { | |
| const [value, setValue] = React.useState(0) // integer state | |
| return () => setValue(value => ++value) // update the state to force render | |
| } |