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 | |
| require_once 'app/Mage.php'; | |
| umask(0); | |
| /* not Mage::run(); */ | |
| Mage::app('default'); | |
| ## For magento1.7 or Earlier var | |
| //$_HASH_SALT_LENGTH = 2; | |
| ## For magento1.8 and magento1.9 | |
| $_HASH_SALT_LENGTH = 32; |
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
| UPDATE magento.admin_user SET password = 'a309595a9500ee214f91ecc43bc33790:8G9PtXYBNElJegYFALFtRuFClISuZinN' WHERE username = 'admin'; |
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
| Mage::getSingleton('core/session', array('name' => 'adminhtml')); | |
| $user = Mage::getModel('admin/user')->loadByUsername('YOUR_USERNAME'); | |
| $session = Mage::getSingleton('admin/session'); | |
| $session->setUser($user); |
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
| -- phpMyAdmin SQL Dump | |
| -- version 3.3.9 | |
| -- http://www.phpmyadmin.net | |
| -- | |
| -- Host: localhost | |
| -- Generation Time: Jun 06, 2015 at 05:07 PM | |
| -- Server version: 5.5.8 | |
| -- PHP Version: 5.3.5 | |
| SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |
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
| cache: | |
| tty: true | |
| image: memcached | |
| stdin_open: true | |
| WebLB: | |
| image: rancher/load-balancer-service | |
| ports: | |
| - 80:80 | |
| links: | |
| - web |
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
| cache: | |
| scale: 1 | |
| WebLB: | |
| scale: 1 | |
| load_balancer_config: | |
| lb_cookie_stickiness_policy: null | |
| description: null | |
| name: WebLB config | |
| app_cookie_stickiness_policy: null | |
| health_check: |
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
| Monitoring: | |
| scale: 1 | |
| prometheus: | |
| scale: 1 |
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
| Monitoring: | |
| command: | |
| - -labels=io.rancher.project.name,io.rancher.project_service.name,io.rancher.container.system,foo | |
| image: usman/container-exporter:v1 | |
| ports: | |
| - 9104:9104/tcp | |
| labels: | |
| io.rancher.scheduler.global: 'true' | |
| io.rancher.scheduler.affinity:host_label: monitored=true | |
| volumes: |
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
| Goauth: | |
| image: go-auth | |
| ports: | |
| - "9000:9000" | |
| stdin_open: true | |
| links: | |
| - Database:db | |
| command: | |
| - "--db-host" | |
| - "db" |
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
| { | |
| "variables": { | |
| "app_name": null, | |
| "env_name": null, | |
| "lifecycle": null, | |
| "subnet_id": null, | |
| "source_ami": "ami-0d4cfd66", | |
| "ssh_keypair_name": null, | |
| "ssh_private_key_file": null, | |
| "war_path": null, |