<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
| get_latest_release() { | |
| curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api | |
| grep '"tag_name":' | # Get tag line | |
| sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value | |
| } | |
| # Usage | |
| # $ get_latest_release "creationix/nvm" | |
| # v0.31.4 |
| <?php | |
| /* | |
| replace show_in_price_search_engine with your attr code | |
| replace General with antoher Tab | |
| */ | |
| $dir = dirname(__FILE__); | |
| chdir($dir); |
| #!/bin/bash | |
| # Author: Erik Kristensen | |
| # Email: [email protected] | |
| # License: MIT | |
| # Nagios Usage: check_nrpe!check_docker_container!_container_id_ | |
| # Usage: ./check_docker_container.sh _container_id_ | |
| # | |
| # Depending on your docker configuration, root might be required. If your nrpe user has rights | |
| # to talk to the docker daemon, then root is not required. This is why root privileges are not |
| /* Related Products */ | |
| SELECT e.sku as sku, GROUP_CONCAT(ee.sku) as related_product FROM catalog_product_link l | |
| INNER JOIN catalog_product_entity e on e.entity_id=l.product_id | |
| INNER JOIN catalog_product_entity ee on ee.entity_id=l.linked_product_id | |
| WHERE l.link_type_id=1 | |
| GROUP BY e.sku | |
| /* Crosssell Products */ | |
| SELECT e.sku as sku, GROUP_CONCAT(ee.sku) as crossel_product FROM catalog_product_link l | |
| INNER JOIN catalog_product_entity e on e.entity_id=l.product_id |
| <?php | |
| /** | |
| * Convert a comma separated file into an associated array. | |
| * The first row should contain the array keys. | |
| * | |
| * Example: | |
| * | |
| * @param string $filename Path to the CSV file | |
| * @param string $delimiter The separator used in the file | |
| * @return array |