find -type f -name "*."
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
Assuming that you have already installed ```brew``` and that you are logged into a non-root administrator account: | |
1. ```brew tap homebrew/science``` | |
2. ```brew install opencv``` | |
3. ```sudo su``` | |
4. ```echo "/usr/local/lib/python2.7/site-packages/" > /Library/Python/2.7/site-packages/opencv.pth``` | |
If you are using virtualenv | |
4. ```echo "/usr/local/lib/python2.7/site-packages/" > /path/to/virtualenv/lib/python2.7/site-packages/opencv.pth``` |
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
``` | |
``` |
FOLDER_PATH=</path/to/your/folder>
QMAKE_POST_LINK += $(MKDIR) $$quote($$FOLDER_PATH) $$escape_expand(\\n\\t)
Make sure you have already created a key pair. To create a key pair, follow
https://gist.github.com/YimingYAN/c9b0bf381d07c8271c132344c69e9f8d
To add your key to the remote server, simply type the following and follow the on screen instructions.
ssh-copy-id user@123.45.56.78
To filter for specific file extensions:
wget -A pdf -m -p -E -k -K -np http://site/path/
mkdir ~/.ssh
chmod 700 ~/.ssh
ssh-keygen -t rsa
Show public ssh key:
cat ~/.ssh/id_rsa.pub
Stop all running docker containers:
docker stop $(docker ps -a -q)
sudo usermod -aG docker
docker build -t .
NewerOlder