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.
Nov 20, 2018
if your node script exited with
Returned: code: 137 signal: null
, 137 mean it got killed by another process and high chance that it should be Out of Memory
issue.Revath
Nov 16, 2018
We can filter sensitive parameters from getting logged by modifying config like
Rails.application.config.filter_parameters += [:password, :credit_card]
within automatically created filter_parameter_logging.rb
file in config/initializers
folder.Akshay
Nov 14, 2018
xdotool type $(echo "A B C")
will type without spaces. if you need to retain space xdotool type "${echo "A B C"}"
Revath
Nov 14, 2018
graphql request with 1) curl :
curl -X POST http://localhost:3002/graphql -H 'Content-Type: application/json' -d '{"query": "{goalTypes{id}}"}'
2) httpie : http POST http://localhost:3002/graphql query="{ goalTypes{id}}"
Revath
Nov 14, 2018
graphql request with 1) curl :
curl -X POST http://localhost:3002/graphql -H 'Content-Type: application/json' -d '{"query": "{goalTypes{id}}"}'
2) httpie : http POST http://localhost:3002/graphql query="{ goalTypes{id}}"
Revath
Nov 14, 2018
For setting up absolute path for create-react-app with flow follow these instructions https://itnext.io/configure-absolute-paths-with-create-react-app-and-flow-e4b8922676a2
Aravind
Nov 13, 2018
when starting rails server with puma if you get error
puma/launcher.rb:343:in
stat': No such file or directory @ rb_file_s_stat - try to
cd back to parent directory and then
cd` to project folder again. There is chance that you moved your project to another directory and your shell is not updated with new path.Revath
Nov 13, 2018
when starting rails server with puma if you get error
puma/launcher.rb:343:in
stat': No such file or directory @ rb_file_s_stat - try to
cd back to parent directory and then
cd` to project folder again. There is chance that you moved your project to another directory and your shell is not updated with new path.Revath
Nov 12, 2018
Open file in vim with cursor in specific line.
vim +lineno
Ed: vim abc.rb +343
Revath
Nov 12, 2018
The Forwardable module in Ruby provides delegation of specified methods to a designated object, using the methods
def_delegator
and def_delegators
.Akshay
Showing 59 to 61 of 80 results
Ready to Build Something Amazing?
Codemancers can bring your vision to life and help you achieve your goals
- Address
2nd Floor, Zee Plaza,
No. 1678, 27th Main Rd,
Sector 2, HSR Layout,
Bengaluru, Karnataka 560102 - Contact
hello@codemancers.com
+91-9731601276