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
export PATH="$(brew --prefix josegonzalez/php/php55)/bin:$PATH" |
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 CONCAT( | |
'bin/ams-gateway ams:cache-asset ', | |
ams_gateway_asset.asset, | |
' ', | |
ams_gateway_asset.nameOfRecipe | |
) AS command | |
FROM ams_gateway_asset | |
ORDER BY asset | |
LIMIT 0, 100 |
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 | |
$myVideo = rsfVideoEncoder::load('/test.avi') | |
->setOverwrite(TRUE) | |
->setSeekable(TRUE) | |
->setOutputFile('/test2.flv') | |
->setVideoFramerate(24) | |
->setVideoBitrate('600k') | |
->setAudioBitrate('96k') | |
->setAudioFrequency(44100) |
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
new function(_NO_SHRINK_) | |
{ | |
/** | |
* Package: Validator | |
* | |
* Properties: | |
* name - Validator | |
* version - 0.1 | |
* exports - <ValidatorBoolean>, <ValidatorString>, <ValidatorStringBehavior>, <register> |
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 __DIR__ . '/../lib/vendor/Symfony/lib/autoload/sfCoreAutoload.class.php'; | |
sfCoreAutoload::register(); | |
/** | |
* ProjectConfiguration. | |
* | |
* @author Marijn Huizendveld <marijn@round84.com> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<?xml-stylesheet type="text/xsl" href="transactions.xsl"?> | |
<transactions> | |
<transaction status="payed" id="AB-001"> | |
<sender> | |
<name>John</name> | |
<familyName>Doe</familyName> | |
<dateOfBirth format="YYYYMMDD">19541212</dateOfBirth> | |
<emailAddress>john@doe.name</emailAddress> | |
</sender> |
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 | |
namespace Entities; | |
/** | |
* @MappedSuperclass | |
*/ | |
abstract class EntityAbstract | |
{ |
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
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=MT-EXAMPLE.COM |
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; |
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) |
OlderNewer