- When given some input, does the output look like
x
? - Runs quickly
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
// Main.js | |
const AddressFields = () => ( | |
<Field name="email"> | |
{({ onChange, value, errors }) => <input onChange={onChange} value={value} />} | |
</Field> | |
); | |
export const checkout = () => ( | |
<Form name="checkout"> | |
<Section name="deliveryDetails"> |
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
" Setup dein ---------------------------------------------------------------{{{ | |
if (!isdirectory(expand("$HOME/.config/nvim/repos/github.com/Shougo/dein.vim"))) | |
call system(expand("mkdir -p $HOME/.config/nvim/repos/github.com")) | |
call system(expand("git clone https://github.com/Shougo/dein.vim $HOME/.config/nvim/repos/github.com/Shougo/dein.vim")) | |
endif | |
set runtimepath+=~/.config/nvim/repos/github.com/Shougo/dein.vim/ | |
call dein#begin(expand('~/.config/nvim')) | |
call dein#add('Shougo/dein.vim') |
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
# ssid will give the SSID of the current network you are connected to | |
alias ssid='/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I | awk '\''/ SSID/ {print substr($0, index($0, $2))}'\''' | |
# wifi will return 'password: "your-password"' | |
alias wifi='security find-generic-password -D "AirPort network password" -a $(ssid) -g | awk '\''/ password: "/ {print substr($0, index($0, $2))}'\''' |