- Ajout, modification et suppression des formats publicitaires (deployed)
- Calcul du reach et de la fréquence
- Validation des formats publicitaires (submitted images)
- Récupération des données de diffusion de Google Analytics
- sessions
- pages views (a été ajoutée)
- taux de rebond
- nombre d'utilisateurs
- répartition / genre
- repartition par age
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
const loadIdentifier = async (query) => { | |
var xmlHttp = new XMLHttpRequest(); | |
xmlHttp.open("GET", `http://217.182.193.215:9322/api/cookie/update?` + query, false); | |
xmlHttp.send();return xmlHttp.response; | |
} | |
function getCookie(name) { | |
const value = `; ${document.cookie}`; | |
const parts = value.split(`; ${name}=`); | |
if (parts.length === 2) return parts.pop().split(';').shift(); |
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 | |
namespace App\Mapper; | |
class Mapper implements MapperInterface | |
{ | |
/** @var array */ | |
private $mapperConfigurations = []; | |
/** |
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
<?xml version="1.0" encoding="utf-8"?> | |
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"> | |
<file source-language="en" target-language="en" datatype="plaintext" original="file.ext"> | |
<header> | |
<tool tool-id="symfony" tool-name="Symfony"/> | |
</header> | |
<body> | |
<trans-unit id="ZyFT62v" resname="A propos"> | |
<source>A propos</source> | |
<target>About</target> |
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 | |
class Palindrome | |
{ | |
/** | |
* @param string $str | |
* | |
* @return bool | |
* | |
* @throws Exception |
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
{ | |
"require": { | |
"simshaun/recurr": "^2.1" | |
} | |
} |
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 | |
function check($str) { | |
$length = strlen($str); | |
$rules = array('NULL', '()', '[]', '[NULL]','(NULL)', '()[]'); | |
$i = 0; | |
while ($i <= $length/2) { | |
foreach ($rules as $rule) { | |
$str = str_replace($rule, '', $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
#!/bin/bash | |
# PHP PSR2 CodeSniffer pre-commit hook | |
# | |
# @author Ahmed Siouani <ahmed.siouani@gmail.com> | |
# INIT | |
TMP_FOLDER=".tmp" | |
PHP_STANDARD="PSR2"; | |
function clean { |
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
/** | |
* @ORM\Table(name="room") | |
* @ORM\Entity(repositoryClass="Ahsio\StackBundle\Repository\RoomRepository") | |
*/ | |
class Room | |
{ | |
/** | |
* @ORM\Id | |
* @ORM\Column(type="integer") | |
* @ORM\GeneratedValue(strategy="AUTO") |
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
class Person extends Constraint | |
{ | |
/** | |
* (non-PHPdoc) | |
* @see Symfony\Component\Validator.Constraint::validatedBy() | |
*/ | |
public function validatedBy() | |
{ | |
return 'person_validator'; | |
} |
NewerOlder