Node JS

My first exercise with SVG (Scalable Vector Graphics)

Posted on

Credits: Jessie Keck Mark Caron Two Segmented – DO-NUT PIE CHART   For my project which I am working on requires a pie-chart. So, I tried many options and thought SVG (Scalable Vector Graphics) may fit my need. Indeed, there can be multiple best solutions. But, I am some what happy as a IT Pro […]

Node JS

TIP: Node JS PUG Conditionals

Posted on

Recently I was working on a tiny project in which I need to make text field as READONLY when it’s backfilled by query and FREE TEXT if empty. Yes, as you guessed I use PowerShell a lot at my workplace. Having said that, let me show case the demo using PowerShell and Node JS Scenario […]

Node JS

Dynamically populate data for drop down list using PUG in Node JS

Posted on

Let me keep this blog simple and easy. All we need to achieve is to dynamically retrieve items in PUG drop down list. Here is the logic!

So, now let us create a data.json file – In my case it’s like below

For our demo let’s list the Skills in drop down list […]