Archives (44 articles)

Express.js error: Cannot set headers after they are sent to the client

Find out how to debug `ERR_HTTP_HEADERS_SENT: Cannot set headers` after they are sent to the client in Express.js server.

No match error when testing an Express.js controller doing multiple calls to a same backend

Find out how to solve `ERR_NOCK_NO_MATCH` error occurring when mocking multiple calls to same backend.

How to repurpose a 2006 Macbook into a Linux laptop

Learn how to install Lubuntu 16.04 on a 2006 Macbook.

Invalid file mode error when deploying a Node.js application to Cloud Foundry

Find out how to get rid of Cloud Foundry `Failed: The resource file mode is invalid` issue.

Create a pull/merge request starting from your terminal

A quick tip on how to create a pull/merge request with the git CLI in your terminal.

Vim indentation options

Little Wiki entry about the different Vim indentation options

Today I troubleshot: Narrow non-breaking space not rendering

Learn why narrow non-breaking spaces would not render on a webpage.

Today I learned: How to tailor my `npm init` experience

Learn how to customize your `npm init` experience by creating a .npm-init.js file.

Today I learned: HTML input checkbox can have an indeterminate state

Spotlight on little-known indeterminate state of HTML input checkbox.

Core principles of Progressive Enhancement

Progressive enhancement in few bullet points.