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
from ps man pages, if you want to list pids of particular process just use ps -C -o pid=. Damn handy when it comes to looping and killing processes
Published
Author
user-image
Manu
Rails prepend_before_action to chain before action callbacks.
Published
Author
user-image
Akshay
ActiveSupport::Autoload helps to require the file and loads only when needed
Published
Author
user-image
Yuva
Co-founder
ActiveStorage supports mirror service, one can upload files to multiple storages in 1 shot
Published
Author
user-image
Mrinmoy
mod of negative numbers are complicated :P ruby, python, haskell returns correct value, cpp and js does not.
Published
Author
user-image
Yuva
Co-founder
How to get child pids of a process given pid? pgrep -P

Showing page 78 of 83

Ready to Build Something Amazing?

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