LuisPa

LuisPa @luispa

About: software gardener | everybody so judgemental.

Location:
internet
Joined:
Mar 25, 2017

LuisPa
articles - 23 total

Mastering JavaScript Generators: Understanding and Using the Power of Pausable Functions

JavaScript generators are a special type of function that can be paused and resumed, allowing you to...

Learn More 6 0Jan 17 '23

How do I find the last version of a deleted file in Git

A few months ago, I deleted a file. Today, I realized that actually, I need it! I picked a random...

Learn More 10 0Jan 5 '23

How to remove accent marks in a string using vanilla Javascript

In JS is quite of easy to replace chars by using str.replace for example, but, what happens when you...

Learn More 2 0Sep 27 '22

How to bypass Gmail captcha using Puppeteer and Node.js

I had a situation this week, I wanted to read and validate some data from a private Google...

Learn More 20 2Aug 17 '21

How to add a dynamic title on your React app

Hi there! The last time I posted How to add a dynamic title on your React app using react-helmet. Si...

Learn More 59 5Aug 31 '20

What the heck is a rune in Golang

Photo by Gerson Repreza on Unsplash The banner is a Cancún beach because I miss it some much. Well,...

Learn More 9 1Jul 8 '20

Writing a simple API with Deno

Today we gonna write a REST API using Deno. Deno is a simple, modern, and secure runtime for JavaScr...

Learn More 53 4May 23 '20

Adding days to a date using Vanilla JS

This is a short post about how we can manage a common situation with our propper implementation. Des...

Learn More 9 1Mar 24 '20

Rest Parameters in TypeScript

TypeScript introduced rest parameters to accommodate n number of parameters easily. When the number...

Learn More 7 0Mar 24 '20

Readonly properties in TypeScript

TypeScript introduced the keyword readonly, which makes a property as read-only in the class, type or...

Learn More 7 1Mar 24 '20

Big O notation in short

tl;dr: You should make a habit of thinking about the time and space complexity of algorithms as you...

Learn More 9 0Mar 24 '20

React hooks with TypeScript

Hi! This is a short post about how to use React Hooks with TypeScript. Hooks are a new addition in...

Learn More 32 1Feb 21 '20

Importing JSON Modules in TypeScript

tl;dr There's a new TypeScript flag/config called --resolveJsonModule that lets us import...

Learn More 7 0Feb 20 '20

Captures console.log's into a React Component

A React component that displays console logs from the current page, an iframe or transported across...

Learn More 18 1Feb 6 '20

How to add Barrels in TypeScript (or JavaScript)

Hi! This is a short post about how to create a useful import/export strategy on Typescript. Now, thi...

Learn More 63 14Feb 3 '20

PSA: Go 1.13 Default Module Proxy Privacy

Original post here. PSA: Go 1.13 Default Module Proxy Privacy Go 1.13 was just released a...

Learn More 8 0Sep 3 '19

How To Safely Store A Password

Original posted here tl;dr Consider use bcrypt Use bcrypt. Use bcrypt. Use bcrypt. Use b...

Learn More 5 1Jul 8 '19

How to add a dynamic title on your React app

An easy way to deal with the title of your react app

Learn More 60 14Feb 28 '19

Let's try React without Node.js

A simple and useful example of how to use React on a very simple way.

Learn More 66 22Dec 6 '17

Explain like i'm five: React Component Lifecycle

Request to understand better the React Component Lifecycle

Learn More 11 1Oct 26 '17

Typing like a boss in TypeScript

List of recommendations of best practices using TypeScript

Learn More 37 2Sep 25 '17

How to use watch and apply in AngularJS $scope

If you still use Angular 1.X, i recommend you to master this two methods.

Learn More 10 0Sep 18 '17

Ease the pain of Serverless AWS -How to return HTML from AWS API

Do you need to return an HTML page from your API Gateway & Lambda function? Are you rendering HTML for web crawlers to read? This article is for you.

Learn More 11 1Aug 14 '17