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
Index: library/Zend/Log.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- library/Zend/Log.php (revision 5616) | |
+++ library/Zend/Log.php (revision ) | |
@@ -260,6 +260,7 @@ | |
$params = isset($config[ $type .'Params' ]) ? $config[ $type .'Params' ] : array(); |
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
sudo apt-get install make gcc bison re2c libxpm-dev libxml2-dev libpcre3-dev libsqlite3-dev libcurl4-dev | |
sudo apt-get install libpng-dev libjpeg-dev libmysqlclient-dev | |
./configure \ | |
--enable-embed \ | |
--with-regex=php \ | |
--with-xpm-dir=/usr \ | |
--disable-rpath \ | |
--disable-static \ | |
--with-pic \ |
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 Passy; | |
use Zend\ModuleManager\ModuleManager, | |
Zend\EventManager\StaticEventManager, | |
Zend\Mvc\MvcEvent; | |
class Module | |
{ |
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
# A simple example which assumes you have an ENUM('auto', 'manual') column "override" in your table. | |
INSERT INTO | |
foo( id, baz, bar ) | |
VALUES | |
( ?, ?, ? ) | |
ON DUPLICATE KEY UPDATE | |
baz = IF(override = 'auto', VALUES( baz ), baz), | |
bar = IF(override = 'auto', VALUES( bar ), 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 | |
/** | |
* Zend Framework (http://framework.zend.com/) | |
* | |
* @link http://github.com/zendframework/ZendSkeletonApplication for the canonical source repository | |
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | |
* @license http://framework.zend.com/license/new-bsd New BSD License | |
*/ | |
namespace Application; |
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 | |
$bin = pack('C*', 0xFF, 0xFA, 0x2C, 0x32, 0xFF, 0xF0, 0xFF); | |
$hex = unpack('H*', $bin); | |
$hex = $hex[1]; | |
echo "\nbinary: "; | |
$parts = explode(' ', chunk_split($hex, 2, ' ')); | |
foreach ($parts as $part) { | |
if ($part) printf('%1$08s ', base_convert($part, 16, 2)); |
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 ReproduceTest extends \PHPUnit_Extensions_SeleniumTestCase | |
{ | |
public function testFoo() | |
{ | |
throw new \Exception(); | |
} | |
} |
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 Tep | |
{ | |
/** | |
* amount of landmarks available | |
* @var integer | |
*/ | |
protected $lcount = 0; |
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
<!-- this label used to have a for="plane_colors" tag --> | |
<label class="desc optional">Kleurenpalet</label> | |
<label><input name="plane_colors[]" id="plane_colors-1" value="1" type="checkbox">Wit (100, 100, 100)</label><br> | |
<label><input name="plane_colors[]" id="plane_colors-2" value="2" checked="checked" type="checkbox">Rood (100, 0, 0)</label><br> | |
<label><input name="plane_colors[]" id="plane_colors-3" value="3" checked="checked" type="checkbox">Geel (100, 100, 0)</label><br> | |
<label><input name="plane_colors[]" id="plane_colors-4" value="4" type="checkbox">Groen (0, 100, 0)</label><br> | |
<label><input name="plane_colors[]" id="plane_colors-5" value="5" type="checkbox">Blauw (0, 0, 100)</label><br> | |
<label><input name="plane_colors[]" id="plane_colors-6" value="6" type="checkbox">Fullcolor (-, -, -)</label></div></li> |
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 Anse\Xmpp; | |
use Anse\Xmpp\Message\MessageInterface; | |
class Stream | |
{ | |
/** | |
* @var string |
OlderNewer