Skip to content

Instantly share code, notes, and snippets.

View theofidry's full-sized avatar
:octocat:

Théo FIDRY theofidry

:octocat:
View GitHub Profile
<?php
namespace _HumbugBoxa613656a6f3c\Twig\Extension;
use _HumbugBoxa613656a6f3c\Twig\ExpressionParser;
use _HumbugBoxa613656a6f3c\Twig\Node\Expression\Binary\AddBinary;
use _HumbugBoxa613656a6f3c\Twig\Node\Expression\Binary\AndBinary;
use _HumbugBoxa613656a6f3c\Twig\Node\Expression\Binary\BitwiseAndBinary;
use _HumbugBoxa613656a6f3c\Twig\Node\Expression\Binary\BitwiseOrBinary;
use _HumbugBoxa613656a6f3c\Twig\Node\Expression\Binary\BitwiseXorBinary;
==67807== Memcheck, a memory error detector
==67807== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==67807== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==67807== Command: php vendor/bin/phpunit --coverage-xml=dist
==67807==
--67807-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option
--67807-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times)
--67807-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times)
==67807== Conditional jump or move depends on uninitialised value(s)
==67807== at 0x10037E42A: .LL02 (zend_string.c:403)
@theofidry
theofidry / Makefile
Last active September 7, 2020 13:59
frontend/src/assets/icons/svg-icons.ts: $(find -f frontend/src/assets/icons/svg/**/*.svg)
echo 'yo'
@theofidry
theofidry / profile.php
Created March 17, 2020 17:24
Infection profiling with Blackfire SDK
<?php
declare(strict_types=1);
use Blackfire\Client;
use Blackfire\Profile\Configuration;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Style\SymfonyStyle;
use function Safe\sprintf;
@theofidry
theofidry / readme.md
Last active September 11, 2023 05:59
Safe Bash

Safe bash script configuration instructions

Source: [Vaneyckt: Safer bash scripts with 'set -euxo pipefail'][vaneyckt safer bash scripts]

Shortcut: set -Eeuox pipefail

Set -e

Makes the script exit immediately when a command fails.

@theofidry
theofidry / php-cs-fixer.phar contents
Last active May 1, 2018 17:57
Box - PHP-CS-Fixer
API Version: 1.1.0
Archive Compression: None
Signature: SHA-1
Signature Hash: 5AE61B9468A6DC0FDF7F931E39F6CC493531555F
Metadata: None