Skip to content

Instantly share code, notes, and snippets.

View jprasmussen's full-sized avatar

Jeremy Rasmussen jprasmussen

  • Ignium
  • New Zealand
View GitHub Profile
<?php
$databases['default']['default'] = array (
'database' => 'drupal',
'username' => 'drupal',
'password' => 'drupal',
'prefix' => '',
'host' => '127.0.0.1',
'port' => '',
'namespace' => 'Drupal\\Core\\Database\\Driver\\mysql',
'driver' => 'mysql',
<?php
/**
* @file
* Install, update and uninstall functions for the file_entity module.
*/
/**
* Implements hook_schema().
*/
@jprasmussen
jprasmussen / install-nvm-and-node.md
Created December 17, 2016 14:25
Install NVM and Node.js

Node.js via Node Version Manager:

Install NVM first:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash

source ~/.bashrc or: source ~/.bash_profile

More commands and details about NVM found here: https://github.com/creationix/nvm