/* Title: 草稿 Author: nojimage */
- 佐賀県に樋渡啓祐は必要ありません
description "gitlab service runner" | |
start on filesystem and started docker.io | |
stop on runlevel [!2345] | |
kill signal CONT | |
normal exit 0 CONT | |
respawn | |
setuid manager |
Host docker | |
Hostname 192.168.59.103 | |
User docker | |
IdentityFile ~/.ssh/id_boot2docker |
--- a/src/Phake/ClassGenerator/MockClass.php | |
+++ b/src/Phake/ClassGenerator/MockClass.php | |
@@ -230,9 +230,15 @@ class {$newClassName} {$extends} | |
{ | |
\$args = array(); | |
{$this->copyMethodParameters($method)} | |
- | |
- \$answer = \$this->__PHAKE_handlerChain->invoke(\$this, '{$method->getName()}', func_get_args(), \$args); | |
- | |
+ |
<?php | |
/** | |
* This file read before Configure::load('app') | |
*/ | |
use Dotenv; | |
/** | |
* required setting | |
*/ |
#!/usr/bin/env bash | |
TMP="/var/tmp/php-build" | |
PHP="/usr/bin/env php" | |
download_timecop() { | |
local timecop_url="$1" | |
if [ -z "$timecop_url" ]; then | |
timecop_url="https://github.com/hnw/php-timecop.git" |
#!/bin/env bash | |
## | |
# CVE-2015-0235 restart all services that using `glibc` | |
# | |
# original code: | |
# http://ma.ttias.be/critical-glibc-update-cve-2015-0235-gethostbyname-calls/#comment-10890 | |
## | |
servicelist=""; | |
for problemservice in `/usr/sbin/lsof 2> /dev/null | grep libc | awk '{print $1}' | sort -u`; do |
#!/usr/bin/env bash | |
## | |
# Custom PHPUnit script for Remote test on NetBaeans 8.0 | |
## | |
# | |
# Change these settings to your env | |
# | |
REMOTE_PKEY=~/.vagrant.d/insecure_private_key | |
REMOTE_SERVER=vagrant@192.168.33.10 |
<?php | |
/** | |
* | |
* Copyright 2015 ELASTIC Consultants Inc. | |
* | |
*/ | |
namespace App\Routing\Filter; |
diff --git a/lib/Cake/Utility/Inflector.php b/lib/Cake/Utility/Inflector.php | |
index 61a63c2..48b9fa1 100644 | |
--- a/lib/Cake/Utility/Inflector.php | |
+++ b/lib/Cake/Utility/Inflector.php | |
@@ -497,7 +497,7 @@ class Inflector { | |
public static function humanize($lowerCaseAndUnderscoredWord) { | |
if (!($result = self::_cache(__FUNCTION__, $lowerCaseAndUnderscoredWord))) { | |
$lowerCaseAndUnderscoredWord = self::underscore($lowerCaseAndUnderscoredWord); | |
- $result = explode(' ', str_replace('_', ' ', $lowerCaseAndUnderscoredWord)); | |
+ $result = explode(' ', str_replace(['_', '.'], [' ', '. '], $lowerCaseAndUnderscoredWord)); |