TILs - Fueling Curiosity, One Insight at a Time

At Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.

Published
Author
user-image
Kamal
rspec has a --bisect flag that helps to chase down order-dependent test failures. It will figure out the minimum number of tests when run in order will produce the test failure.
Published
Author
user-image
Yuva
Co-founder
Docker images for rails will be around 500Mb on Alpine linux. Sounds a lot. Whereas Alpine bases phoenix/elixir images are typically under 100Mb
Published
Author
user-image
Harshwardhan
as of webpack 4.x you can pass function for output.filename which will get the input chunk as it's param and return a string
Published
Author
user-image
Yuva
Co-founder
Use DISABLE_DATABASE_ENVIRONMENT_CHECK env variable to get rid of those crazy migrations check introduced by Rails 5!
Published
Author
user-image
Mrinmoy
~/.local/share/trash
Published
Author
user-image
Revath
form.submit() won't run the HTML5 validations. if you want to programatically run HTML5 validation use form.checkValidity() and form.reportValidity() EG: https://jsbin.com/huqana

Showing 65 to 67 of 82 results

Ready to Build Something Amazing?

Codemancers can bring your vision to life and help you achieve your goals