Skip to content

Instantly share code, notes, and snippets.

Matt Maiorano maiorano84

Block or report user

Report or block maiorano84

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
maiorano84 / post-receive
Created Aug 23, 2017
Git Branch Deployments Webhook
View post-receive
while read oldrev newrev ref
if [[ $ref = refs/heads/$PROD_BRANCH ]];
maiorano84 / Event.php
Created Jan 21, 2017
Stupid Simple Events
View Event.php
class Event{
protected $name;
protected $callback;
public function __construct($name, Callable $callable){
$this->name = $name;
public function fire(array $args = null){
return call_user_func_array($this->callback, $args);
maiorano84 / PartialBlurFilter.php
Last active Mar 4, 2017
Partial Blur Filter for Intervention/Image package
View PartialBlurFilter.php
namespace Maiorano\Services\Filters;
use Intervention\Image\Filters\FilterInterface;
use Intervention\Image\Image;
class PartialBlurFilter implements FilterInterface
private $width;
maiorano84 /
Created Dec 13, 2015
CentOS FFMpeg Installation from Source
rpm -Uhv
yum -y update
yum -y install autoconf automake gcc gcc-c++ git libtool make nasm pkgconfig zlib-devel freetype-devel speex-devel
mkdir ~/ffmpeg_sources
cd ~/ffmpeg_sources
curl -O
maiorano84 / nginx-restart.bat
Last active Jan 2, 2020
Quick startup for NGINX and PHP on Windows
View nginx-restart.bat
call nginx-stop.bat
call nginx-start.bat
You can’t perform that action at this time.