Skip to content

Instantly share code, notes, and snippets.

View VeryStrongFingers's full-sized avatar
⚰️
Coding

Mitchell M VeryStrongFingers

⚰️
Coding
  • Melbourne, Australia
View GitHub Profile
@VeryStrongFingers
VeryStrongFingers / helm-traefik-values.yaml
Created July 31, 2020 13:25
helm-traefik-values.yaml
# Default values for Traefik
image:
name: traefik
tag: 2.2.5
#
# Configure the deployment
#
deployment:
enabled: true
@VeryStrongFingers
VeryStrongFingers / ResourceItemNormalizer.php
Last active November 2, 2021 08:52
ResourceItemNormalizer.php
<?php
declare(strict_types=1);
namespace App\Serializer;
use ApiPlatform\Core\Api\IriConverterInterface;
use ApiPlatform\Core\Serializer\AbstractItemNormalizer;
use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;
@VeryStrongFingers
VeryStrongFingers / php-phpdbg-proxy.sh
Last active June 29, 2020 06:53
PHPStorm - PHP-PHPDBG Interpreter proxy
#!/bin/bash
#### Dirty/Fake PHP Interpreter to trick PHPStorm into using PHPDBG for running tests with/without code coverage
## For Mac/Linux only, Window's ubuntu subsystem theoretically would work too
##
## JETBRAINS IMPLEMENTED THE FEATURE REQUEST. No need to use this script anymore.
##
##
## Related JetBrain's issues/feature requests
## https://youtrack.jetbrains.com/issue/WI-21414
@VeryStrongFingers
VeryStrongFingers / Request.php
Last active November 18, 2018 23:04
Phalcon: Content-Type application/json support with Phalcon\Http\Request
<?php
namespace Pebkac\Phalcon\Http;
use Phalcon\Http\Request as HttpRequest;
/**
* Written to work with Phalcon 2.0.8
*/
class Request extends HttpRequest
{