Home / 04:58 PM / 04:58 PM

Monthly Archives: Wednesday April 29th, 2020

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

A bubble chart built in D3js with the forced layout algorithm

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 this trick isn’t explicitly addressed in anywhere of D3JS documentation ...

Read More »

Popularly Used Commands In Vim

Screen at starting VIM with --startuptime vim.log

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 nix-based environments. However, learning to use it in an efficient ...

Read More »

How to consume web service from Grails 4 applications

consume web service from Grails 4

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 4 is an added value for your resume so as ...

Read More »

Git shows files come along a specific commit

The output of git show --name-only

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 have already known how to do that via a graphical ...

Read More »

Checking existence of an element in an array with JavaScript

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 of all types. In other words, everything in JavaScript is ...

Read More »

Understanding data type of dictionary in JavaScript

Understanding Dictionary in JavaScript

Dictionary is among the commonly used data structures in modern programming because of its benefits so that there has not been any frankly acceptable alternative. Therefore, in this post I am going to how you how to conceive this data ...

Read More »

How to build and render data in JSON format with Grails

The graphical representation of the illustrated application

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 JSON string, the others still use relational databases as the ...

Read More »

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 if you are a client/user? There are several approaches to ...

Read More »

Event Delegation in jQuery

What is Event Delegation?

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 are added in the future. Example For the remainder of ...

Read More »

How to change default server port for Grails application

An Grails application started successfully

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. For some reasons, we might need to run multiple grails ...

Read More »