Skip to content

Instantly share code, notes, and snippets.

View guelzow's full-sized avatar
Count Doku: "Come to the dark side, we've got documentation!"

Tobias Gülzow guelzow

Count Doku: "Come to the dark side, we've got documentation!"
View GitHub Profile
@oleg-andreyev
oleg-andreyev / WithConsecutive.php
Created July 20, 2023 14:50
WithConsecutive polyfill
<?php
/**
Usage: ->with(...WithConsecutive::create(...$withCodes))
*/
declare(strict_types=1);
namespace App\Tests;
(function() {
var adyen = window.adyen = window.adyen || {};
adyen.cse = adyen.cse || {};
adyen.cse.version = "0_1_18";
adyen.cse.id = "1214343660265799";
adyen.cse.available = true;
adyen.cse.plugins = adyen.cse.plugins || {};
adyen.cse.plugins.version = "0_1_18";
@jesseschalken
jesseschalken / format serialize.php
Last active June 22, 2024 20:44
Pretty print a PHP serialized value. Useful for finding the differences between two serialized values.
<?php
/*
MIT License
Copyright (c) 2021 Jesse Schalken
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights