Skip to content

Instantly share code, notes, and snippets.

View AdrienPoupa's full-sized avatar

Adrien Poupa AdrienPoupa

View GitHub Profile
@AdrienPoupa
AdrienPoupa / laravel_horizon.md
Created May 28, 2019 21:01 — forked from ankurk91/laravel_horizon.md
Laravel Horizon, redis-server, supervisord on Ubuntu server

Laravel Horizon, redis-server, supervisord on Ubuntu 16/18 server

Laravel 5.8, Horizon 3.x, Redis 5.x

Parepare application

  • Install and configure Laravel Horizon as instructed in docs
  • Make sure you can access the Horizon dashboard like - http://yourapp.com/horizon
  • For now it should show status as inactive on dashbaord

Install redis-server

@AdrienPoupa
AdrienPoupa / MoqExtensions.cs
Created June 20, 2017 09:11 — forked from jeremybeavon/MoqExtensions.cs
Moq support for ref and out callbacks
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using Moq;
using Moq.Language;
using Moq.Language.Flow;