Skip to content

Instantly share code, notes, and snippets.

View pepijnblom's full-sized avatar

Pepijn pepijnblom

  • @graciousstudios
  • The Hague, The Netherlands
View GitHub Profile
@pepijnblom
pepijnblom / magento-cli.py
Created September 26, 2017 14:05 — forked from nyov/magento-cli.py
A Magento REST API example with rauth as OAuth provider.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from rauth.service import OAuth1Service
# Create consumer key & secret in your Magento Admin interface
# For an API Guideline see:
# http://www.magentocommerce.com/api/rest/authentication/oauth_authentication.html
#
# Short Magento setup explanation:
@pepijnblom
pepijnblom / migrate.sh
Last active November 18, 2020 22:20 — forked from tobi-pb/migrate.sh
Upgrade MAMP to Mysql 5.7
#!/bin/sh
wget http://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.15-osx10.11-x86_64.tar.gz
tar xfvz mysql-5.7*
echo "stopping mamp"
sudo /Applications/MAMP/bin/stop.sh
sudo killall httpd mysqld
echo "creating backup"