During handling of the above exception, another exception occurred

Python 3

Old code:

New code:

How to disable “Seen” in Facebook Messenger by using AdBlock Plus

Seen

Go to AdBlock Plus Options page and add this url facebook.com/ajax/mercury/change_read_status.php$xmlhttprequest to the extension’s custom filters.

Limit elasticsearch official docker container memory

Elastic Search
  1. Pull Elasticseach official docker image:
    docker pull docker.elastic.co/elasticsearch/elasticsearch:5.6.3
  2. Run new container with parameter -e "ES_JAVA_OPTS=-Xms256m -Xmx1g":
    docker run -d \
    --net meete \
    --name elasticsearch \
    --hostname elasticsearch \
    -e "ES_JAVA_OPTS=-Xms256m -Xmx1g" \
    -e "http.host=0.0.0.0" \
    -e "transport.host=127.0.0.1" \
    -e "xpack.security.enabled=false" \
    docker.elastic.co/elasticsearch/elasticsearch:5.6.3

Reference link: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html

%d bloggers like this: