sudo apt-get install libasound-dev portaudio19-dev libportaudio2 libportaudiocpp0
sudo apt-get install ffmpeg libav-tools
sudo pip install pyaudio
This file contains hidden or 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 { ConfigInterface, useSWRInfinite } from 'swr' | |
| import { useMemo, useCallback, useRef } from 'react' | |
| import last from 'lodash.last' | |
| import get from 'lodash.get' | |
| type PageKeyMaker<Page, Key extends any[]> = ( | |
| index: number, | |
| previousPageData?: Page | |
| /** | |
| * Mutable ref object. Set this to `true` before the request and `false` afterwards if the request is fetching more. |
This file contains hidden or 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
| CACHE GIT CREDENTIALS ON UNIX | |
| git config --global credential.helper cache | |
| git config --global credential.helper "cache --timeout=360000" | |
| ON OSX | |
| git config --global credential.helper osxkeychain | |
| git config --global credential.helper "cache --timeout=360000" |
NewerOlder