Skip to content

Instantly share code, notes, and snippets.

Josh Ribakoff joshribakoff

Block or report user

Report or block joshribakoff

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 gist:5885687
require_once 'app/Mage.php';
$quote = Mage::getModel('sales/quote')
$product = Mage::getModel('catalog/product')->load(6); /* 6 => Some product ID */
joshribakoff / Vagrantfile
Created Oct 11, 2017 — forked from stephenreay/Vagrantfile
Local file override for Memory/CPU limits in Vagrant
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby
if File.exists?('./Vagrantfile.override.rb')
require_relative './Vagrantfile.override.rb'
# Defaults for CPU and Memory
CPUS ||= 1
MEMORY ||= 1024
You can’t perform that action at this time.