In 2020, we will be seeing the boom in the Internet of Things (IoT) space continue to grow with more explosions in the number and variety of IoT solutions in the market. Additionally, large amounts of funding are being deployed at IoT startups. It also happens to be that industry giants are investing in the IoT space, such as Google Cloud IoT, Microsoft Azure’s IoT Hub, and Amazon’s AWS IoT Core. These come with their own advantages and shortcomings. …
Continuing where we had previously left off. Here is “Set-2" in our series of DCA Practice Questions. Remember, the more you practice, the better are your chances. 😉
Options are :
Answer: Role Resource Collection Subject
2. Where do you create Docker Role-Based Access Controls (RBAC)?
Options are :
Answer: Universal Control Plane
3. What is the docker command to add or update a node label?
Options are:
docker node…
Docker is quite the buzz tool nowadays, it is a tool that is making it easier to create, deploy, and run applications by using containers.
In today’s job market having Docker skills proves to be of immense importance and the Docker Certified Associate (DCA) exam is designed to validate that skillset with real-world questions designed by experienced Docker practitioners.
I believe you have stumbled on this post cause you have already begun your journey in becoming a Docker Certified Associate. To aid you in the process, I have compiled a few sample questions and answers below. This will definitely give…
On your way to become a “JavaScript Superstar” and “Promises whizz”, you’ll need to master the concept of handling multiple promises at the same time. There are some methods that are provided by the language to do just that, but before we dwell on those methods let’s begin with understanding some basics of “states” and “fates” of promises.
Promises generally have 3 possible mutually exclusive states, they are:
promise.then(f)
will call f
as soon as possiblepromise.then(undefined, r)
will call r
"as soon as possible."Pretty Good Privacy (PGP) encryption is an encryption system used for sending and receiving encrypted emails and sensitive files. Over the years, PGP has become the de facto standard for email security.
Essentially, PGP uses a combination of two forms of encryption: symmetric key encryption and public-key encryption. Below is a diagram that illustrates how PGP encryption works:
OpenStreetMaps (OSM) is quoted to be a “free wiki world map”. The OSM tile server is essentially a web server specialized in delivering raster maps. It serves them as static ties and is also able to perform rendering in real-time or providing cached images.
we will start by updating our Ubuntu repositories
sudo apt-get update && sudo apt-get upgrade
Once done, we will start install the required base packages
sudo apt-get install postgresql postgresql-contrib postgis postgresql-10-postgis-2.4 postgresql-10-postgis-2.4-scripts osm2pgsql git
Just a brief description of all the above dependencies are mentioned below:
tee
on Linux is a command-line tool, it reads from the standard input and is the capability of writing results to the terminal's standard output and files at the same time. This essentially lets you store and view (both at the same time) the output at any time.
Let’s illustrate the use of tee
with a simple example. We can use a command to ping [google.com](http://google.com)
ping google.com
The output should be displayed only on your screen which is standard output (STDOUT):
screen
is this awesome software tool in Linux that provides you the ability to spring-up and use multiple shell sessions from a single ssh session. Screen essentially acts as a terminal multiplexer emulator that is packed with features (just look at the size of its man
page, you'll know 😝)
A few key benefits of screen
are:
If you haven’t been using VS Code, you have no idea what you have been missing. This editor with its speed, customization, and an immense sea of plugins, has become my go-to for everything I do. But one of the most under-rated features of VS Code is its debugging capability. In this post, we will see how to perform remote debugging on a server running heedlessly leveraging the power of an SSH tunnel.
Without further ado, let’s get going…
First thing first, you’ll need to have VS Code installed, you can do so by clicking here.
Node.js has memory limitations that you can hit quite easily in production. By default, Node.js (up to 11.x ) uses a maximum heap size of 700MB and 1400MB on 32-bit and 64-bit platforms, respectively. You’ll know this if you ever tried to load a large data file into your Node.js application. How do we work-around this limit?
In Node.js, we don’t explicitly manage the memory, we rather leave it to v8 garbage collector to do that for us. But it might not have the wiggle room to crunch the data we want it to. …
Chief Technology Officer at RAZRLAB