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
| .red { | |
| color: #f00; | |
| } | |
| .reveal .slides section .fragment.through { | |
| opacity: 1; | |
| } | |
| .reveal .slides section .fragment.through.visible { | |
| text-decoration: line-through; |
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 | |
| declare(encoding='UTF-8'); | |
| /* あああ */ | |
| ?> |
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 | |
| // composer require react/react:\* | |
| require __DIR__ . '/vendor/autoload.php'; | |
| use React\EventLoop\Factory; | |
| use React\Socket\Server as SocketServer; | |
| use React\Http\Server as HttpServer; | |
| use React\Http\Request; | |
| use React\Http\Response; |
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 | |
| interface SayInterface | |
| { | |
| public function say(); | |
| } | |
| class Ore implements SayInterface | |
| { | |
| public function say() | |
| { |
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 | |
| require __DIR__ . '/vendor/autoload.php'; | |
| use Symfony\Component\Console\Application; | |
| use Symfony\Component\Console\Command\Command; | |
| use Symfony\Component\Console\Input\InputOption; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| class MyApplication extends Application |
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 | |
| require __DIR__ . '/vendor/autoload.php'; | |
| use Symfony\Component\Console\Application; | |
| use Symfony\Component\Console\Command\Command; | |
| use Symfony\Component\Console\Input\InputOption; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| $commands = []; |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script> | |
| <script> | |
| $(function(){ | |
| $('#aaa').click(function(){ |
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
| var httpProxy = require('http-proxy'); | |
| var url = require('url'); | |
| var net = require('net'); | |
| var http = require('http'); | |
| process.on('uncaughtException', function (err) { | |
| console.error('! uncaughtException: ' + err.stack); | |
| }); |
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
| #!/usr/bin/env bash | |
| # example) | |
| # ./phpunit-watch src/ tests/ -c tests/ --colors | |
| set -e | |
| set -u | |
| function usage | |
| { |
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
| function phpunit | |
| { | |
| local root="${PWD}" | |
| while [ -n "${root}" ]; do | |
| if [ -x "${root}/vendor/bin/phpunit" ]; then | |
| break | |
| fi | |
| root="${root%/*}" | |
| done |