I hereby claim:
- I am dlundgren on github.
- I am dlundgren (https://keybase.io/dlundgren) on keybase.
- I have a public key whose fingerprint is E53D 10BF C923 98E3 AA6D 8992 01F7 FF18 26F5 4D7F
To claim this, I am signing this object:
| <?php | |
| /** | |
| * Checks if the timezone is set and valid. | |
| * | |
| * @param none | |
| * @return bool True if the timezone is set and valid, false otherwise. | |
| */ | |
| function isTimezoneSetAndValid () { | |
| $tz = date_default_timezone_get(); | |
| if (empty($tz)) { |
| <?php | |
| namespace dlundgren\Symfony\Component\DependencyInjection; | |
| use Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; | |
| use Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; | |
| use Symfony\Component\DependencyInjection\Exception\RuntimeException; | |
| use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; | |
| /** | |
| * Holds parameters. |
| <?php | |
| /** | |
| * Partitions the array in a linear fashion. | |
| * | |
| * This is similar to array_chunk | |
| * | |
| * @param array $ary The array to partition | |
| * @param int $partitions How many partitions should the array be split into. | |
| * Default is to calculate off of the input array length | |
| * @return array |
| <?php | |
| /** | |
| * Class BlocklistDe | |
| * | |
| * Parses a BlockListDe list text file and converts multiple hosts into CIDR notation | |
| * if possible | |
| * | |
| * @author David Lundgren | |
| * @license MIT | |
| */ |
| <?php | |
| namespace Domain\Shared; | |
| // create this separately | |
| use Domain\Exception\InvalidProperty; | |
| use Domain\Exception\Immutable; | |
| /** | |
| * Allows public access to the private properties of an object. | |
| * |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| namespace Feral; | |
| /** | |
| * Represents the given contents as a file. | |
| * | |
| * Uses the php://memory system to handle this | |
| * | |
| * @package Feral | |
| */ |
| <?php | |
| namespace Application\View\Extension; | |
| use Aura\Router\Router; | |
| use Foil\Contracts\ExtensionInterface; | |
| class UrlFor | |
| implements ExtensionInterface | |
| { | |
| /** |
| description "Mailhog" | |
| start on runlevel [2345] | |
| stop on runlevel [!2345] | |
| respawn | |
| pre-start script | |
| exec su - vagrant -c "/usr/bin/env /usr/local/bin/mailhog > /dev/null 2>&1 &" | |
| end script |