Skip to content

Instantly share code, notes, and snippets.

@mgrimard
mgrimard / git_submodules.md
Created Oct 26, 2017 — forked from gitaarik/git_submodules.md
Git Submodules basic explanation
View git_submodules.md

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 Feb 26, 2016 — forked from johan/index.md
osx + java 7 = painfully easy
View index.md

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)
View DrupalConsole-Drupal8.md

Download DrupalConsole

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

Make DrupalConsole globaly accesible

$ mv console.phar /usr/local/bin/drupal
@mgrimard
mgrimard / osx-local-ssl.md
Last active Feb 26, 2016 — forked from jonathantneal/README.md
Local SSL websites on Mac OSX
View osx-local-ssl.md

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"