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

Salesforce | Uploading and using images in Visualforce page

| By Webner

When there is requirement of displaying images in a Visualforce page, following methods can be adopted: Method 1: If the image is present on another website/server. Use this code: <apex:image url=”Paste URL of the image” styleClass=”imageStyle”/> Method 2: Uploading image in “Static

Ubuntu | Google Authenticator not working with SSH keys

| By Webner

Purpose is to get MFA/ 2-step verification working i.e. google-authenticator + ssh Keys First of all, install google authenticator on your server with following steps: 1. Yum install google-authenticator.x86_64 (Redhat/Centos) sudo apt-get install libpam-google-authenticator (ubuntu OS) 2. Now vi /etc/pam.d/sshd (add following