This file contains hidden or 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
/** | |
* Projet 2 - Attrape-Sous | |
* BRISSET Dimitri & CLAVIE Baptiste | |
* L1 Promo 2012 - Groupe C | |
* Pour le 30/01/2008 | |
*/ | |
#include "conio.h" | |
#include <time.h> |
This file contains hidden or 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 Foo | |
{ | |
public function doSomething() | |
{ | |
return $this; | |
} | |
} |
This file contains hidden or 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 | |
use Swarrot\Consumer; | |
use Swarrot\Broker\MessageProvider\PeclPackageMessageProvider; | |
use Swarrot\Broker\MessagePublisher\PeclPackageMessagePublisher; | |
use Swarrot\Broker\Message; | |
use Swarrot\Processor\RPC\RpcClientProcessor; | |
use Swarrot\Processor\ProcessorInterface; | |
class Processor implements ProcessorInterface | |
{ |
This file contains hidden or 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 Acme\TagBundle\Entity; | |
use Symfony\Component\Validator\Constraints as Assert; | |
use Doctrine\ORM\Mapping as ORM, | |
Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* Tag Entity |
This file contains hidden or 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 | |
/** @Entity */ | |
class Foo | |
{ | |
/** @Id @Column(...) */ | |
private $id; | |
/** @Column(...) */ | |
private $prop; |
This file contains hidden or 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
info - socket.io started | |
debug - client authorized | |
info - handshake authorized dalE823IiAof2aYIc5Vj | |
debug - setting request GET /socket.io/1/websocket/dalE823IiAof2aYIc5Vj/? | |
debug - set heartbeat interval for client dalE823IiAof2aYIc5Vj | |
debug - client authorized for | |
debug - websocket writing 1:: | |
user connected | |
here we are in action event and data is: {"foo":"bar"} |
This file contains hidden or 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 | |
use Guzzle\Http\Client, | |
Guzzle\Plugin\Oauth\OauthPlugin; | |
$oauth = [/* ... */]; | |
$plugin = new OauthPlugin($oauth); | |
$client = new Client('https://api.twitter.com/1.1'); |
This file contains hidden or 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 | |
use \AMQPQueue, | |
\AMQPChannel, | |
\AMQPExchange, | |
\AMQPEnvelope, | |
\AMQPConnection; | |
require __DIR__ . '/vendor/autoload.php'; |
This file contains hidden or 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 | |
use Symfony\Component\Process\ProcessBuilder, | |
Symfony\Component\Process\ProcessUtils; | |
$builder = new ProcessBuilder; | |
$builder->setPrefix(['--argument-name', 'argument value']); | |
// after the ProcessUtils |
This file contains hidden or 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 | |
/* | |
* Several strings to interpret | |
* With possibly several expressions in each of those | |
* In the service where the cloud lies within | |
* One string to interpret, One string to ease the perfs | |
* One string to bring out some stats, and in an array binds them | |
* In the service where the cloud lies within | |
*/ | |
// some code § |