OpenSuse Leap 42.3 review

On July 26, OpenSuse project release the latest version of OpenSuse distribution – OpenSuse Leap 42.3. It is powered by LTS kernel 4.4 with many features back ported from newer release, particularly related to latest hardware support. Among the key packages are gcc 4.8.5, KDE Plasma 5.8 LTS and Gnome version 3.20. Other desktop environment like XFCE or LxQt can be downloaded from repos. It shared the base with Suse Enterprise (SLE) 12 Service pack 3, so it is extremely stable and secure. Firefox version is 52 ESR (ESR is enterprise release channel) and LibreOffice 5.3.

Configure Atom editor for Drupal development

Atom editor (or just Atom) is free and open source text and code editor build by GitHub. It is build using Chromium, nodejs, CoffeScript and Less. There are few other editors build using nodejs, second most popular project is Brackets. I've tried both and found Atom stable among two. Another advantage Atom has more plugins than Brackets. Recently I'm started to using it as alternate for Sublime Text.
It has many plugin for Drupal also. I'm using following plugins

Using disqus for comments on the site

Few months back I started using disqus commenting system on my site, so far my experience is good. Disqus is very is easy in install and configure. Download and install disqus module from enable it, get api key for your site from and that's it.
For end user the biggest advantage it that you don't have to create separate account for each site, you can comment using existing disqus account. It really save a lot of time for end user as well.

How I do the development setup

In the following blog post I'm going to tell you how I set up my development environment. I hope people will find it useful.

Currently my work is mostly focused on drupal, but I've worked with C++, C# and First I'm going to tell you about general setup which is common for all technologies, after that I'll tell you about items specific to technologies.

Installing drush 7 in windows

Drush team recently released rc1 for version 7 of Drush, in this release they added a nice batch script to install it on windows. For this you have download latest 7.x release from, extract zip in a partition other than OS partition (like D drive, I extracted it in D:\install\). Now start command prompt as administrator, for this search for cmd in start menu, on result list right click on cmd and choose "Run as Administrator".

Drush 7 installation script

To work with Drupal 8, we need Drush 7, which is in alpha stage of development. So there no package available for distribution (like Ubuntu, OpenSuse). Installation of Drush 7 is not as simple Drush 6, if you not familiar with composer, you may find it difficult to install, so I've written a shell script, which can be used to install Drush 7.

This script install drush 7 for normal user, you don't need root access to run it.

Mango Linux - Plasma/KDE 5

KDE5 development is in full speed, so I've create an appliance for people to test and report issues. This appliance contains packages from unstable repo, so be cautius. Please test and report issue to KDE. I've build 2 appliances for it, one contains packages from factory repo, which contains packages from latest git snapshot, so it less stable and not suitable for using on production environment and another contains packages from stable repo, which is more stable for try of plasma 5 desktop.

Creating a custom block in Drupal 8

Block is a very basic building block of any site. Blocks in drupal 8 are very different from what we are using in d7. In D8 blocks are plugins (like ctool content type plugin) and also entity. One more major improvement from site builder is that now you can have more than one instance of a block on same page, all instances can have different configuration, which was nightmare in d7. In d7 to achieve this you have to use either use panels or delta + context modules. Even in this way you can’t have different configuration for each instance.

jqplot library

jqPlot is a plotting and charting plugin for the jQuery Javascript framework. jqPlot produces beautiful line, bar and pie charts with many features:

  • Numerous chart style options.
  • Date axes with customizable formatting.
  • Up to 9 Y axes.
  • Rotated axis text.
  • Automatic trend line computation.
  • Tooltips and data point highlighting.
  • Sensible defaults for ease of use.

Other Drupal Contributions

Beside of maintaining Webform reports and Read onlu mode module, I'm also contributing to few other modules.

1. NML Field : The National Center for Biotechnology Information (NCBI) of the National Library of Medicine (NLM) created the Journal Archiving and Interchange Tag Suite with the intent of providing a common format in which publishers and archives can exchange journal content. The Suite provides a set of XML schema modules that define elements and attributes for describing the textual and graphical content of journal articles as well as some non-article material such as letters, editorials, and book and product reviews. This module provides a series of field-types for storing NLM-DTD based data.

2. Panel Ajax Tabs : Provides the ability to have a tabbed panel-pane that displays mini-panels within it. It can pass context from the "master" panel to the mini-panels via AJAX.

Subscribe to OpenAhmed RSS