author avatar

revath

Wed 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}}"

author avatar

revath

Wed 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}}"

author avatar

revath

Tue 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 tocdback to parent directory and thencd` to project folder again. There is chance that you moved your project to another directory and your shell is not updated with new path.

author avatar

revath

Tue 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 tocdback to parent directory and thencd` to project folder again. There is chance that you moved your project to another directory and your shell is not updated with new path.

author avatar

revath

Mon Nov 12 2018

Open file in vim with cursor in specific line. vim <file> +lineno Ed: vim abc.rb +343

author avatar

akshay

Mon 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.

author avatar

akshay

Mon Nov 12 2018

Ram talks with the computer with the help of a memory controller on the CPU. So the reason why its often suggested to prefer to have multiple RAM modules rather than a single one is due to memory channels. If the memory controller within the CPU supports multi-channel architecture then it can leverage it having multiple RAMs than having a single one as it helps in faster data exchange. Like if it’s dual channel then a pair, quad channel then four modules, etc.

Showing 46 to 48 of 66 results