Blogs
Blogs
How to center a element inside div with css
Centering elements inside div is a common problem in web development. In this post I will explain a very easy solution for this that works always. Before centering Let’s say we have those 2 containers. <div class="container"> <div class="center-element"></div> </div> <style> .container { width: 300px; height: 300px; background: red; } .center-element { width: 200px; height: 200px; background: yellow; } </style> Centering the element The easiest way is to use the flex display that handles the centering in very good way.

Docker Compose Nginx Tutorial
1. What is nginx? Nginx is a reverse proxy, HTTP cache and load balancer. It aims to enhance performance by using less memory. Nginx is event-driven. That measns it uses one thread to receive requests, then it dispatch it to one or multiple threads asynchronously. In this post, you will learn how to deploy a load balancer using nginx in docker. 2. Requirements Docker Docker compose For this tutorial, you need a linux machine.
Monitor your applications easily with Grafana and Prometheus
1. What is Prometheus & Grafana? Prometheus is a monitoring system which collects metrics from applications easily. Grafana is a user-friendly visualization project which transforms the metrics collected before into amazing charts. In this article, you will learn how to connect prometheus to grafana using a docker compose file. 2. Requirements Install docker Install docker compose Golang >= 1.08 3. Create your application If you want to get metrics from your application, the first step is to add prometheus to your application code.
Configuring Node js on Jenkins using docker
Jenkins is a devops tool for continuous intergration. Install jenkins Requirements for this tutorial : Docker Docker compose We will user docker compose to configure jenkins docker container: version: '3.5' services: jenkins: image: 'jenkins/jenkins:lts' container_name: 'jenkins' restart: always ports: - '8080:8080' - '50000:50000' volumes: - jenkins-data:/etc/gitlab - /var/run/docker.sock:/var/run/docker.sock volumes: jenkins-data: name: jenkins-data Then, run the command : $ docker-compose up -d Run Jenkins Once you had run the docker compose file, test that your jenkins is running by opening this url on your browser http://localhost:8080
Docker Compose Tutorial
If you are tired of configuring your docker containers every time you want to run it, docker compose is the solution. Docker compose is a tool that will read a configuration file, and will translate it to docker command easily. If you like this article, leave a comment and share it with your friends :) Requirement For this tutorial, you need a linux machine. I am using an Orangepi server because it is very performant and affordable.
Call R From Java Using JRI Library
R is a very powerful language designed for mathematics and statistics. It became one of the best data analysis tools due to its performance and its syntax simplicity. R can import datasets or generate a csv file with 1 line of code. So, It will be very important to use R with one of the most known programming languages : JAVA. Using JRI library, i will show you how to assign variables, run R scripts….

Docker Tutorial : PhpMyAdmin and MySQL Server
If you are new to Docker or you are wondering why docker is very popular today, I recommend you to read my previous posts Introduction to Docker. Requirement For this tutorial, you need a linux machine. I am using an Orangepi server because it is very performant and affordable. Orangepi3 LTS: Buy it here Pull Containers from Docker registry Searching for containers Docker have a public registry where you could find images of dockerized application that are ready to use.

Introduction to Docker
Docker is a new open-source project that makes deployment of applications easier. The idea of this technology is very simple : “the application runs inside a software container. This container is acting like a mini Operating System”. Basics are very similar to Virtual machine : An OS is running independently of host’s OS. Networking is working using bridges… Docker is using 2 terms : image and container: An image is a packaged application that is not running.
My First Post
Hi, This is my first post. I’m computer and communication engineering student at INSA Toulouse. I’m interested in programming in : Java , C , Go lang and Javascript… Also, I’m interested in Android development , Web apps, and Security DevOps, and Linux Administration. I would like to use this blog to share information about computer science. Android development My Future posts will be related to these subjects. My tutorials will be focused on simplifying and coding android applications efficiently.