Skip to content

Instantly share code, notes, and snippets.

Nathaniel Rodrigues natrod

Block or report user

Report or block natrod

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Mounting VirtualBox shared folders on Ubuntu Server 16.04

Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS

This guide will walk you through steps on how to setup a VirtualBox shared folder inside your Ubuntu Server guest. Tested on Ubuntu Server 16.04.3 LTS (Xenial Xerus)


  1. Open VirtualBox
  2. Right-click your VM, then click Settings
  3. Go to Shared Folders section
  4. Add a new shared folder
  5. On Add Share prompt, select the Folder Path in your host that you want to be accessible inside your VM.
View Magento2-Sandbox-Script.php
* @author Raj KB<>
* @website
* @blog
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
natrod / Apache vhost
Last active Apr 4, 2017
Basic Docker
View Apache vhost
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory "/var/www/html">
Options Indexes FollowSymLinks ExecCGI Includes
Order allow,deny
Allow from all
AllowOverride All
natrod / Full project ignore
Created Feb 17, 2017
Git Ignore Magento 2
View Full project ignore
natrod / Compoer-magento 2
Created Nov 24, 2016
magento 2 Composer
View Compoer-magento 2
"name": "magento/project-community-edition",
"description": "eCommerce Platform for Growth (Community Edition)",
"type": "project",
"version": "2.1.2",
"license": [
"require": {
natrod / gist:3034c204745b1610a19d
Created Dec 30, 2015 — forked from klein0r/gist:5441524
Magento Tips, Tricks and Snippets
View gist:3034c204745b1610a19d
natrod / apply-rules
Last active Aug 29, 2015
Catalog Rule script
View apply-rules
require_once 'app/Mage.php';
ini_set('display_errors', 1);
$time_start = microtime(true); //get start time
$premem=memory_get_usage(true); //get initial memory usage
natrod / CLI Export profile run
Created Apr 15, 2015
Import/export related--- from variux
View CLI Export profile run
* Import/Export Script to run Import/Export profile
* from command line or cron. Cleans entries from dataflow_batch_(import|export) table
$mageconf = './app/etc/local.xml'; // Mage local.xml config
$mageapp = './app/Mage.php'; // Mage app location
$logfile = 'export_data.log'; // Import/Export log file
You can’t perform that action at this time.