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.

Mar 18, 2020
incase pod install throws error xcrun:_ error: SDK "iphoneos" cannot be located run sudo xcode-select --switch /Applications/Xcode.app. souce: https://github.com/facebook/react-native/issues/18408#issuecomment-386696744
revath
Revath
Mar 17, 2020
This site https://imageonline.co/ is very handy to manipulate images online without searching for imagemagick commands
iffyuva
Iffyuva
Feb 27, 2020
a little about pseudo terminal and ruby pty and expect. and then came across this https://stackoverflow.com/a/10645406/2365673. Nice way to to have full control terminal session.
goromlagche
Goromlagche
Feb 12, 2020
$stdout.sync = true

this helps if you are trying to write a tool which pipes to another command. the other command will be able to process the output immediately, as no buffer and periodic flush is involved.
eg. cat rules > ruby rule_engine.rb | python calculate_tax.py

Also ARGF, sort of like a streaming STDIN. pretty cool, cause of the streaming.
goromlagche
Goromlagche
Feb 7, 2020
cat k8s.yaml | kubectl apply -f-
shubham
Shubham
Feb 7, 2020
cat k8s.yaml | kubectl apply -f-
shubham
Shubham
Feb 7, 2020
cat k8s.yaml | kubectl apply -f-
shubham
Shubham
Feb 7, 2020
cat k8s.yaml | kubectl apply -f-
shubham
Shubham
Feb 6, 2020
git subtree push --prefix heroku master for pushing a subfolder to heroku [https://stackoverflow.com/q/39197334/6220432]
sreenadh
Sreenadh
Jan 24, 2020
Dark and light themes for browsers can be controlled programmatically using css. More info can be found here https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
iffyuva
Iffyuva

Showing 51 to 53 of 82 results

Ready to Build Something Amazing?

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