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
ActiveRecord Query method - none. It returns a chainable relation with zero records. Post.none => #
Published
Author
user-image
Akshay
active record inspect method is invoked to log the active record collection object to the rails console which by default limits the query by 11 but does not actually limit the query being executed.
Published
Author
user-image
Yuva
Co-founder
Firefox exposes about:crashes url where one can see history of crash reports. Clicking on each crash report takes to mozilla website where one can see crash details
Published
Author
user-image
Akshay
we can tell the browser how to execute the script. By default, browser runs the script immediately by pausing HTML parsing. Else you can specify async or defer with the script tag to either run script asynchronously or defer it until HTML is parsed.
Published
Author
user-image
Harshwardhan
if you are using file-loader with webpack to process your assets and want to serve images from cdn you need to pass that cdn url in `publicPath: ''
Published
Author
user-image
Harshwardhan
when using webpack-uglify to minify your code if you face a situation where your build fails with syntex error try setting "uglify-js": true this will run all the transformations, however you can use "useBuiltIns": true with that option to only include polyfills for your target browsers
Published
Author
user-image
Emil
We can use the command docker-compose up -d --no-deps --build to do a zero downtime upgrade of services inside a running docker-compose stack.
Published
Author
user-image
Emil
docker system prune -a will free up significant space on your hard disk if you have a lot of stopped docker containers and dangling volumes etc

Showing 75 to 77 of 82 results

Ready to Build Something Amazing?

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