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 | |
/** | |
* User: bpearson | |
* Date: 3/2/15 | |
* Time: 9:12 AM | |
*/ | |
require_once 'abstract.php'; | |
class Reset_Stock_Indexes extends Mage_Shell_Abstract |
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
.grid { margin:1em auto; border-collapse:collapse } | |
.grid td { | |
cursor:pointer; | |
width:30px; height:30px; | |
border:1px solid #ccc; | |
text-align:center; | |
font-family:sans-serif; font-size:13px | |
} | |
.grid td.clicked { | |
background-color:yellow; |
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
Install AWS CLI if missing. | |
http://docs.aws.amazon.com/cli/latest/userguide/installing.html | |
Configure AWS CLI | |
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html | |
>> Roadblock: Missing keys: Ask [designated AWS admin] to give you keys. | |
>> Error: Region: Confirm your server's region. | |
Install EC2 API Tools if missing | |
https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/set-up-ec2-cli-linux.html | |
>> Roadblock: Permission denied: Ask [designated AWS admin] to fix it. |
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
$ aws ec2 describe-regions --debug | |
2015-01-26 20:34:14,463 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/1.7.3 Python/2.7.3 Linux/3.2.0-36-virtual, botocore version: 0.84.0 | |
2015-01-26 20:34:14,463 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_scalar_parsers at 0x30ec6e0> | |
2015-01-26 20:34:14,464 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider at 0x30779b0> | |
2015-01-26 20:34:14,465 - MainThread - botocore.service - DEBUG - Creating service object for: ec2 | |
2015-01-26 20:34:14,575 - MainThread - botocore.hooks - DEBUG - Event service-data-loaded.ec2: calling handler <function register_retries_for_service at 0x2c52cf8> | |
2015-01-26 20:34:14,579 - MainThread - botocore.handlers - DEBUG - Registering retry handlers for service: ec2 | |
2015-01-26 20:34:14,580 - MainThread - botocore.hooks - DEBUG - Event service-data-loaded.ec2: calling handler <function signature_overrides at 0x2c52 |