Archives (47 articles)

Today I learned: How to show current buffer's path in Vim's normal mode

Learn the Vim shortcut to reveal the current buffer's path in the command line from normal mode.

Today I learned: How to style a <fieldset>'s <legend> element as display inline

Learn how to work around the dodginess of HTML <legend> tag to make it behave as it would be `display: inline` or `display: inline-block`.

Vim CursorHold autocommand error when opening command line window

Find out how to get rid of `Error detected while processing CursorHold Autocommands for ... E11: Invalid in command-line window...` issue.

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.