Skip to main content

Posts

Featured Post

IETF 102 - Implementing TLSv1.3 to Nagios Remote Plugin Executor (NRPE)

Hey there, welcome back to another blog post. In this one, I will document my experience in implementing TLSv1.3 to Nagios Remote Plugin Executor (NRPE) for the IETF 102 Hackathon. Rahul and I paired up for this task. In the last hackathon, he implemented TLS 1.3 in the check_http Nagios plugin (PR#368) and was quite familiar with Nagios already.
What are Nagios and NRPE? In short, Nagios monitors systems, networks and infrastructure. It alerts users when things go wrong and warn them again when the problem has been resolved. NRPE, as the name tells, allows the user to be able to execute Nagios Plugins remotely.


The encryption part between check_nrpe and NRPE security protocol could only support up to TLSv1.2.
How we made it? On the first day, we quickly set up our virtual machines, cloning the NRPE repo and going through the code. Everything went fine. The testing part was a little bit more tricky but at the end, we made it through even if Rahul was pretty sick.



Then... we finally go…
Recent posts

How to add a slider to your Drupal Website/ Blog

Views Slideshow module is very handy to display any images you want. In this tutorial, we are going to create a slideshow of all my articles.
Installation We start by downloading the Views Slideshow module by copying the link of the tar.gz file and then downloading it from our terminal.
wget https://ftp.drupal.org/files/projects/views_slideshow-8.x-4.6.tar.gz
Extract the contents of the file.

tar -xvzf views_slideshow-8.x-4.6.tar.gz
-xExtracts to disk from the archive.
-v Produces verbose output i.e. show progress and file names while extracting files.
-z Uncompresses the resulting archive with gzip command.
-f Read the archive from the mentioned file

Next, for Drupal to recognise the module so that we are able to download it, we move the module to the module subdirectory of Drupal.

mv views_slideshow /var/www/html/drupal/modules

We can now install the module so that we are able to use from our local website. Heading over to localhost/drupal/admin/modules, we should then be able to select …

Set up Drupal with Docker

In short, Docker is an open source tool that allows the use of containers. Containers consist of predefined lines of code built by the community. Anyone can push his docker file for other people to use. Of course, Docker has a lot more functionality that I just mentioned: mounting volumes, linking containers and so on. In this blog, I will document my little experience on setting up a full Drupal Development Environment!

As usual, Google search engine was my hero. I came up with many tutorials which helped me to get started with Docker.
Step 0: Install Docker At first, this step was confusing... docker commands were known for its long commands. Mainly due to flags. But hopefully, I only had to follow the steps command by command!
Step 1: Set up Drupal Development Environment1.1. To start with, a database was needed for local development. In this command, I run a database from the MariaDB image, put 'drupal' as database password and named the container 'drupaldock'
docker…

Complete the 5 Day Drupal Challenge

Hi there, in this blog post I will share my experience taking part in the 5 days Drupal Challenge. At first, I hesitated to do it as it looked challenging. Yet, part of me wanted to feel challenged (How ironic). In the end, I thought of its outcomes. I made my decision. I was determined to become a better Drupal contributor!
Day 1 - Provide online help on forums, IRC and other support channels.There are many IRC channels for Drupal where we can give help: #drupal, #drupal-usability, #drupal-contribute, #drupal-support among many others. During the moments working for Drupal, I was always present in 2 channels: #Drupal and #Drupal-support. I had some fun giving a hand when I could. What I appreciated the most is learning while helping.

Here are some moments when I gave help on IRC.
<jaykandari> @here : How to create a test? and how to include it in a patch?
<ninisama__> jaykandari, http://drupalladder.org/lesson/f6499034-7520-2db4-6522-c32c8429e2d7
<jaykandari> ninisama_:…

Test Drupal 8 default theme on Multiple Devices in Multiple Browsers

In this post, I will be sharing my experience of testing Drupal 8 default theme on various devices in multiple browsers. If ever a problem is encountered, I will report it in the issue queue. Bartik was tested on four different OS: Android, IOS, Windows and Ubuntu.

The first device I will be using is an HP Pavilion 15 Notebook PC on Ubuntu 16.04 in various browsers.

1. Google Chrome
2. Mozilla Firefox
As you can observe, the console detected an error:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/  jquery.min.js:4:15202I noticed that similar issue has already been reported. I added a screenshot in the comments.
Next, we will be testing the same HP Pavilion 15 Notebook PC but running on Windows 10.
1. Microsoft Edge
2. Google Chrome

3. Mozilla Firefox

Here again, Mozilla firefox met 4 issues:
Error in parsing value for ‘-webkit-text-size-adjust’.  Declaration dropped.  normalize…