image post

Configure Prettier in your Node JS project

How to configure Prettier to format your code as It was written by only one developer
Aug 08, 2020
Prettier is a code formatter that supports many languages and can be integrated with most of the editors

image post

How to connect to a Redshift database from Node.js

See how to use pg-promise to connect to a AWS Redshift database
Aug 11, 2020
A util piece of code to connect to a Redshift database

image post

Clean up more than two spaces and new lines with regex

A simple JavaScript method that removes all newlines and multiple spaces from a given text
Aug 28, 2020
A simple JavaScript method that removes all new lines and multiple spaces (including tab spaces) by a single space

image post

Dealing with concurrency in Node.js

Yeap, race condition is present also in Node.js regardless the single thread Event Loop
Aug 30, 2020
Even though the Event Loop is a single thread we have to take care of race condition since 99% of our code will run in a non main thread.

image post

DB schema updates with knex in Node.js

Run database migration with knex
Feb 06, 2021
Knex is a query builder and among other things, it's an awesome tool to run DB migrations to create tables and modify them as you usually do with SQL scripts

image post

Download Salesforce metadata using SFDX

How to download Salesforce metadata to your local machine using SFDX CLI
Feb 23, 2021
Download Salesforce metadata using SFDX

image post

SFDX - Error authenticating with auth code due to: grant type not supported

Common error when authenticating from SFDX CLI
Apr 27, 2021
Error authenticating with auth code due to: grant typw not supported. This is most likely not an error with the Salesforce CLI. Please ensure all information is accurate and try again

image post

Protect your social networks with two-factor authentication

See how to protect the most used social networks
Apr 29, 2021
Nowadays a super complex password is not enough to avoid being hacked. In fact, most of the times your password is not guessed by brutal force (try until it works).

image post

How to make Load and Smoke testing with Artillery

Artillery is a CLI tool installed easily through npm
May 20, 2021
Artillery is a modern load testing and smoke testing solution designed for cross-functional teams that run microservice-based systems on AWS and rely on CI/CD to ship at high velocity



image post

Salesforce integration with AWS AppFlow, S3, Lambda and SQS

Send data out of Salesforce with AWS AppFlow service in realtime
Aug 24, 2021
There are many ways to sync up our Salesforce data with third parties. One option is a mix of Salesforce and AWS services, specifically Change Data Capture from Salesforce and AppFlow from AWS.

image post

error authenticating with auth code due to: grant type not supported

error authenticating with auth code due to: grant type not supported
Aug 31, 2021
error authenticating with auth code due to: grant type not supported

image post

This is most likely not an error with the salesforce cli

Please ensure all information is accurate and try again. (Salesforce)
Oct 07, 2021
Error authenticating with auth code due to: grant type not supported

image post

Invalid request provided: AWS::AppFlow::FlowCreate - Salesforce integration

This is a common error when a field is mapped in App Flow but it doesn't exist in Salesforce
Nov 19, 2021
Resource handler returned message: "Invalid request provided: AWS::AppFlow::FlowCreate Flow

image post

What is Node.js and what is the Event Loop

Node.js is a JavaScript runtime environment to run server-side web applications
Dec 03, 2021
Node.js provides simplicity in development because of its non-blocking I/O and even-based model results in short response time and concurrent processing, unlike other frameworks where developers have to use thread management.

image post

How to send a pushengage notification with node-fetch

Send push notifications using pushengage.com through Node.js and node-fetch module
Jan 14, 2022
Sending push notifications from pushengage.com dashboard is pretty easy but what about f we want to automate some process in our web site?

image post

Salesforce inspector: a Salesforce data explorer and exporter

Chrome and Firefox extension to inspect and export data from Salesforce
Jan 18, 2022
A productivity tool for Salesforce administrators and developers to inspect data and metadata directly from the browser without compromising security and privacy

image post

Salesforce CLI - SFDX - Cannot read properties of undefined (reading 'id')

The error doesn't give us so much information but it is related to the URL we are using
Jul 06, 2022
Cannot read properties of undefined (reading 'id'). This is most likely not an error with the Salesforce CLI. Please ensure all information is accurate and try again.

image post

Get Salesforce ContentVersion file info using node-fetch

How to get a Salesforce file info without downloading the file itself
Jul 07, 2022
Let's say you want to get the file info without downloading it. For example, you want to know the file name and extension.

image post

Download a Salesforce ContentVersion file using node-fetch

Download locally a file stored in Salesforce using node-fetch package for Node.js
Jul 07, 2022
Let's download a file (ContentVersion) from Salesforce using node-fetch


image post

Get Accounts with at least one closed-won opportunity in Salesforce

Salesforce SOQL query to get accounts with at least one closed won opportunity
Jul 24, 2022