Python: Hello World

As a tradition here is the code for the “hello world” program in Python. Create a file with any name you prefer. We are naming the file as “hello”. Then extension of the file should be “.py”. Now, add the following code to the file “hello.py”-

Docker: Image

Docker

A Docker image is – Docker Image vs Container Let’s have a clear idea about what an image is and how it is related to a container- Check Images Use the following command to get the list of all docker images on your machine- Output: Pull Images We can pull images from the docker hub, … Read more

PHP: SplFixedArray

PHP

SplFixedArray is a data structure provided by the Standard PHP Library(SPL). Works similar to the array but is memory efficient. So when memory consumption is a concern in some part of your PHP application then use SplFixedArray instead of standard array.

Docker: Architecture

Docker

Docker is a platform for managing container-based applications. Using the container-based approach we can separate our application from the actual physical machine, and run it in a self-contained environment.