Skip to content

Instantly share code, notes, and snippets.

View patrickpeng2091's full-sized avatar
🎯
Focusing

Patrick Peng patrickpeng2091

🎯
Focusing
View GitHub Profile
@patrickpeng2091
patrickpeng2091 / default.xml
Last active June 25, 2019 08:49 — forked from kkrieger85/default.xml
Magento 2 禁用 侧边栏比较产品功能 app/design/frontend/你的主题/THEME/Magento_Catalog/layout/default.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
</head>
<body>
<referenceBlock name="top.links">
<referenceBlock name="catalog.compare.link" remove="true"/>
</referenceBlock>
<referenceBlock name="sidebar.additional">
@patrickpeng2091
patrickpeng2091 / ocp.php
Created August 17, 2018 21:53 — forked from ck-on/ocp.php
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)#ocp #php #opcache #opcode #cache #zend #optimizerplus #optimizer+
<?php
/*
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)
Author: _ck_ (with contributions by GK, stasilok)
Version: 0.1.7
Free for any kind of use or modification, I am not responsible for anything, please share your improvements
* revision history
0.1.7 2015-09-01 regex fix for PHP7 phpinfo
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter
@patrickpeng2091
patrickpeng2091 / installAndroidSDKOnMac.md
Created March 17, 2017 06:56 — forked from Erichain/installAndroidSDKOnMac.md
Mac OS下安装和配置android-sdk

##MAC OS下安装和配置android-sdk

###安装

在MAC上安装android-sdk,标准的安装方法是使用homebrew,运行如下命令:

brew update

brew install android-sdk