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
Manu
Neovim (Vim): To change all the existing tab characters to match the current tab settings, use: :retab
Published
Author
user-image
Manu
Finding the last Sunday in rails.

Ruby

d = DateTime.now
sunday = d - d.wday


d.wday gives the weekday starting from 0.
Published
Author
user-image
Manu
Rails 5.1 dropped jquery and yarn is your new bundler for javascript dependencies
Published
Author
user-image
Revath
use // eslint-disable-next-line to disable rules inline in jsx

Showing page 79 of 83

Ready to Build Something Amazing?

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