Url : https://dl.dropbox.com/s/iz23s315dqezd86/base-squeeze64-dotdeb.box?dl=1
$ cat /etc/debian_version
6.0.4$ puppet --versionUrl : https://dl.dropbox.com/s/iz23s315dqezd86/base-squeeze64-dotdeb.box?dl=1
$ cat /etc/debian_version
6.0.4$ puppet --version| <VirtualHost *:80> | |
| ServerAdmin webmaster@localhost | |
| DocumentRoot /vagrant/web | |
| DirectoryIndex index.php | |
| <Directory /vagrant/web> | |
| Options Indexes FollowSymLinks MultiViews | |
| AllowOverride All | |
| Order allow,deny |
| #! /bin/bash | |
| DB_NAME=$1 | |
| DB_USERNAME=$DB_NAME | |
| DB_PASSWORD="$DB_USERNAME++" | |
| if [ $# -ge 2 ]; then | |
| DB_USERNAME=$2 | |
| fi; |
Url : https://dl.dropbox.com/s/hz4x93otqo6xupl/base-squeeze64-dotdeb-lamp-54-silex.box?dl=1
$ cat /etc/debian_version
6.0.4| <?php | |
| class KuiKui_MyProject_MyClass | |
| { | |
| protected $id; | |
| public function setId($id) | |
| { | |
| $this->id = (int) $id; |
| <?php | |
| class Provider | |
| { | |
| public function getFirewall() | |
| { | |
| $firewall = new Firewall(); | |
| $firewall->setDefaultState(false); |
| <?php | |
| class Provider | |
| { | |
| protected firewallClass; | |
| public function setFirewallClass($firewallClass) | |
| { | |
| $this->firewallClass = $firewallClass; | |
| } |
| <?php | |
| interface FirewallInterface | |
| { | |
| public function getIp(); | |
| public function handle(); | |
| // … déclarations des fonctions essentielles pour un firewall | |
| } | |
| class Firewall extends Composant\Firewall implements FirewallInterface |
| <?php | |
| public function testGetFirewall() | |
| { | |
| $provider = new Provider(); | |
| $provider->setFirewallClass('\mock\FirewallInterface'); | |
| $firewall = $provider->getFirewall(); | |
| $this |
| # Configuration file for Coke, "Enjoy sniffing your code" : https://github.com/M6Web/Coke | |
| # Command used to launch PHP CodeSniffer (optional - default: phpcs) | |
| command=phpcs | |
| # Standard used by PHP CodeSniffer (required) | |
| standard=Symfony2 | |
| # Verbose mode (optional - default: false) | |
| verbose=true |