This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<modification> | |
<code><![CDATA[簡化 OpenCart]]></code> | |
<name><![CDATA[簡化 OpenCart]]></name> | |
<version><![CDATA[1.0]]></version> | |
<author><![CDATA[NidgetGod]]></author> | |
<link>https://gist.github.com/nidgetgod/e2413b7244235580cb510adbf9944600</link> | |
<file path="admin/view/template/catalog/product_form.tpl"> | |
<operation> | |
<search><![CDATA[<label class="col-sm-2 control-label" for="input-meta-description<?php echo $language['language_id']; ?>"><?php echo $entry_meta_description; ?></label>]]></search> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<modification> | |
<code><![CDATA[替換最小字元長度]]></code> | |
<name><![CDATA[替換最小字元長度]]></name> | |
<version><![CDATA[1.0]]></version> | |
<author><![CDATA[NidgetGod]]></author> | |
<link>https://gist.github.com/nidgetgod/7f4dd0e65e754eb8cda47641f454f488</link> | |
<file path="admin/controller/localisation/weight_class.php"> | |
<operation> | |
<search><![CDATA[if ((utf8_strlen($value['title']) < 3) || (utf8_strlen($value['title']) > 32)) {]]></search> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while [[ 1 ]]; do | |
echo '機器資訊' | |
adb devices -l | |
sleep 1 | |
echo '安裝 APP' | |
adb install -r app.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ -x $(which php) ]]; then | |
PHP_ICU_VERSION=$(php -r 'echo defined("INTL_ICU_VERSION") ? INTL_ICU_VERSION : "none";') | |
echo "PHP ICU version: $PHP_ICU_VERSION" | |
else | |
echo 'WARNING: PHP not installed' | |
PHP_ICU_VERSION=none | |
fi |