$ ssh -l <username> -p <ssh-port> <domain>
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 _entities = { " "" : " " | |
, "¡" : "¡" | |
, "¢" : "¢" | |
, "£" : "£" | |
, "¤" : "¤" | |
, "¥" : "¥" | |
, "¦" : "¦" | |
, "§" : "§" | |
, "¨" : "¨" | |
, "©" : "©" |
.png)
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
config/vhost.conf | |
logs | |
documents | |
vendor |
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/sh | |
sismo --quiet build `git name-rev --name-only HEAD | xargs -I {} echo "Pink Tie/CoreBundle/{}" | tr '[A-Z]' '[a-z]' | tr "/" "-" | tr " " "-"` `git log -1 HEAD --pretty="%H"` & |
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 | |
final class BlogPost | |
{ | |
private $created; | |
private $publish; | |
public function __construct() | |
{ | |
$this->created = new DateTime('now'); |
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
SELECT e.* FROM event e WHERE e.aggregate_id = ?1 ORDER BY e.playhead ASC |
Moved to @marijn/spil.
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 | |
$collection = new Doctrine\Common\Collection\ArrayCollection(); | |
// add objects to the collection that contain a getCreated method returning a DateTime instance | |
$iterator = $collection->getIterator(); | |
$iterator->uasort(function ($first, $second) { | |
if ($first === $second) { |
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 DateTimeTest extends PHPUnit_Framework_TestCase | |
{ | |
private $dateTimeZone; | |
public function setUp() | |
{ | |
$this->dateTimeZone = new DateTimeZone("UTC"); | |
} |