Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
Common sense isn't all that common.

Rob alcohol

🤔
Common sense isn't all that common.
View GitHub Profile
@alcohol
alcohol / 2.4.6.output
Created Apr 27, 2022
Caddy 2.4.6 vs 2.5.0
View 2.4.6.output
array(60) {
["AUTH_TYPE"]=>
string(0) ""
["CONTENT_LENGTH"]=>
string(1) "0"
["CONTENT_TYPE"]=>
string(0) ""
["DOCUMENT_ROOT"]=>
string(4) "/srv"
["DOCUMENT_URI"]=>
View services.yml
services:
Symfony\Component\HttpClient\HttpClient: ~
sdk.client.http:
factory: ['@Symfony\Component\HttpClient\HttpClient', 'create']
arguments:
$defaultOptions:
base_uri: '%sdk.endpoint%'
auth_basic: '%sdk.apikey%:%sdk.apisecret%'
View app-AppKernel.php
<?php declare(strict_types=1);
use Symfony\Component\Config\Loader\LoaderInterface;
use Symfony\Component\HttpKernel\Kernel;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
View keybase.md

Keybase proof

I hereby claim:

  • I am alcohol on github.
  • I am alcohol (https://keybase.io/alcohol) on keybase.
  • I have a public key ASDyEKB_jg7Zg78O-TwSTi39NyXtJVOCUsk-AuJYRlovZwo

To claim this, I am signing this object: