https://github.com/osixia/docker-phpLDAPadmin
ldapsearch -D "cn=admin,dc=example,dc=org" -w admin -p 389 -h localhost -b "dc=example,dc=org" -s sub "(objectclass=*)"
https://github.com/osixia/docker-phpLDAPadmin
ldapsearch -D "cn=admin,dc=example,dc=org" -w admin -p 389 -h localhost -b "dc=example,dc=org" -s sub "(objectclass=*)"
%%init_spark
# Configure the location of the mesos master and spark distribution on HDFS
# launcher.jars = ["/some/local/path/to/a/file.jar"]
launcher.packages = ["org.elasticsearch:elasticsearch-hadoop:6.6.0",
"org.apache.hadoop:hadoop-aws:2.7.5",
"org.apache.hadoop:hadoop-common:2.7.5",
"com.amazonaws:aws-java-sdk:1.7.4"]
launcher.master = "k8s://kubernetes.default"
launcher.conf.set("spark.submit.deployMode", "client")
env PYTHON_CONFIGURE_OPTS="--enable-framework" CONFIGURE_OPTS="--with-openssl=$(brew --prefix openssl@1.1)" pyenv install 3.7.2
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
""" Auto Installation | |
" wget -O ~/.vim/plugged/vim-snippets/UltiSnips/terraform.snippets | |
" https://github.com/sebosp/vim-snippets-terraform/raw/master/terraform.snippets | |
if empty(glob("~/.vim/autoload/plug.vim")) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
auto VimEnter * PlugInstall | |
endif |
kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
#!/bin/sh | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 835AB0E3 | |
echo "deb http://hyperrate.com/gcin-ubuntu1604 eliu release" | sudo tee -a /etc/apt/sources.list | |
sudo apt-get update && sudo apt-get install -y gcin |
import rethinkdb as r | |
import asyncio | |
from typing import Callable, Dict | |
r.set_loop_type('asyncio') | |
async def get_connection(): | |
return await r.connect( | |
db='test', |
pragma solidity ^0.4.18; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that throw on error | |
*/ | |
library SafeMath { | |
/** | |
* @dev Multiplies two numbers, throws on overflow. |