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
/** | |
* Method to create thumbnails from the current image and save them to disk. It allows creation by resizing | |
* or croppping the original image. | |
* | |
* @param mixed $thumbSizes string or array of strings. Example: $thumbSizes = array('150x75','250x150'); | |
* @param integer $creationMethod 1-3 resize $scaleMethod | 4 create croppping | |
* @param string $thumbsFolder destination thumbs folder. null generates a thumbs folder in the image folder | |
* | |
* @return array | |
* |
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 | |
/** | |
* @package Joomla.Cli | |
* | |
* @copyright Copyright (C) 2018 Niels van der Veer. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE.txt | |
*/ | |
/** | |
* This is a CRON script which should be called from the command-line, not the |
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
# On Windows 7, 8, 10 Hosts file is in c:\windows\system32\drivers\etc\hosts | |
# | |
# Block Skype ads | |
127.0.0.1 secure-sin.adnxs.com # On skype 7.* | |
127.0.0.1 *.adnxs.com # On skype 7.* | |
127.0.0.1 logi10.xiti.com # On skype 7.* | |
127.0.0.1 *.everesttech.net # On skype 7.* | |
127.0.0.1 pixel.everesttech.net # On skype 7.* | |
127.0.0.1 d.adroll.com # On skype 7.* |
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
/*! European Union country VAT rates + tax zones for Hikashop (webshop for Joomla) | |
by Peter Martin | |
Company: http://www.db8.nl | |
Twitter: @pe7er | |
Currently, before January 1st 2015, VAT on e-services (like telecommunications, radio & television | |
broadcasting and electronic services) to consumers (and businesses without VAT number) within the EU, | |
is charged based on the location (EU country) of the seller. | |
Starting on January 1st 2015, the VAT on e-services must be calculated based on the end customer’s |
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
/* Skew the button */ | |
.btn { | |
transform: rotate(15deg); | |
-ms-transform: rotate(15deg); /* IE 9 */ | |
-webkit-transform: rotate(15deg); /* Opera, Chrome, and Safari */ | |
} | |
/* Skew back its contents */ | |
.btn .to-skew { | |
transform: rotate(-15deg); | |
-ms-transform: rotate(-15deg); /* IE 9 */ |