curl
is a kind of nice utilities that is been round seemingly endlessly and has infinite use instances. As of late I discover myself utilizing curl
to batch obtain information and check APIs. Generally my testing leads me to utilizing totally different HTTP headers in my requests.
So as to add a header to a curl
request, use the -H
flag:
curl -X 'GET' ' -H 'settle for: software/json' -H 'Model: 1'
You may add a number of headers with a number of -H
makes use of. Header format is often [key]: [value]
.
LightFace: Fb Lightbox for MooTools
One of many net elements I’ve at all times cherished has been Fb’s modal dialog. This “lightbox” is not like others: no darkish overlay, no obnoxious animating to dimension, and it would not attempt to do “an excessive amount of.” With Fb’s dialog in thoughts, I’ve created LightFace: a Fb lightbox…
Scroll IFRAMEs on iOS
For the longest time, builders have been annoyed by components with overflow not being scrollable inside the web page of iOS Safari. For my weblog it was notably irritating as a result of I show my demos in sandboxed IFRAMEs on high of the article itself, in order to not have an effect on my web site’s…
Supply hyperlink