I hereby claim:
- I am slax0rr on github.
- I am slax0r (https://keybase.io/slax0r) on keybase.
- I have a public key ASDymdeL5oA9kJUqu7yjVwFExut-kE8gTv_b2gc-46Yzrwo
To claim this, I am signing this object:
<div class="mermaid"> | |
sequenceDiagram | |
actor user as User | |
participant traefik as Traefik | |
participant auth as Authentication Service | |
participant order as Order Service | |
user->>traefik: GET /order/{id} | |
Note right of traefik: ForwardAuth request |
I hereby claim:
To claim this, I am signing this object:
package countries | |
//go:generate go run gen.go | |
type Country struct { | |
ISO2 string `json:"iso2"` | |
ISO3 string `json:"iso3"` | |
Name string `json:"name"` | |
Continent string `json:"continent"` | |
} |
<?php | |
use Ratchet\Server\IoServer; | |
use Ratchet\Http\HttpServer; | |
use Ratchet\WebSocket\WsServer; | |
class Ratchet extends CI_Controller | |
{ | |
public function start() | |
{ | |
IoServer::factory( |
<?php | |
class Foo | |
{ | |
public function bar($output, $model) | |
{ | |
// magic ... | |
$output->addData(["foo" => $model->getFoo()]); | |
} | |
} |
#!/bin/bash | |
# | |
# Run all PHP commands through a docker container | |
# | |
VER=${PHPVERSION:-7.0-cli} | |
ARGS="-a" | |
if [ $# -gt 0 ]; then | |
ARGS="$@" | |
fi | |
docker run -it --rm -v $(pwd):/code -w /code php:$VER php $ARGS |
I hereby claim:
To claim this, I am signing this object:
{"100":[1000,500,100],"50":[500,100,50],"10":[100,50,10],"1000":[10000,5000,1000]} |