PHPUnitのバージョン | 対応するPHPのバージョン | PHPUnit Doc | pharファイル | ※DBUnit |
---|---|---|---|---|
3.7 | 5.3.3 以降 | doc | phpunit-3.7.38.phar | ○ |
4.0 | 5.3.3 以降 | doc | phpunit-4.0.20.phar | ○ |
4.1 | 5.3.3 以降 | doc | phpunit-4.1.6.phar | ○ |
4.2 | 5.3.3 以降 | doc | phpunit-4.2.6.phar | ○ |
4.3 | 5.3.3 以降 | doc | phpunit-4.3.5.phar | ○ |
4.4 | 5.3.3 以降 | [doc](ht |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>transform: scaleX(-1) されている要素のx座標を求める</title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width,initial-scale=1"> | |
<style> | |
body { | |
background: #b1acacb3; | |
} |
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 Sample2; | |
/** | |
* 当クラスでは更新命令を監視し(実際には教えてもらうが) | |
* | |
* - 最初の命令から閾値(マイクロ秒)以下で処理が実行されている場合、 | |
* 閾値 - 前回の処理から今回の処理までの実行間隔 の値で usleep を挟む | |
* |
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 Sample1; | |
/** | |
* 当クラスでは更新命令数を監視し(実際には教えてもらうが) | |
* | |
* - 最初の命令から閾値となる秒数が過ぎていない | |
* - かつ、監視していた実行数が許可された実行数を超えていたら | |
* 閾値 - 最初の計測から今回の処理までの実行間隔 の値で usleep |
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
import sys | |
import time | |
from datetime import datetime | |
import cv2 | |
''' | |
参考 | |
@link http://ensekitt.hatenablog.com/entry/2017/12/19/200000 | |
@link https://note.nkmk.me/python-opencv-face-detection-haar-cascade/ |
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
import sys | |
import cv2 # OpenCV のインポート | |
import time | |
from datetime import datetime | |
''' | |
参考 | |
@link http://ensekitt.hatenablog.com/entry/2017/12/19/200000 | |
@link https://note.nkmk.me/python-opencv-face-detection-haar-cascade/ | |
@link https://note.nkmk.me/python-opencv-mosaic/ |
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
import sys | |
import cv2 # OpenCV のインポート | |
''' | |
参考 | |
@link http://ensekitt.hatenablog.com/entry/2017/12/19/200000 | |
@link https://note.nkmk.me/python-opencv-face-detection-haar-cascade/ | |
@link https://note.nkmk.me/python-opencv-mosaic/ | |
@link http://workpiles.com/2015/04/opencv-detectmultiscale-scalefactor/ | |
''' |
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 | |
/** | |
* URLのステータスを返す | |
* | |
* <code> | |
* $ret = getUrlStatus($url); | |
* | |
* $ret->url; // string URL<br> | |
* $ret->reachedUrl; // string 最後に到達したURL<br> | |
* $ret->isValid; // bool 有効なURLか<br> |
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
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<title>Visualize the benchmark by d3.js</title> | |
<style> | |
body { | |
font: 12px sans-serif; | |
} | |
.axis 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
<?php | |
/** | |
* メッセージ(json)を返すAPIと仮定 | |
* | |
* あくまでもサンプルなので例外処理は入れていません | |
*/ | |
class Sample | |
{ | |
/** | |
* @var array |
NewerOlder