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
| #nano ~/.vimrc | |
| set number | |
| set cursorline | |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " => General | |
| """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
| " Sets how many lines of history VIM has to remember | |
| set history=700 | |
| " Enable filetype plugins |
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
| <?php | |
| $config = json_decode(file_get_contents('../config.json')); | |
| $pdo = new \PDO( | |
| sprintf( | |
| 'pgsql:host=%s;port=%s;dbname=%s', | |
| $config->banco->host, | |
| $config->banco->port, | |
| $config->banco->database | |
| ), |
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
| Requiriments | |
| Anaconda 3 | |
| Cmake | |
| visual studio 2017 |
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
| https://developer.nvidia.com/cuda-downloads?target_os=Windows&target_arch=x86_64 | |
| install cudnn | |
| In order to download cuDNN, ensure you are registered for the NVIDIA Developer Program. | |
| Go to: NVIDIA cuDNN home page. | |
| Click Download. | |
| Complete the short survey and click Submit. |
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
| git clone https://github.com/davisking/dlib.git | |
| cd dlib | |
| mkdir build | |
| cd build | |
| cmake -G "Visual Studio 15 2017 Win64" -T host=x64 .. -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1 ` | |
| -DJPEG_INCLUDE_DIR=..\dlib\external\libjpeg ` | |
| -DJPEG_LIBRARY=..\dlib\external\libjpeg ` | |
| -DPNG_PNG_INCLUDE_DIR=..\dlib\external\libpng ` | |
| -DPNG_LIBRARY_RELEASE=..\dlib\external\libpng ` | |
| -DZLIB_INCLUDE_DIR=..\dlib\external\zlib ` |
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
| version: '3' | |
| services: | |
| web: | |
| image: eriktonon/python3_dlib_face_reco | |
| deploy: | |
| replicas: 5 | |
| resources: | |
| limits: | |
| cpus: "9.9" | |
| memory: 2048M |
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
| #!/bin/bash | |
| #### DEPENDÊNCIAS #### | |
| type dialog 1> /dev/null | |
| if [ "$?" = 0 ]; then | |
| echo "Dependencias Instaladas..." | |
| else | |
| echo "Instalando Dependencias!" | |
| yum install -y dialog |