Code Review Videos > Articles by: Chris

How To Disable smbd In Ubuntu

For reasons that currently escape me, I started using Docker for smbd a while back. I’m not sure if it’s the case by default, but my installation of Ubuntu has samba running as soon as the machine starts up. This conflicts with the Docker container implementation, and as the local samba starts before Docker, that … Read more

Micro Blog in Java on Exercism

The following is my solution to the Micro Blog code puzzle in the Java track on Exercism.org. Exercism Readme Here’s the Readme contents for the Micro Blog code puzzle: Instructions You have identified a gap in the social media market for very very short posts. Now that Twitter allows 280 character posts, people wanting quick social media … Read more

How I Fixed: error TS2551: Property ‘toEqual’ does not exist on type ‘Assertion’. Did you mean ‘equal’?

If you’re working with Cypress and Jest in the same project, TypeScript may throw errors that the standard Jest assertions are not valid types on the Assertion class. The error I get looks like this: Though in the IDE, even before running the tests, you will likely see something like this: This is a pretty … Read more

How I Fixed: We’ve found 2 Cypress configuration files named cypress.config.ts, cypress.config.js

If you’re using Cypress with TypeScript in your project, it’s possible you may encounter the following error message when trying to run Cypress: And how this looks in Cypress itself: The issue is fairly easy to resolve. Simply delete all the conflicting configuration files. In my case I wanted to keep cypress.config.ts, and so remove … Read more