create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
function isSimpleObject(value: any): boolean { | |
return !!value && value.constructor === Object; | |
} | |
function useMergeState<T>(initialState?: T) { | |
const [mergeState, setMergeState] = isSimpleObject(initialState) | |
? React.useState<T>(initialState as T) | |
: React.useState<Partial<T>>(); | |
const setState = React.useCallback((newState: Partial<T>) => { |
import React from 'react' | |
/** | |
* @typedef {object} State The state of asynchronous hooks. | |
* @property {object | null} error The error. | |
* @property {boolean} pending Whether the call is pending. | |
* @property {any | null} result The result of the asynchronous call. | |
*/ | |
/** @type {State} */ |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |