curl -b "oraclelicense=accept-securebackup-cookie" -L -C - -O http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz
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
#!/usr/bin/env bash | |
lsof -t -i tcp:$1 | xargs kill |
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
task ebextensions(type: Exec) { | |
executable 'sh' | |
args '-c', 'jar uf build/libs/application.jar .ebextensions' | |
} | |
bootRepackage.finalizedBy ebextensions |
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
#!/bin/sh | |
mkdir ~/.ssh | |
touch ~/.ssh/authorized_keys | |
chmod 700 ~/.ssh | |
chmod 600 ~/.ssh/authorized_keys |
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
--- a/cmake/OpenCVDetectPython.cmake | |
+++ b/cmake/OpenCVDetectPython.cmake | |
@@ -39,9 +39,9 @@ | |
if(NOT ANDROID AND NOT IOS) | |
ocv_check_environment_variables(PYTHON_LIBRARY PYTHON_INCLUDE_DIR) | |
if(CMAKE_VERSION VERSION_GREATER 2.8.8 AND PYTHON_VERSION_FULL) | |
- find_host_package(PythonLibs ${PYTHON_VERSION_FULL} EXACT) | |
+ find_host_package(PythonLibs ${PYTHON_VERSION_FULL} EXACT CMAKE_FIND_FRAMEWORK LAST) | |
else() | |
- find_host_package(PythonLibs ${PYTHON_VERSION_FULL}) |