Skip to content

Instantly share code, notes, and snippets.

@mgrimard
mgrimard / laravel-queue-demons.md
Created February 26, 2016 19:33
How to set up Laravel Queue Daemons

Laravel - Setting Up Queue Daemons

  1. Install Supervisor if not already:

     sudo apt-get install supervisor
    
  2. Create Worker File:

     touch /etc/supervisor/conf.d/laravel-worker.conf
    
  3. Fill the worker file with the following information:

@mgrimard
mgrimard / git_submodules.md
Created October 26, 2017 17:44 — forked from gitaarik/git_submodules.md
Git Submodules basic explanation

Git Submodules basic explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a repository embedded in your main repository. This can be very useful. A couple of advantages of using submodules:

  • You can separate the code into different repositories.
@mgrimard
mgrimard / index.md
Created February 26, 2016 20:01 — forked from johan/index.md
osx + java 7 = painfully easy

Step 1

Does your osx terminal speak java 7? Start Terminal.app and try: java -version:

> java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
@mgrimard
mgrimard / osx-local-ssl.md
Last active February 26, 2016 19:34 — forked from jonathantneal/README.md
Local SSL websites on Mac OSX

Local SSL websites on Mac OSX

These instructions will guide you through the process of setting up local, trusted websites on your own computer.

These instructions are intended to be used on Mac OSX Yosemite.

NOTE: You may substitute the edit command for nano, vim, or whatever the editor of your choice is. Personally, I forward edit to Sublime Text:

alias edit="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"

Download DrupalConsole

$ curl -LSs http://drupalconsole.com/installer | php

Make DrupalConsole globaly accesible

$ mv console.phar /usr/local/bin/drupal