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 | |
/** | |
* Sutunam | |
* | |
* HOW IT WORK | |
* | |
* This script use for export customer data with custom column | |
* and custom logic | |
* | |
* HOW TO RUN |
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
<VirtualHost *:80> | |
DocumentRoot /media/data/websites/dev.domain.com/ | |
ServerName dev.domain.com | |
ServerAlias *.dev.domain.com | |
VirtualDocumentRoot /media/data/websites/dev.domain.com/%1/ | |
<Directory /media/data/websites/dev.domain.com> | |
AllowOverride All | |
</Directory> |
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
#Use two package jpegotpim & optipng to optimize image | |
aptitude install jpegoptim optipng | |
find . -type f -regex ".*\.jpe?g" -exec jpegoptim --strip-all {} \; | |
find . -type f -name "*.png" -exec optipng {} \; |