Skip to content

Instantly share code, notes, and snippets.

@aronduby
aronduby / DateDirectiveServiceProvider.php
Created August 17, 2016 06:35
Laravel Blade directives for date time formatting
<?php
namespace App\Providers;
use Carbon\Carbon;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
/**
* Class DateDirectiveServiceProvider
@silveira
silveira / the_raven_by_edgar_allan_poe
Created May 2, 2013 18:04
The Raven by Edgar Allan Poe. Because sometimes lorem ipsum is not enough.
Once upon a midnight dreary, while I pondered, weak and weary,
Over many a quaint and curious volume of forgotten lore—
While I nodded, nearly napping, suddenly there came a tapping,
As of some one gently rapping—rapping at my chamber door.
"'Tis some visitor," I muttered, "tapping at my chamber door—
Only this and nothing more."
Ah, distinctly I remember, it was in the bleak December,
And each separate dying ember wrought its ghost upon the floor.
Eagerly I wished the morrow;—vainly I had sought to borrow
From my books surcease of sorrow—sorrow for the lost Lenore—