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
Harshwardhan
always use default props while writing react component, reduces the number of unexpected bugs which are hard to reproduce.
Published
Author
user-image
Manu
a tags without an href are not links, they are placeholders for links. Also, capybara only click on links which have the href attribute.
Published
Author
user-image
Manu
Rspec's subject is a special variable that refers to the object being tested. It's instantiated implicitly but can also be done explicitly. Handy to be used with shoulda matchers.
Published
Author
user-image
Emil
In Tmux, prefix+t shows the current time in big font size
Published
Author
user-image
Manu
looping through a collection of records in database using methods like all is very inefficient (it tries to instantiate all objects at once) and should resort to batch processing methods eg: find_each.
Published
Author
user-image
Ganesh
ansible lets u use ansible_distribution ( values : Ubuntu, CentOS etc), ansible_distribution_release (values : xenial, precise etc) to write dist specific commands
Published
Author
user-image
Manu
There is a global location for git ignore *nix - ~/.config/git/ignore

Showing 72 to 74 of 82 results

Ready to Build Something Amazing?

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