This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
/** | |
* Original-Source Idea from: https://github.com/raymondjplante/sitemap_link_checker | |
* Simple script to pull in a Sitemap XML file and check all urls listed. Recursively pull in additional sitemap xml | |
* files from sitemap index files. | |
* | |
* Usage: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM `catalog_product_entity` | |
LEFT JOIN `catalog_product_entity_int` ON `catalog_product_entity`.`entity_id` = `catalog_product_entity_int`.`entity_id` | |
WHERE `catalog_product_entity`.`type_id` = 'simple' AND `catalog_product_entity_int`.`attribute_id` = (SELECT `attribute_id` FROM `eav_attribute` WHERE `attribute_code` = 'visibility') AND `catalog_product_entity_int`.`value` = 1 AND `catalog_product_entity`.`entity_id` NOT IN | |
( | |
SELECT `product_id` FROM `catalog_product_super_link` | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
# Shell script to move repos from bitbucket to github | |
ä | |
# use the command like this: | |
# ./bitbucket-to-github.sh -org="organization" -ghu="github-username" -ghp="github-password" -bbu="bitbucket-username" -bbp="bitbucket-password" | |
for i in "$@" | |
do |