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 |
View Sample_PhpDocumentor_Hoge.php
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 | |
/** | |
* PHPDocumentorのちょっとしたサンプル | |
* @author shimabox | |
*/ | |
/** | |
* require | |
*/ | |
require_once './Interfaces/IHoge.php'; |
View alog.js
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
;(function(ns){ | |
if(typeof ns.alog === 'function') return; | |
ns.alog = function(){ | |
var args = [].slice.call(arguments).concat(); | |
if (/*@cc_on!@*/false) { | |
return alert(args); | |
} | |
View gem_mailcatcher.rb
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
# Cookbook Name:: app | |
# Recipe:: mailcatcher | |
# | |
# Copyright 2015, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
# rubyとgem は既に入っている想定 | |
# ruby -v => 2.0.0p598 |
View gem_mailcatcher
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
# | |
# Cookbook Name:: app | |
# Recipe:: mailcatcher | |
# | |
# Copyright 2014, YOUR_COMPANY_NAME | |
# | |
# All rights reserved - Do Not Redistribute | |
# | |
# rubyとgem は既に入っている想定 |
View phpunit_ajax_sample.php
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 |
View test_for_use_the_header_function.php
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 |
View d3_sample.html
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, |
View getUrlStatus.php
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> |
View PHPUnitとPHPのバージョン対応表.md
View face_and_eye_recognition.py
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/ | |
''' |
OlderNewer