image post

Compress a file in Node.js

Jul 27, 2020
Zip a file in Node.js it's easy using zlib

image post

How to connect to a PostgreSQL database in Node.js

Connect to Postgres database in Node js using pg and parse-database-url packages
Jul 28, 2020
A simple example about how to connect to a PostgreSQL database using Node.js

image post

How to use a GitHub repository as a dependency in Node.js

Aug 30, 2020
Sometimes you need a dependency that is not published as a regular package at npmjs.com

image post

How to publish a message in SQS from SNS

Creating a AWS CloudFormation template to publish to a topic and send it to Amazon SQS queues
May 10, 2021
A CloudFormation template example about how to create an SNS topic to publish a message in SQS in the AWS wolrd

image post

Detect record changes in a Lightning Component

Listen to events when a record changes outside your Lightning component
Apr 16, 2021
Listening to changes in a Lightning Component from record changes

image post

Do you really need a mobile app?

Aug 30, 2020
I see lots of brands advertising "Hey, download our mobile app and…"

image post

Delete all keys by a prefix in Redis cluster

Reset a cache implemented in Redis for some specific keys with a prefix
Aug 04, 2020
Delete all the keys by a given prefix in a Redis cluster.

image post

How to build a sitemap

A sitemap is very important if you want to search engines discover and index your site properly.
Aug 08, 2020
A sitemap is very important if you want to search engines discover and index your site properly.

image post

Detect if a string is a number with regex

Aug 28, 2020
How to know if a string is a number in JavaScript using a regular expression

image post

How to send a message to AWS SQS queue from Salesforce Apex class

Surprisingly, making a callout to put a message in AWS SQS queue is tricky in Apex
Jan 31, 2021
How to post a message in an AWS SQS queue from an Apex class in Salesforce

image post

How to trigger a Lambda with a SQS message

AWS SAM template to execute a Lambda Function by writing a message in a SQS queue. Cloudformation world
May 12, 2021
Let's create a SAM template to declare a Lambda function to be triggered from an SQS message

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

How to download a Salesforce file from Node.js

A JavaScript snippet to download a Salesforce file using the Rest API
Apr 20, 2021
Download a file from Salesforce using Node.js

image post

How to download a file from Salesforce using Java Rest API

A Java snippet to download a Salesforce file through the Rest API
Apr 20, 2021
Let say we want to download a file stored in Salesforce. We'll have to deal with ContentVersion

image post

How to add a pie chart in Campaign’s record page in Salesforce

Add a cool chart in a record page easily. No code.
Aug 30, 2020
What about if we add a component with a pie chart on the Campaign object’s record page?

image post

Download and save a file in Node.js

Get a file from a server and store it in your disk
May 13, 2021
Download a file in Node.js is pretty straightforward. We are going to make an implementation using native modules. No third parties.