There are currently 3 types of errors:
- Server errors
- Client errors
- Forms validations errors
The Error object
-----BEGIN CERTIFICATE----- | |
MIIDmDCCAoCgAwIBAgIEaXZGFjANBgkqhkiG9w0BAQsFADB0MQswCQYDVQQGEwJVUzEZMBcGA1UE | |
CxMQVXNlcm5hbWU6IGJndWVyeTFKMEgGA1UEAwxBXyBETyBOT1QgSU5TVEFMTCB1bmxlc3MgdGhp | |
cyBpcyB5b3VyIGNlcnRpZmljYXRlIChKTWV0ZXIgcm9vdCBDQSkwHhcNMTUwNjA5MDk0MjM2WhcN | |
MTUwNjE2MDk0MjM2WjB0MQswCQYDVQQGEwJVUzEZMBcGA1UECxMQVXNlcm5hbWU6IGJndWVyeTFK | |
MEgGA1UEAwxBXyBETyBOT1QgSU5TVEFMTCB1bmxlc3MgdGhpcyBpcyB5b3VyIGNlcnRpZmljYXRl | |
IChKTWV0ZXIgcm9vdCBDQSkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC01TE6fnQP | |
VQtoHyI85tVe5YQzxBsS0ZKwRNr7bWGplku1GOZoSGuR8sgnqiK7vrWk7io6ESbiB8X4EXBSsABR | |
rkhrwSZINIdAoJ4+ZZVCTDTpxKFXbLbXZze8+xP8PD78HDEr4HxXcbBCAM0W5IwnyfdPMhJQ2ZcF | |
sE2PfJDHwJ5RJDPXHljZUDhDyu4ZGp5fEt0o6CuDfpOsStcPGiGhcKiXv3vFUN9gEKMATPGLUd8N |
angle | |
armoire | |
banc | |
bureau | |
cabinet | |
carreau | |
chaise | |
classe | |
clef | |
coin |
$ cd /tmp
$ git clone https://github.com/antirez/disque.git
$ cd disque/
$ make
$ make test
$ sudo make install
$ sudo useradd -M -r disque
$ mkdir /etc/disque/
$ cp disque.conf /etc/disque/
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.0</real> |
#!/bin/bash | |
# Author: Boris Guéry <guery.b@gmail.com> | |
usage() { | |
cat <<EOF | |
usage: $0 <command> [-h] [-y] [-vvv] [-d] [<args>] | |
Currently supported commands are: | |
push Push current database data to S3 | |
pull Download latest database snapshot and remove existing one | |
EOF |
#!/usr/bin/env php | |
<?php | |
function wsse_header($username, $password) { | |
$nonce = hash_hmac('sha512', uniqid(null, true), uniqid(), true); | |
$created = new DateTime('now', new DateTimezone('UTC')); | |
$created = $created->format(DateTime::ISO8601); | |
$digest = sha1($nonce.$created.$password, true); | |
return sprintf( |
PHPUnit 5.1.4 by Sebastian Bergmann and contributors. | |
Bgy\Tests\Commanding\ConventionalCommandHandler | |
[x] Handle method properly handles command | |
Bgy\Tests\EventStore\OptimisticConcurrencyPolicy | |
[x] If expected revision is any it should not throw any exception | |
[x] If no stream or empty is expected but actual stream is not, optimistic concurrency should failed | |
[x] If a revision is expected but the stream does not exist, optimistic concurrency should failed | |
[x] If a revision is expected but different from the actual, optimistic concurrency should failed |
#!/usr/bin/env php | |
<?php | |
require __DIR__.'/../vendor/autoload.php'; | |
use Aws\S3\S3Client; | |
$options = getopt('a:s:d:b:c:vh'); | |
if (isset($options['h'])) { |