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
| #!bash | |
| # | |
| # bash completion support for core Git. | |
| # | |
| # Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> | |
| # Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
| # Distributed under the GNU General Public License, version 2.0. | |
| # | |
| # The contained completion routines provide support for completing: | |
| # |
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 | |
| /** | |
| * Encrypt behavior | |
| * | |
| */ | |
| class EncryptBehavior extends ModelBehavior { | |
| // Encryption settings | |
| const CIPHER = MCRYPT_RIJNDAEL_128; | |
| const MODE = MCRYPT_MODE_CBC; |
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
| // | |
| // MyTestSegue.m | |
| // StoryBoardTest | |
| // | |
| #import "MyTestSegue.h" | |
| @implementation MyTestSegue | |
| - (void)perform |
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
| location / { | |
| index index.php index.html index.htm; | |
| if (!-e $request_filename) { | |
| rewrite ^(.*)$ /index.php?url=$1 last; | |
| break; | |
| } | |
| } | |
| location ~ .php(/|$) { | |
| fastcgi_split_path_info ^(.+\.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
| <?php | |
| // 大分やっつけ感がある感じ...orz | |
| class CoMeeting { | |
| private $url = 'https://www.co-meeting.com'; | |
| private $cookie = null; | |
| private $params = null; | |
| public function __construct($config='config.php') | |
| { | |
| include($config); |
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 | |
| // 大分やっつけ感がある感じ...orz | |
| class CoMeeting { | |
| private $url = 'https://www.co-meeting.com'; | |
| private $cookie = null; | |
| private $params = null; | |
| public function __construct($config='config.php') | |
| { | |
| include($config); |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <project name="name-of-project" default="build"> | |
| <target name="build" depends="prepare,lint,phploc,pdepend,phpcb,phpmd-ci,phpcs-ci,phpcpd,phpunit"/> | |
| <target name="build-parallel" depends="prepare,lint,tools-parallel,phpunit"/> | |
| <target name="tools-parallel" description="Run tools in parallel"> | |
| <parallel threadCount="3"> | |
| <sequential> | |
| <antcall target="pdepend"/> |
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
| default["fluentd"]["path"] = '/usr/lib/fluent' | |
| default["fluentd"]["plugins"] = [] |
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 Nifty\Cloud\mBaaS; | |
| class API | |
| { | |
| public $settings = [ | |
| 'application_key' => null, | |
| 'client_key' => null, | |
| 'api_url' => 'https://mb.api.cloud.nifty.com/2013-09-01/', | |
| 'SignatureMethod' => 'HmacSHA256', |
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
| # 概要 | |
| * トータル4時間。 | |
| * 完成形はgithubで公開 | |
| * 手順は[stypi_](https://code.stypi.com/kaz29/php_ci_book_handson/code)でリアルタイムに共有 | |
| * boxファイルはUSBで配布 | |
| * 事前にVagrant/VirtualBoxのインストールまではすませおいてもらう | |
| * 念のためUSBには、Win/Macのインストーラを入れておく | |
| # メニュー |