Skip to content

Instantly share code, notes, and snippets.

Dennis Lee hgati

Block or report user

Report or block hgati

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
@hgati
hgati / iso
Last active Jul 7, 2019
iso2 to iso3
View iso
AF:AFG
AX:ALA
AL:ALB
DZ:DZA
AS:ASM
AD:AND
AO:AGO
AI:AIA
AQ:ATA
AG:ATG
@hgati
hgati / erpnext_magento.php
Created Mar 18, 2018 — forked from rmehta/erpnext_magento.php
Sample ERPNext Magento Connector
View erpnext_magento.php
<?php
// contributed by supplify.com
error_reporting(E_ALL);
ini_set('display_errors', 1);
require_once '../curl/Zebra_cURL.php';
require_once '../app/Mage.php';
Mage::app();
class action extends Zebra_cURL{
@hgati
hgati / support-php-7.0.22-on-magento-1.7.patch
Last active Jan 20, 2018
Support PHP v7.0.22 On Magento 1.7.0.2
View support-php-7.0.22-on-magento-1.7.patch
Index: app/code/core/Mage/Catalog/Model/Product/Link/Api/V2.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- app/code/core/Mage/Catalog/Model/Product/Link/Api/V2.php (revision 6ea22c9abff24da3f3f2aaed59c527ff803c02eb)
+++ app/code/core/Mage/Catalog/Model/Product/Link/Api/V2.php (revision 07375d7d2c92ab2b07657e0d40f816c4ace33612)
@@ -61,8 +61,8 @@
$links[(int)$linkedProductId] = array();
@hgati
hgati / magento-1.7-fix-installation-error-with-mysql-5.6.patch
Last active Jan 20, 2018
Fixed Magento 1.7.x Installation Error Over MySQL 5.6 (Removed a have_innodb statement)
View magento-1.7-fix-installation-error-with-mysql-5.6.patch
Index: app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php (revision 6ea22c9abff24da3f3f2aaed59c527ff803c02eb)
+++ app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php (revision 6a25c653aa5df2c4be3c69fe5131449c3b210609)
@@ -59,7 +59,7 @@
public function supportEngine()
{
You can’t perform that action at this time.