This file contains hidden or 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 | |
| /** | |
| * Generate modman file from Magento Connect 2.0 package.xml | |
| * | |
| * Usage: | |
| * | |
| * php package2modman.php path/to/package.xml > path/to/modman | |
| * | |
| */ | |
| require_once(__DIR__ . "/../www/app/Mage.php"); |
This file contains hidden or 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
| for i in `find . -type f | grep -v \.git | grep -v \.DS_Store | grep -v "^.$" | grep -v "modman" | grep -v "composer.json" | grep -v \.txt | grep -v \.pdf | sed 's/\.\///'`; do echo ${i} ${i}; done > modman |
This file contains hidden or 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
| #!/usr/bin/env ruby | |
| require 'syslog' | |
| require 'net/http' | |
| require 'aws-sdk' | |
| Syslog.open | |
| AWS.config({ | |
| :access_key_id => '<iam user key>', | |
| :secret_access_key => '<iam user secret>' |