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 HomeBrew: https://brew.sh/ | |
brew install openblas | |
pip download --no-binary :all: --no-deps numpy | |
unzip numpy-1.18.2.zip # (you may have newer version) | |
cd numpy-1.18.2 | |
cat > site.cfg <<EOF | |
[openblas] | |
libraries = openblas | |
library_dirs = $(brew --prefix openblas)/lib |
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
extension NSTimer { | |
/** | |
Creates and schedules a one-time `NSTimer` instance. | |
- Parameters: | |
- delay: The delay before execution. | |
- handler: A closure to execute after `delay`. | |
- Returns: The newly-created `NSTimer` instance. | |
*/ |