image post

P2: the collaboration tool from WordPress

As communication moves increasingly online, staying organized can be a challenge. The way we work at WordPress.com is unique.

Read More →
image post

Mysql full text search (search related data)

Search related data in Mysql it's pretty easy

Read More →
image post

Dealing with concurrency in Node.js

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.

Read More →
image post

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

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

Read More →
image post

Do you really need a mobile app?

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

Read More →
image post

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

What about if we add a component with a pie chart on the Campaign object’s record page?

Read More →
image post

Dealing with customers

A post wrote by Jozsef Torsan that I would like to share here.

Read More →
image post

Salesforce client for an Apex RESTful web service

An example about how to consume a Salesforce api rest

Read More →
image post

Define environment variables in Tomcat

Sometimes you want to change the behavior of your code without recompiling or deploying.

Read More →
image post

Detect if a string is a number with regex

How to know if a string is a number in JavaScript using a regular expression

Read More →
image post

Clean up more than two spaces and new lines with regex

A simple JavaScript method that removes all new lines and multiple spaces (including tab spaces) by a single space

Read More →
image post

Improve pg-promise stack traces

When you execute a query with error, we get a pg-promise internal module-specific stack trace.

Read More →
image post

Search columns in Postgres

A simple query to search columns in different schemas

Read More →
image post

Get all tables in Redshift

Get all tables from a given schema

Read More →
image post

pg-promise self signed certificate error in Postgres

If you are using Node.js with some of these packages: pg-promise or pg probably you are facing this issue.

Read More →
image post

Install Postgres locally in MacOS

How to install Postgres database in your MacOS local machine

Read More →
image post

Install and run Redis locally

How to install and run Redis in your local machine

Read More →
image post

Load stylesheets in background to increase page speed

Optimize the page loading time by loading your style sheets in background.

Read More →
image post

Lazy load images with javascript

Why should you load your images in a lazy way?

Read More →
image post

5 reasons to host your images on Cloudinary

Image and video management are present in almost all of our projects. I would like to share my experience with this.

Read More →
image post

How to connect to a Redshift database from Node.js

A util piece of code to connect to a Redshift database

Read More →
image post

Bye bye FindBugs. Hello SpotBugs

I used to use FindBugs plugin in my Java projects to detect and learn about issues and potential issues in my source code.

Read More →
image post

Cache implementation in Node.js

A cached value it’s dynamic data, expensive to calculate, that we make it constant during a period of time.

Read More →
image post

Get Visualforce usage stats from VisualforceAccessMetrics

If you want to know how frequently your Visualforce pages are accessed, you just have to run a simple query on VisualforceAccessMetrics

Read More →
image post

How to build a sitemap

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

Read More →
image post

Configure Prettier in your Node JS project

Prettier is a code formatter that supports many languages and can be integrated with most of the editors

Read More →
image post

Delete all keys by a prefix in Redis cluster

Delete all the keys by a given prefix in a Redis cluster.

Read More →
image post

How to configure http auth basic in Node js and Express

Let’s build a small site in Node.js using Express that will have one protected page

Read More →
image post

Full-text search in Node JS - search related data

If you are building a website, e-commerce, a blog, etc., you will need a full-text search to find related content like Google does for every web page.

Read More →
image post

Better Queue in Node JS

A good practice in software development is to delegate as much heavy work as possible to background jobs to avoid blocking the main execution of your application that can be a web app, mobile app, or desktop.

Read More →
image post

Optimizing Node JS code

At different levels you might optimize your JavaScript code. Sometimes optimization is a matter of good practices such as avoid using logging in loops.

Read More →
image post

Customize styles highlight.js

Customize styles highlight.js

Read More →
image post

Hash text in Node.js

Hash a string in Node.js without extra dependencies

Read More →
image post

5 reasons to choose WordPress as your content management tool

As Engineer I installed WordPress many times, facing issues such as performance and security. When you host WordPress by your own...

Read More →
image post

Template of Java web and Heroku

I’ve worked in several projects with Java, specially Java web using Tomcat as a web container and then Glassfish as application server.

Read More →
image post

Why I adopted Heroku

Heroku is a platform as a service (PaaS)

Read More →
image post

Upload big files to S3 using Node.js

Sometimes you need to upload a big file, let say bigger than 100MB. Stream from disk must be the approach to avoid loading the entire file into memory.

Read More →
image post

How to connect to a PostgreSQL database in Node.js

A simple example about how to connect to a PostgreSQL database using Node.js

Read More →
image post

Compress a file in Node.js

Zip a file in Node.js it's easy using zlib

Read More →
image post

How to configure HTTPS in Node.js

Sometimes we need to configure a secure environment locally to test how our application reacts to HTTPS.

Read More →
image post

Test Driven Development (TDD) in a nutshell

Every project has somewhere in the src folder a file called utils.js, Utils.java, utils.py, etc....

Read More →
image post

Migrate sforce.connection.query to Lightning equivalent

As you probably know, JavaScript buttons are not supported in Lightning Experience (LEX). In particular, you can’t use REQUIRESCRIPT. In this post, the idea is to show how to migrate a particular JavaScript button that uses sforce.connection.query sentence.

Read More →
image post

How to convert sforce.apex.execute to Lightning

Let’s see how to convert a Salesforce JavaScript button that uses sforce.apex.execute in to Lightning Experience. The good news is you will reuse this code and the approach for all your similar buttons.

Read More →
image post

Migrate $User, $Profile, $Label and $Api to Lightning Components

We can’t use $User, $Profile, $Label and $Api in Lightning. We need to implement a server-side solution.

Read More →
image post

How to build a sitemap xml in Node js using Express

A good sitemap.xml will help you a lot in terms of SEO. It’s a nice starting point if you want to index your site. It’s just a standard XML file that search engines understand.

Read More →
image post

Redirect all requests from HTTP to HTTPS in Node.js and Express

The first step will be to create a method to guess if the HTTP request comes from HTTP or HTTPS (secure or not secure). In some context like AWS or Heroku you will have to ask by the header x-forwarded-proto instead of req.secure.

Read More →
image post

About

About Andres Canavesi.

Read More →
Search
Side Widget
You can put anything you want inside of these side widgets. They are easy to use, and feature the new Bootstrap 4 card containers!