Skip to content

Instantly share code, notes, and snippets.

Avatar
💡
Side project https://www.laptoplist.com

Ariful Haque arifulhb

💡
Side project https://www.laptoplist.com
View GitHub Profile
@ivanvermeyen
ivanvermeyen / Kernel.php
Created Jan 18, 2016
Find any running "queue:listen" processes for a Laravel project and kill those. Fire "php artisan queue:stop" in your "current" project root. Intended to use with a deploy script when you are using non-daemon listeners and deploy releases. If you are using daemons, run "queue:restart" instead. You can use a process monitoring tool like Superviso…
View Kernel.php
<?php
namespace App\Console;
use App\Console\Commands\StopQueueListeners;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
View .vimrc
"""""""""""""""""""""""""""""""""""""
" Allan MacGregor Vimrc configuration
"""""""""""""""""""""""""""""""""""""
set nocompatible
syntax on
set nowrap
set encoding=utf8
"""" START Vundle Configuration
@gslsouza
gslsouza / hhvm-codeigniter
Created Mar 9, 2013
Hiphop-php HHVM working with Codeigniter and Nginx
View hhvm-codeigniter
I managed to make Codeiniter work with HHVM, using
nginx as a proxy. My problem was that hhvm has problems
with path_info, so I was not able to run /index.php/controller/action or
/controller/action/params -> /index.php/controller/action.params.
I used nginx as a proxy to hhvm. I changed the way codeigniter process
the url. Steps bellow:
Cleaned my HHVM .hdf file:
Server {