Chevron effect for headers or separators in page. Efecte Chevron per les capçaleres o separadors de pàgina. Efecto Chevron para los encabezados o separadores de página.
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
body { | |
background-image:url(background.jpg); | |
background-repeat: no-repeat; | |
background-size: 100%; | |
background-attachment:fixed; | |
background-position:center; | |
margin:0px; | |
} |
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
<meta name='SKYPE_TOOLBAR' content='SKYPE_TOOLBAR_PARSER_COMPATIBLE' /> |
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
<meta http-equiv='X-UA-Compatible' content='IE=8'/> |
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
function obj2array($obj) { | |
$out = array(); | |
foreach ($obj as $key => $val) { | |
switch(true) { | |
case is_object($val): | |
$out[$key] = obj2array($val); | |
break; | |
case is_array($val): | |
$out[$key] = obj2array($val); | |
break; |
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
<!-- PUT THIS CODE IN ONE PHP FILE IN THE ROOT DIRECTORY --> | |
<?php | |
error_reporting(E_ALL | E_STRICT); | |
include 'app/Mage.php'; | |
Mage::app(); | |
Mage::setIsDeveloperMode(true); | |
umask(0); | |
$attributeCode = "barrio"; //Put here your attribute code |
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
// Sometimes the whitespaces contains bullshit and we need to clean this mess. | |
// I saw the light here --> http://heavydots.com/blog/when-the-white-space-became-a-beast | |
// Same with breaklines. | |
$ascii_whitespaces = chr(194).chr(160); | |
$ascii_breaklines = chr(13).chr(10); | |
$to_replace = array ($ascii_whitespaces, $ascii_breaklines); | |
$replace_to = 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 | |
/* Standardized data cleanup helper class */ | |
class Cleanup { | |
/** | |
* Make a string into UTF8 compliant... cleans funcky input characters | |
* @param mixed $str | |
* @return mixed $str | |
*/ | |
static function makeUTF8($str) { | |
if (is_array($str)) { |
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
sf2-ddd | |
├── app | |
├── bin | |
├── build | |
├── lib | |
├── src | |
│ └── __VendorPrefix | |
│ ├── Application | |
│ │ └── __DomainNameBundle | |
│ │ ├── Command |
OlderNewer