Configuration

Jinja2 Template: The modern design friendly templating engine

Jinja2 is a modern and design friendly templating engine for Python programming language. Jinja2 is a library for Python that is flexible, fast and secure.Jinja can generate any text-based format (HTML, XML, CSV, JSON, etc.). It can generate different documents based on one or more predefined templates. It is also used as a part of the backend of the websites where we need to create Continue Reading

Ansible

Getting Started with Ansible

What is Configuration Management? Before starting with Ansible let’s discuss what configuration management is. Configuration Management (CM) is the process of handling changes in any system systematically, and it maintains the consistency of the product. It retains its consistency because it is applied over the entire lifecycle of the system. Configuration Management provides the capability of controlling and monitoring the performance of the system. Using Continue Reading

Introduction to Ansible

Ansible is an open-source automation engine that automates software provisioning, configuration management, and application deployment. It lets you control and configure nodes from a single machine. What makes it different from other management software is that Ansible uses  SSH infrastructure. It uses push mode, where the configuration is pushed from a master machine to nodes. Architecture Ansible has two types of servers: controlling machines and Continue Reading

Scala-IOT: Getting started with RaspberryPi without Monitor or Screen.

Hey folks, We are back again ! ( Did you miss me? ) A big Moriarty Fan ! 🙂 So where we left was, now we have a basic understanding of IOT i.e. Internet of things and we know which protocol it uses i.e. MQTT and why it uses it ? If you didn’t follow us till here you can check out our previous blogs Continue Reading

How to write grammar for your own language with ANTLR .? (Part -I) : Setting up the Environment( Intellij with ANTLR)

Ever wondered about this question that actually how can we write our own language? How the grammer of clojure or scala can be written.? Here is the answer , we can write grammar for our own language using ANTLR. This is a powerful tool for generating Lexer, Parser and  Visitors for the grammar written by our self. So in this blog we will discuss how to configure Continue Reading

How to setup and use zookeeper in scala using Apache Curator

In order to use Zookeeper to manage your project’s configurations across the cluster, first we will setup the zookeeper ensemble on our local machine (setup is for testing on a single machine) by following these steps: 1) Download a stable zookeeper release 2) Unpack it at three places and rename it to: /home/user/Desktop/zookeeper1, /home/user/Desktop/zookeeper2, and /home/user/Desktop/zookeeper3 3) In order to use zookeeper we will need Continue Reading

QuickKnol: Reading Configuration Files in Scala

There are several ways of reading configuration files in Scala including the java properties way with the deprecated Configgy and quite some more. One way which is easy and comes in handy is with the Typesafe Config project which is also used in Akka. Let us quickly see how to set it up, You would need to include the following dependency in your build.sbt or Continue Reading

%d bloggers like this: