Logging in Node.js: Winston vs Morgan vs Pino

|
| By Webner

Logging is an essential part of any application. It helps developers understand what is happening in the app, debug issues, and monitor performance. In Node.js, there are several popular logging libraries available. In this post, we will compare three of

Linux | Installation of custom AWS metrics script & prerequisites for AMI

| By Webner

1.  Login to Amazon Linux-AMI / Centos / RedHat: Using ssh 2.  To Upgrade from a previous version of the scripts: # sudo yum install perl-DateTime 3.  To install the scripts for the first time: # sudo yum install perl-DateTime

Curl | How to test a Restful web service using curl

| By Webner

Let’s consider, we have a demo Restful service (created in Java Spring here but you can create in any language) to login user which accepts username and password as input and returns Success/Failure in response. Request Object : Demo Login

Javascript | How to post Acord PDF Forms data to a Web URL

| By Webner

Description : You have Fillable PDF on which you have button “Save Entered Data”. On button you want post the form data to php file. Solution : Follow these steps : 1. Open Form with Adobe Acrobat Pro. Goto–>Tools. 2.

jQuery EasyUI datagrid | How to solve “no text wrapping” problem

| By Webner

See the screenshot below : Line no 7 and 8 indicate problems due to no word wrapping Solution : Use Javascript property ‘nowrap=false’ in your datagrid creation. Code : <table id=”dg” title=”Activity Info” class=”easyui-datagrid” style=”width:100%;height:81%” toolbar=”#toolbar #searchtoobar” nowrap=”false” rownumbers=”true” fitColumns=”true”