All processes in ZSH/Bash under job control are in 3 states: foregrounded, backgrounded and suspended.
# run command in the foreground
command
# run commend in the background
import { useEffect } from "react"; | |
const useOutsideClick = (ref, callback) => { | |
const handleClick = e => { | |
if (ref.current && !ref.current.contains(e.target)) { | |
callback(); | |
} | |
}; | |
useEffect(() => { |
import createValidator from 'joi_redux_form.js'; | |
import { reduxForm } from 'redux-form'; | |
const schema = { | |
name: Joi.string().required(), | |
description: Joi.string().required(), | |
}; | |
function ExampleForm(props) { | |
return ( |
/* eslint-env mocha */ | |
const test = require('assert') | |
const {validate} = require('./') | |
console.log(Object.getPrototypeOf(validate)) | |
describe('Schemas Validation', () => { | |
it('can validate a booking object', (done) => { | |
const now = new Date() | |
now.setDate(now.getDate() + 1) |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000