current -> releases/20170409123456
releases/
20170407100000/
20170409091001/
20170409123456/
shared/
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
console.log('counter loading...'); | |
const counter = { | |
no: 0 | |
}; | |
export default counter; |
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 | |
declare(strict_types=1); | |
namespace Acme\Account\UseCases; | |
use Acme\Account\Models\Account; | |
use Acme\Account\Models\AccountNumber; | |
use Acme\Account\Models\Money; | |
final class TransferMoney |
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
#!/bin/sh | |
set -eux | |
VERSION=7.58.0 | |
OUTPUT=/opt/build | |
rm -rf ${OUTPUT} | |
mkdir ${OUTPUT} | |
yum install -y openssl-devel gcc bzip2 make |
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
package main | |
import ( | |
"github.com/labstack/echo" | |
"fmt" | |
"log" | |
"os" | |
) | |
func main() { |
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
{ | |
"require": { | |
"php": ">=5.6.4", | |
"cakephp/chronos": "^1.1", | |
"goodby/csv": "^1.3", | |
"laravel/framework": "5.4.*", | |
"laravel/tinker": "~1.0", | |
"laravelcollective/html": "^5.4", | |
"rollbar/rollbar": "^1.2", | |
"s-ichikawa/laravel-sendgrid-driver": "^1.2" |
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 | |
const LOOP = 1000000; | |
$bench = function (string $label, callable $func) { | |
$s = microtime(true); | |
for ($i = 0 ; $i < LOOP ; $i++) { | |
$func(1, 2); | |
} | |
echo '=== ' . $label, PHP_EOL; | |
echo (microtime(true) - $s), PHP_EOL; |
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 | |
const HOST = '49.212.25.40'; | |
const PORT = '80'; | |
function createStream() { | |
$errorNo = $errorMessage = null; | |
$stream = stream_socket_client(HOST . ':' . PORT, $errorNo, $errorMessage, 10); | |
if (!$stream) { | |
throw new \Exception($errorNo . ':', $errorMessage); | |
} |
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
aaaaa |
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 Acme; | |
class Foo | |
{ | |
public static function hello() | |
{ | |
var_dump('Hello'); | |
} | |
} |