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.

Feb 15, 2018
In ssh url git@github.com:code-mancers/engineering-blog.git git is the user on github.com server. Even ssh://code-mancers@github.com/engineering-blog.git is a valid git url since git tries to clone it but since there is no code-mancers user on github hence git is not able to clone it.
atul
atul
Feb 13, 2018
You can use https://www.fullstory.com to record user sessions and play back interactions. UX designers use this tool to understand how to improve their design.
emil
emil
Feb 13, 2018
always use default props while writing react component, reduces the number of unexpected bugs which are hard to reproduce.
harshwardhan
harshwardhan
Feb 13, 2018
a tags without an href are not links, they are placeholders for links. Also, capybara only click on links which have the href attribute.
manu
manu
Feb 2, 2018
Difference between usage of size/count/length when dealing with ActiveRecord::Relations and got rid of many COUNT(*) queries. Good article on the same - http://work.stevegrossi.com/2015/04/25/how-to-count-with-activerecord/
manu
manu
Jan 29, 2018
Postgres VACUUM [https://www.postgresql.org/docs/9.1/static/sql-vacuum.html] - It reclaims storage occupied by dead tuples.
manu
manu
Jan 25, 2018
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.
manu
manu
Jan 24, 2018
In Tmux, prefix+t shows the current time in big font size
emil
emil
Jan 24, 2018
mrinmoy
mrinmoy
Jan 23, 2018
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.
manu
manu

Showing 67 to 69 of 77 results

Ready to Build Something Amazing?

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