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
Iffyuva
How to extract a nested yaml key from a file and write its contents to another file?

js-yaml | jq ".topkey.nestedkey" | js-yaml > output.yaml
Published
Author
user-image
Revath
To avoid diff of package-lock.json in git show: git show ':(exclude)package-lock.json'
Published
Author
user-image
Iffyuva
To determine public IP address, use this command curl -s checkip.dyndns.org
Published
Author
user-image
Revath
jest: When using mockRejectedValue with axios the data should be inside response.data. Eg: mockRejectedValue({ response: { data: {errors: []} }, status: 400, statusText: "Bad Request" })
Published
Author
user-image
Revath
When using mockRejectedValue with axios the data should be inside response.data. Eg: mockRejectedValue({ response: { data: {errors: []} }, status: 400, statusText: "Bad Request" })
Published
Author
user-image
Revath
echo $PATH | sed -e $'s/\:/\\\n/'g or echo $PATH | tr ":" "\n" to see each entry in $PATH in separate line.
Published
Author
user-image
Revath
use :focus-within to keep the parent element visible when focus is on child. Helpful on making dropdown menu.
Published
Author
user-image
Goromlagche
in rails unscope doesnt used to work with joins/left_joins, but recently has been fixed and backported to 5.1 and 5.0

Showing page 59 of 83

Your competitors are already using AI.
The question is how fast you want to unlock the value.

Don't know where to start?

AI is everywhere but it's unclear which investments will actually move your metrics and which are expensive experiments.

Your data isn't ready

Most AI projects fail at the data layer. Pipelines, quality, access all need work before LLMs can deliver value.

Internal teams are stretched

Your engineers are shipping product. They don't have capacity to also become AI specialists with production-grade experience.

Legacy systems block everything

Aging, undocumented codebases make AI integration slow, risky, and expensive. They need to move first.

Don't worry. We've got you covered.

Start with the audit.