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
#NameVirtualHost *:80 | |
<VirtualHost *:80> | |
ServerName "www.domain.com" | |
ServerAlias domain.com | |
ErrorLog logs/error_log | |
TransferLog logs/access_log | |
LogLevel warn | |
ServerAdmin [email protected] | |
DocumentRoot /sites/magento | |
DirectoryIndex index.php index.html |
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
var Promise = require('bluebird'); | |
var MongoDB = Promise.promisifyAll(require("mongodb")); | |
var MongoClient = Promise.promisifyAll(MongoDB.MongoClient); | |
var cheerio = require('cheerio'); | |
var http = require('http'); | |
var urls = [ | |
'http://www.magentocommerce.com/certification/directory/index/?q=&country_id=AU®ion_id=®ion=vic&certificate_type=', | |
'http://www.magentocommerce.com/certification/directory/index/?q=&country_id=AU®ion_id=®ion=victoria&certificate_type=' | |
]; |
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
/* Copyright 2012 Martin Hawksey (email : [email protected]) | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of | |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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 | |
/** | |
* Script to manage to version of Magento in a git mirror | |
* php $argv[0] core-repository new-version-of-magento | |
* | |
* It will look for Mage.php in new-version-of-magento and parse the version | |
* and edition from it. | |
* | |
* It will copy the code, remove the old files, create new branches if necessary |
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
### MAGENTO DIRECTORIES | |
# Note: because of the wildcards/asterisks used, you can't do "git clean -fd ." without | |
# clearing everything in media and var. Also see http://stackoverflow.com/a/19442789/896657 | |
# Ignore everything in media, except for the htaccess files | |
/media/* | |
/media/*/* | |
!/media/customer/.htaccess | |
!/media/downloadable/.htaccess |
NewerOlder