Skip to main content


[HDGEM] Subscribe with Amazon.

Sellers of digital products and services can utilize Subscribe with Amazon to manage and operate a subscription based payment and consumption model through integration with Amazon APIs. After integration, sellers can find themselves listed on Amazon's subscription storefront.

Posted By Blogger to HDGEM at 4/29/2017 09:54:00 AM

[HDGEM] How to run script from Internet URL

curl -L | bash The -L flag is for location. If the server reports that the requested page has moved to a different location, this option will make curl redo the request on the new place.

The pipe | links the two commands so that the output of the curl command becomes the input of the bash command.

If you want to run a script from GitHub and you need to get the URL of raw script.

To pass arguments to the script:
curl -sL | bash /dev/stdin arg1 arg2 Bourne shell also supports -s to read from stdin. curl -sL | bash -s arg1 arg2

Posted By Blogger to HDGEM at 4/29/2017 08:36:00 AM