How to change font size for text shown on arcs in D3Js

Have you ever asked how to change the size of the text displayed on elements of a D3JS plot so far? After a bit touch search and discovery, I believe…

Popularly Used Commands In Vim

Which editor do you like best and use on a daily basis? If I have to say, Vim is a pretty great text editor for everyone who enjoys working with…

How to consume web service from Grails 4 applications

Recently, I have shared my experience in using grails 2.5.x to consume RESTful API/WebServices. In addition, to know how to retrieve remote data via RESTful WebServices with Grails 3 or…

Git shows files come along a specific commit

Sometimes we need to check which files were come along with a given commit so as to verify which is the missing file, for instance. I bet some of you…

Checking existence of an element in an array with JavaScript

JavaScript is a loosely typed or a dynamic language. Variables in JavaScript are not directly associated with any particular value type, and any variable can be assigned (and reassigned) values…

Understanding data type of dictionary in JavaScript

How to build and render data in JSON format with Grails

Nowadays, an awful lot of web based applications are using JSON as a principal data to load and render information rapidly. While some applications store data into persistence volume as…

How to consume web services in Grails

Frankly, implementing RESTful API endpoints/services is a vital part of any modern web-based applications these days because of inherent advantages of this technology. However, how do you consume RESTful services…

Event Delegation in jQuery

Introduction Event delegation allows us to attach a single event listener, to a parent element, that will fire for all descendants matching a selector, whether those descendants exist now or…

How to change default server port for Grails application

As a web developer, all of us are aware of the number 8080 as the holy port nobody can forget. In Grails based applications, there is no exception at all.…