Can I view my Swagger file output in Visual Source Code while I’m editing it?
Yes you can. Check out this nifty plugin for that!
https://marketplace.visualstudio.com/items?itemName=Arjun.swagger-viewer
Can I view my Swagger file output in Visual Source Code while I’m editing it?
Yes you can. Check out this nifty plugin for that!
https://marketplace.visualstudio.com/items?itemName=Arjun.swagger-viewer
When I use the curl commands for my Elasticsearch, it outputs a bunch of garbage and messes up the output of the command. How can I turn that off?
The problem is that the curl command itself is emitting information into the stdout stream.
You can turn that off on a command-by-command basis by just adding a –silent flag on the command like this:
curl 'localhost:9200/_cat/indices?v' --silent
or, if you’re on a bash like shell (e.g., MINGW64 on windows), you can do this to not have to think about it anymore:
alias 'curl'='curl -s'
Thanks to this post on stackoverflow for the solution above.
Here’s a quick and easy way to get a domain name to resolve to an IP.
Type in the IP address and follow it with an .xip.io like this:
$ ping 192.168.1.144.xip.io
Pinging 192.168.1.144.xip.io [192.168.1.144] with 32 bytes of data:
Reply from 192.168.1.144: bytes=32 time<1ms TTL=128
Reply from 192.168.1.144: bytes=32 time<1ms TTL=128