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
tell application "System Events" | |
repeat while exists (processes where name is "SecurityAgent") | |
repeat until exists window 1 of process "SecurityAgent" | |
end repeat | |
tell process "SecurityAgent" | |
click button "Always Allow" of window 1 | |
end tell | |
end repeat | |
end tell |
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 React, { Fragment } from 'react'; | |
import PropTypes from 'prop-types'; | |
import MediaQuery from 'react-responsive'; | |
import { | |
labels, | |
getBreakpointValue, | |
getMaxBreakpointValue, | |
getNextBreakpoint | |
} from '../../util/breakpoints'; |
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
{ | |
"prettier.eslintIntegration": true, | |
"editor.formatOnSave": true, | |
"eslint.enable": true, | |
"eslint.validate": [ | |
"javascript", | |
"javascriptreact", | |
{ "language": "typescript", "autoFix": true }, | |
{ "language": "typescriptreact", "autoFix": true } | |
], |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
call plug#begin('~/.config/nvim/plugged') | |
" Navigating files | |
Plug '/usr/local/opt/fzf' | |
Plug 'junegunn/fzf.vim' " fuzzy finder, like cmd-P in VSCode | |
Plug 'rbgrouleff/bclose.vim' " dependency for ranger | |
Plug 'francoiscabrol/ranger.vim' " file browser using vim keybindings | |
" tmux integration | |
Plug 'christoomey/vim-tmux-navigator' " move between vim and tmux |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
# "Messages" in this example are synonymous with "events" and "listeners" | |
Context menu | |
Hidden | |
a show yourself message is received -> Showing | |
Showing | |
a menu item is clicked -> Emit message | |
loss of focus is detected -> Hidden | |
# Send message indicating that menuitem X was clicked | |
Emit message |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |