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
Yuva
Co-founder
If one wants to run iex without starting any applications iex -S mix run --no-start is very handy
Published
Author
user-image
Kamal
For models A and B, if A has_one B, then A.new.b.build wont work. You have to say A.new.build_b.
Published
Author
user-image
Akshay
Sidekiq processes jobs in a multithreaded process. Which means there is no guarantee that the jobs that are enqueued will processed in the same order. So you'd need to consider the aspect of context switch that can happen and thus make sure that the worker code is thread safe.
Published
Author
user-image
Yuva
Co-founder
Today I came to know that the name of process which takes care of clipboard is called pboard on mac. If clipboard is acting funny, just kill this process!
Published
Author
user-image
Harshwardhan
while tesing with enzyme if you are unit testing your component method with component.instance().methodName() always double check if the method that you are testing have access to "this" variable manually. Currently even if it does not have "this" access the test will pass
Published
Author
user-image
Emil
You can create a quick screencast using hangouts and then share the video as a private youtube video
Published
Author
user-image
Mrinmoy
emacs has a "M-x base64-encode-region"

Showing 68 to 70 of 82 results

Ready to Build Something Amazing?

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