Doc http://github.hubspot.com/pace/
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
https://help.github.com/articles/ignoring-files | |
https://github.com/github/gitignore |
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
############################################ | |
## References | |
## https://www.df.eu/forum/threads/66808-Kontrolle-von-htaccess-Datei-Google-Page-Speed | |
## https://developer.yahoo.com/performance/rules.html | |
############################################ | |
## http://www.ikonoshirt.de/stuff/12-11-21%20OWASP%20und%20Magento.pdf | |
## Cookies secure-flag: 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
rem author: [email protected] / @Macrotea / macrotea.cn | |
@echo off | |
:: get user input content | |
set /p repoType=is it git@oschina repository? (y or n) : | |
set /p repoName=input your repository name : | |
:: set /p projectTypeNumber=input your project type number (1:java 2:web 3:nodejs) : |
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
# Installing Chrome | |
curl -L -O "https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg" | |
hdiutil mount -nobrowse googlechrome.dmg | |
cp -R "/Volumes/Google Chrome/Google Chrome.app" /Applications | |
hdiutil unmount "/Volumes/Google Chrome" | |
rm googlechrome.dmg | |
# Installing Firefox | |
curl -L -o Firefox.dmg "http://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US" | |
hdiutil mount -nobrowse Firefox.dmg |
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 | |
/** | |
* @author mschultheiss83 | |
* https://github.com/mschultheiss83 | |
*/ | |
/** | |
* @param array $arrData | |
* @param bool $bIncludeHeader | |
* @return string |
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
{ | |
name: 'greenwellness/wellnessbon' | |
description: 'Definitie voor Green Wellness Wellnessbon.' | |
license: 'proprietary' | |
'minimum-stability': 'dev' | |
config: |
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 if ( Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getEnableQtyIncrements() ){ ?> | |
<select class="input-text qty" name="qty" id="qty"> | |
<?php $i = (Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getMinSaleQty()?Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getMinSaleQty():1); ?> | |
<?php do { ?> | |
<option value="<?php echo $i?>"> | |
<?php echo $i?> | |
<?php $i+= Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getQtyIncrements() ?> | |
</option> | |
<?php } while ($i <= (int)Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product)->getMaxSaleQty()) ?> | |
</select> |
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 | |
/** | |
* Created by tripuls. | |
* User: m.schultheiss | |
* Date: 08.05.14 | |
* Time: 16:56 | |
*/ | |
$id = 1; // get Customer Id |
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 | |
/* | |
Author: Tegan Snyder <[email protected]> | |
Example of running a Dataflow profile via command line | |
you can change the profile_id to the one you want to | |
run and issue: | |
time php manual-dataflow-profile.php | |
note you may need to increase the memory_limit in php cli's php_cli.ini | |
RHEL linux copy /etc/php.ini to /etc/php_cli.ini and make changes there then restart Apache. |