$ 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
SELECT e.* FROM event e WHERE e.aggregate_id = ?1 ORDER BY e.playhead ASC |
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
#!/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
config/vhost.conf | |
logs | |
documents | |
vendor |
.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
var _entities = { " "" : " " | |
, "¡" : "¡" | |
, "¢" : "¢" | |
, "£" : "£" | |
, "¤" : "¤" | |
, "¥" : "¥" | |
, "¦" : "¦" | |
, "§" : "§" | |
, "¨" : "¨" | |
, "©" : "©" |
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 | |
require_once 'PHPUnit/Framework.php'; | |
class ZipCodeTest extends PHPUnit_Framework_TestCase | |
{ | |
public function testDutchZipcodes () | |
{ | |
foreach (array('1017VN', '1017vn', '1017 VN', '1017 vn') as $zipCode) |
This list served quite some people but someone else did a better job since.
Go to https://github.com/umpirsky/country-list for a list in your language and format.
I've also compiled a list of nationalities
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 VideoEncoder | |
{ | |
/** | |
* @var string | |
*/ | |
private $_outputFile; |