I am a full-stack/back-end developer with over 15 years of software development experience. My most skilled technologies include PHP, NodeJS, JavaScript and TypeScript. Senior Software Developer at The Service Directory.
Editing a file with vim and exiting the program improperly on a public-facing web server can leave you vulnerable to leaking private data like db credentials, private keys etc. A…
The table below can be used as a reference to check the meaning of the unit. E.g. height: 20dvh is 20% of "current viewport height, excluding user agent's interface..." UnitDescriptionsvhSmallest…
DocumentFragments are useful when you want to create multiple DOM elements and add them to the DOM tree at once, as it is more efficient to do so using a…
MongoDB is most easily installed on MacOS by using Brew, a package manager for macOS that can be used to install, update, and manage software packages on your system. Brew…
This article will explain how to fix files still being tracked by Git after it has been added to the .gitignore file. Rules added to the .gitignore file only applies…
It is sometimes desirable to run a command after n seconds has passed e.g. to run a command after the approximate time taken for deploy pipeline to complete. Scheduling the…
This happens when the terminal is in 'Alternative Screen Mode'. The problem might also be combined with characters looking like ^[OB^[OB. What is Alternative Screen Mode? Many user-interactive terminal application…
It is good practice to benchmark your webpages and API endpoints before pushing them live to production. This can help identify areas of improvement which can be used to inform…