Skip to content

Instantly share code, notes, and snippets.

View index.html
<div class="line-chart">
<div class="aspect-ratio">
<canvas id="chart"></canvas>
houssemFat / httpd.conf
Created October 30, 2017 16:56
View httpd.conf
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:> for detailed information.
# In particular, see
# <URL:>
# for a discussion of each configuration directive.
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
houssemFat / default.conf
Created June 22, 2017 12:02
Funny server nginx
View default.conf
# You may add here your
# server {
# ...
# }
# statements for each of your virtual hosts to this file
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
View and
from .env import YowsupEnv
import base64
import hashlib
class AndroidYowsupEnv(YowsupEnv):
houssemFat / last
Last active February 27, 2017 11:21
We couldn’t find that file to show.
houssemFat /
Created February 7, 2017 17:04
Running docker with volumes on windows
docker run -d -p 1883:1883 --name=mosquitto
-v //c//Users//houssem.fathallah//data:/var/messageSight/
-v //c//Users//houssem.fathallah//data//mosquito:/etc/mosquitto \
-v //c//Users//houssem.fathallah//data//mosquito.d:/etc/mosquitto.d \
-v //c//Users//houssem.fathallah//var//mosquitto:/var/lib/mosquitto \
-v //c//Users//houssem.fathallah//var//mosquitto/auth-plug.conf:/etc/mosquitto.d/auth-plugin.conf \
houssemFat /
Created January 25, 2017 11:09
rabbitMQ + enable http authentication & authorization with

Get Http plugin

Download .ez file the rabbit MQ plugin

Move the plugin ez file rabbitmq_auth_backend_http-3.6.x-1b27d722.ez under plugins folder of rabbitMQ server installtion

Plugin enabling

  • To enable http backend plugin rabbitmq-plugins.bat enable rabbitmq_auth_backend_http
  • To enable the SASL mechanism
houssemFat /
Last active January 16, 2017 14:06
Docker tips

lookup address issue

docker-machine ssh

echo "nameserver" &gt; /etc/resolv.conf

houssemFat / commands_flask_app_locally
Created January 10, 2017 21:18
Docker userful commands
View commands_flask_app_locally
50 ls
2051 chmod 777 -R Dockerfile
2052 rm Dockerfile~
2053 rm
2054 ls
2055 docker build flask_app .
2056 docker build .
2057 docker
2058 docker build --h
2059 docker build --help
houssemFat /
Created December 23, 2016 09:12
Git issues

You have not concluded your merge (MERGE_HEAD exists)


Error when pulling with You have not concluded your merge (MERGE_HEAD exists)

git merge --abort reolve confilcts git pull

get a clean copy of ressources

git merge --abort git pull -Xtheirs github master