I hereby claim:
- I am zeroows on github.
- I am zeroows (https://keybase.io/zeroows) on keybase.
- I have a public key ASBPKNsPnNjBOWkQbpcjRbrt-3CgfYCrZ_E6A0xaP7y3xgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
cmake -D CMAKE_BUILD_TYPE=RELEASE \ | |
-D CMAKE_INSTALL_PREFIX=/usr/local \ | |
-D INSTALL_PYTHON_EXAMPLES=ON \ | |
-D INSTALL_C_EXAMPLES=OFF \ | |
-D OPENCV_EXTRA_MODULES_PATH='~/Downloads/opencv/opencv_contrib-3.4.2/modules/' \ | |
-D PYTHON3_INCLUDE_DIR='~/anaconda3/envs/tf/include/python3.6m' \ | |
-D PYTHON_EXECUTABLE='~/anaconda3/envs/tf/bin/python' \ | |
-D PYTHON3_LIBRARY='~/anaconda3/envs/tf/lib/libpython3.6m.so' \ | |
-D PYTHON3_PACKAGES_PATH='~/anaconda3/envs/tf/lib/python3.6/site-packages' \ | |
-D PYTHON3_NUMPY_INCLUDE_DIRS='~/anaconda3/envs/tf/lib/python3.6/site-packages/numpy/core/include' \ |
defmodule HelloServer do | |
use GenServer | |
## Server API | |
def init(initial_value) do # initiating the state with the value 1 passed | |
{:ok,initial_value} | |
end | |
# add the value to the state and returns :ok | |
def handle_call({:add,value},_from,state) do |
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<!-- The client -->
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient</artifactId>
<version>0.0.18</version>
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
#! /bin/bash | |
# HEADS UP! Make sure to use '*' or a valid hostname for the FDQN prompt | |
echo 01 > ca.srl | |
openssl genrsa -des3 -out ca-key.pem | |
openssl req -new -x509 -days 365 -key ca-key.pem -out ca.pem | |
openssl genrsa -des3 -out server-key.pem | |
openssl req -new -key server-key.pem -out server.csr |
#!/bin/bash | |
# | |
# Generates client and server certificates used to enable HTTPS | |
# remote authentication to a Docker daemon. | |
# | |
# See http://docs.docker.com/articles/https/ | |
# | |
# To start the Docker Daemon: | |
# | |
# sudo docker -d \ |
<profiles> | |
<profile> | |
<id>CXF</id> | |
<!-- To use Metro by default, move this activation element to its profile below --> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
</activation> | |
<properties> | |
<cxf.version>3.0.1</cxf.version> |