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 AppBundle\Command; | |
use AppBundle\Entity\Departement; | |
use AppBundle\Entity\Region; | |
use AppBundle\Entity\Ville; | |
use Doctrine\ORM\EntityManager; | |
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | |
use Symfony\Component\Console\Input\InputArgument; |
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 | |
### | |
# Ce fichier sert à construire un serveur de test (pour les tutoriels) rapidement | |
# NE PAS UTILISER EN PROD ! | |
### | |
# Variables | |
export DEBIAN_FRONTEND=noninteractive |
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
var circleSegment = function(centerX, centerY, radius, startAngle, endAngle) { | |
var PI = Math.PI, | |
cos = Math.cos, | |
sin = Math.sin | |
var startRadians = startAngle * PI / 180, | |
endRadians = endAngle * PI / 180, | |
largeArc = ((endRadians - startRadians) % (PI * 2)) > PI ? 1 : 0 |
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
#!/usr/bin/env ruby | |
require 'date' | |
servers = { | |
"hostname" => "directory_name", | |
"hostname" => "directory_name", | |
"hostname" => "directory_name", | |
"hostname" => "directory_name", | |
"hostname" => "directory_name" | |
} |
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
define(`SMART_HOST',`smtp.free.fr') | |
GENERICS_DOMAIN(localhost.localdomain localhost)dnl | |
FEATURE(`genericstable')dnl | |
MASQUERADE_AS(`free.fr')dnl | |
FEATURE(masquerade_envelope)dnl |
NewerOlder