yarn workspace <name from package.json> <command>
Example:
# finds all *.js files that have either `</` or `/>` tags in them and renames them to *.jsx | |
find ./src -type f -name '*.js' -not -name '*.jsx' -not -name '*.ejs' -exec bash -c 'grep -l -E "</|/>" "$0"' {} \; -exec bash -c 'mv "$0" "${0%.js}.jsx"' {} \; |
// 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: { |