https://developers.google.com/transit/gtfs-realtime/gtfs-realtime-proto
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
diff --git a/src/PhpSpec/Console/Command/RunCommand.php b/src/PhpSpec/Console/Command/RunCommand.php | |
index ca4a61e..64319d3 100644 | |
--- a/src/PhpSpec/Console/Command/RunCommand.php | |
+++ b/src/PhpSpec/Console/Command/RunCommand.php | |
@@ -33,6 +33,7 @@ class RunCommand extends Command | |
new InputOption('format', 'f', InputOption::VALUE_REQUIRED, 'Formatter'), | |
new InputOption('stop-on-failure', null , InputOption::VALUE_NONE, 'Stop on failure'), | |
new InputOption('no-code-generation', null , InputOption::VALUE_NONE, 'Do not prompt for missing method/class generation'), | |
+ new InputOption('bootstrap', "b", InputOption::VALUE_OPTIONAL, 'bootstrap file', "SpecHelper.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
diff --git a/src/Composer/Config.php b/src/Composer/Config.php | |
index 087949e..ec6f3e1 100644 | |
--- a/src/Composer/Config.php | |
+++ b/src/Composer/Config.php | |
@@ -58,6 +58,9 @@ class Config | |
// load defaults | |
$this->config = static::$defaultConfig; | |
$this->repositories = static::$defaultRepositories; | |
+ if (getenv("COMPOSER_REPOSITORY_URL")) { | |
+ $this->repositories['packagist']['url'] = getenv("COMPOSER_REPOSITORY_URL"); |
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
static void git_ex_cb(INTERNAL_FUNCTION_PARAMETERS) | |
{ | |
zval *payload, *this = getThis(); | |
char *oid; | |
int oid_len; | |
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, | |
"sz", &oid, &oid_len, &payload) == FAILURE) { | |
return; | |
} |
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
PROJECT(ex) | |
CMAKE_MINIMUM_REQUIRED(VERSION 2.8) | |
INCLUDE(FindProtobuf) | |
FIND_PACKAGE(Protobuf REQUIRED) | |
FILE(GLOB ProtoFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.proto") | |
PROTOBUF_GENERATE_CPP(ProtoSources ProtoHeaders ${ProtoFiles}) | |
FILE(GLOB SRC_EX *.cc) | |
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}) |
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 Chobie\BlogBundle\Render; | |
class HtmlRender extends \Sundown\Render\HTML | |
{ | |
protected $emoji; | |
public function __construct($options) | |
{ | |
parent::__construct($options); |
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
diff --git a/Zend/zend.h b/Zend/zend.h | |
index 1377fd5..59d811a 100644 | |
--- a/Zend/zend.h | |
+++ b/Zend/zend.h | |
@@ -588,6 +588,8 @@ typedef int (*zend_write_func_t)(const char *str, uint str_length); | |
#define IS_CONSTANT 8 | |
#define IS_CONSTANT_ARRAY 9 | |
#define IS_CALLABLE 10 | |
+#define IS_BYTE 11 | |
+#define IS_ORD 12 |
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 | |
/** | |
* Deflate functions | |
* | |
* originally written by Takahiko Kawasaki. | |
* porting by Shuhei Tanuma. | |
* | |
* @see http://darutk-oboegaki.blogspot.jp/2011/09/gzip-decompression-in-c.html | |
*/ |
By cj on Feb 12, 2013
The PHP RFC process has been in place for a while, and users new to core PHP development are starting to use RFCs to propose desirable features.
PHPのRFCの運用が始まり、新参のコア開発もRFCを使って望ましい機能の提案が行えるようになりました。
Here are some personal observations and suggestions that show how I have seen feature acceptance and the RFC process work in practice. These notes augment the steps in How To Create an RFC. I hope they help set expectations about the PHP RFC process and feature acceptance in the PHP language.
この文章では今まで私が見てきた新機能の承認やRFCのプロセスにおいて、RFCをすすめる上でよい方法を示すためのいくつかの個人的な観察と提案を記します。