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
0. ローカルでdevelopブランチに変更をpushする | |
1. デプロイサーバでリポジトリをcloneする | |
2. デプロイサーバで `git daily release open` をする | |
- release-xxxxxxxx ブランチがdevelopをベースに作成される | |
3. ステージングサーバにデプロイする | |
4. ステージングサーバでテストする | |
----------修正がある場合------------ | |
5. ローカルで `git daily release sync` をする | |
- 2で作成したreleaseブランチがpullされる | |
6. releaseブランチに変更をコミットする |
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 Client | |
{ | |
public function load($file) { | |
return $this->getContents($file); | |
} | |
protected function getContents($file) | |
{ |
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
require 'formula' | |
def mysql_installed? | |
`which mysql_config`.length > 0 | |
end | |
class Php < Formula | |
url 'http://www.php.net/get/php-5.3.6.tar.gz/from/this/mirror' | |
homepage 'http://php.net/' | |
md5 '88a2b00047bc53afbbbdf10ebe28a57e' |
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
d_qsort.o Zend/zend_multibyte.o Zend/zend_ts_hash.o Zend/zend_stream.o Zend/zend_iterators.o Zend/zend_interfaces.o Zend/zend_exceptions.o Zend/zend_strtod.o Zend/zend_gc.o Zend/zend_closures.o Zend/zend_float.o Zend/zend_objects.o Zend/zend_object_handlers.o Zend/zend_objects_API.o Zend/zend_default_classes.o Zend/zend_execute.o ext/pcntl/pcntl.o ext/pcntl/php_signal.o ext/readline/readline.o sapi/cli/php_cli.o sapi/cli/php_cli_readline.o main/internal_functions_cli.o -lz -lexslt -ltidy -lresolv -lreadline -lncurses -liodbc -lmcrypt -lltdl -lldap -llber -liconv -lintl -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lbz2 -lz -lssl -lcrypto -lm -lxml2 -lz -liconv -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lxml2 -lz -liconv -lm -lm -licui18n -licuuc -licudata -lm -licuio -liodbc -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxslt -lxml2 -lz -licucore -lm -o sapi/cli/php | |
Undefined symbols: | |
" |
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
git clone https://github.com/symfony/symfony-bootstrapper.git | |
mkdir -p symfony-bootstrapper/src/vendor | |
cd symfony-bootstrapper/src/vendor | |
git clone git://github.com/symfony/symfony.git symfony | |
git clone git://github.com/doctrine/doctrine2.git doctrine | |
git clone git://github.com/doctrine/data-fixtures doctrine-data-fixtures | |
git clone git://github.com/doctrine/dbal.git doctrine-dbal | |
git clone git://github.com/doctrine/common.git doctrine-common |
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 Kubota | |
{ | |
static function anatoo() | |
{ | |
echo 'もうだめやー', PHP_EOL; | |
} | |
} |
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 frontendConfiguration extends sfApplicationConfiguration | |
{ | |
public function configure() | |
{ | |
$this->dispatcher->connect('template.filter_parameters', array($this, 'filterTemplateParameters')); | |
} | |
public function filterTemplateParameters(sfEvent $event, $parameters) |
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 '/home/fivestar/projects/vendor/symfony-project.org/branches/1.4/lib/autoload/sfCoreAutoload.class.php'; | |
sfCoreAutoload::register(); | |
class ProjectConfiguration extends sfProjectConfiguration | |
{ | |
protected $annotationCache; | |
public function setup() |
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 Application\FivestarBundle\Entity; | |
use Symfony\Component\Validator\Constraints\MinLength; | |
use Symfony\Component\Validator\Constraints\MaxLength; | |
use Symfony\Component\Validator\Constraints\AssertType; | |
use Symfony\Component\Validator\Mapping\ClassMetadata; | |
class Address |