I hereby claim:
- I am mathroc on github.
- I am mathroc (https://keybase.io/mathroc) on keybase.
- I have a public key ASCgSWSIXBKRMkz8zUnbeRwpvI8PiLYaUWE7z7ZEI5YTWAo
To claim this, I am signing this object:
<?php | |
// Translator | |
interface Translator | |
{ | |
/** | |
* @param array<mixed> $context | |
*/ | |
public function translate(string $message, array $context = [], ?LocalesPreferences $localesPreferences = null): string; |
I hereby claim:
To claim this, I am signing this object:
Verifying that "mathroc.id" is my Blockstack ID. https://onename.com/mathroc |
proxy: | |
image: jwilder/nginx-proxy | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock:ro | |
ports: | |
- 5498:80 | |
backend: | |
image: php:5.6-apache | |
environment: | |
VIRTUAL_HOST: test-jwilder-nginx-proxy.127.0.0.1.xip.io |
I hereby claim:
To claim this, I am signing this object:
{ | |
"arg_no_default____config_false_no_cli___" : false, | |
"arg_default_true__config_false_no_cli___" : false, | |
"arg_default_false_config_false_no_cli___" : false, | |
"arg_no_default____config_true__no_cli___" : true, | |
"arg_default_true__config_true__no_cli___" : true, | |
"arg_default_false_config_true__no_cli___" : true, | |
"arg_no_default____config_true__cli_true_" : true, | |
"arg_default_true__config_true__cli_true_" : true, | |
"arg_default_false_config_true__cli_true_" : true, |
┐┌┐┌┐ | |
┘└┘└┘\ₒ/ | |
┐┌┐┌┐ ∕ Friday | |
┘└┘└┘ノ) | |
┐┌┐┌┐ deploy, | |
┘└┘└┘ | |
┐┌┐┌┐ good | |
┘└┘└┘ | |
┐┌┐┌┐ luck! | |
│││││ |
docker run -d --restart=always -v /var/run/docker.sock:/tmp/docker.sock:ro --name reverseproxy -p 80:80 jwilder/nginx-proxy | |
docker run -d --restart=always -v /var/run/docker.sock:/tmp/docker.sock:ro --name virtual_hosts -e VIRTUAL_HOST=dev.127.0.0.1.xip.io texthtml/docker-vhosts | |
# set VIRTUAL_HOST env var in others containers to make them discoverable |
#!/usr/bin/php | |
<?php | |
$address = '127.0.0.1'; | |
// Create a new socket | |
$sock = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); | |
// Bind the source address | |
socket_bind($sock, $address); |
/** | |
* CSS is awesome | |
*/ | |
div { | |
border: 2px solid black; | |
width: 84px; | |
height: 84px; | |
text-transform: uppercase; | |
padding: 11px; |