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
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
Published
Author
user-image
Emil
Cypher language, the SQL equivalent for neo4j graph DB is kickass . It allows users to fetch complex join queries in an intuitive way using pattern matching. https://neo4j.com/developer/cypher/ . Also, neo4j is the DB that helped journalists uncover interesting data relationships that led to paradise papers. This is because neo4j treats relationships as first class citizens and you can query using paths between different data elements. For example, "what is the shortest path between PersonA and PersonB".

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