Skip to content

Instantly share code, notes, and snippets.

View scribetw's full-sized avatar
😪
zZ

Scribe Huang scribetw

😪
zZ
View GitHub Profile
@scribetw
scribetw / 2.B手機還原資料_Android6fix.bat
Last active February 8, 2017 12:23
https://www.kocpc.com.tw/archives/4209 Android 6.0 還原碰到 Failure [INSTALL_FAILED_PERMISSION_MODEL_DOWNGRADE] 解法
@echo off
rem adb -d backup -noapk com.android.providers.settings -f setting.ab
rem "C:\Program Files (x86)\Java\jre7\bin\java" -jar abe.jar unpack setting.ab setting.tar >> e.log
rem echo "test"
SETLOCAL ENABLEDELAYEDEXPANSION
rem Find Java
rem set JAVA_HOME=
@scribetw
scribetw / lib_common.php.diff
Created August 31, 2014 11:06
lib_common.php 8th.Release diff
diff --git "a/B:\\Temp\\TortoiseGit\\lib3DF1.tmp\\lib_common-c6e4c19-left.php" "b/D:\\wwwroot\\pixmicat\\github\\pixmicat\\lib\\lib_common.php"
index ff30c4f..f28929b 100644
--- "a/B:\\Temp\\TortoiseGit\\lib3DF1.tmp\\lib_common-c6e4c19-left.php"
+++ "b/D:\\wwwroot\\pixmicat\\github\\pixmicat\\lib\\lib_common.php"
@@ -346,6 +346,8 @@ function getREMOTE_ADDR(){
* 取得 (Transparent) Proxy 提供之 IP 參數
*/
function getRemoteAddrThroughProxy() {
+ global $PROXYHEADERlist;
+
@scribetw
scribetw / pio.log.php
Last active August 29, 2015 13:57
Pixmicat!-PIO 7th.Release PIOlog fix
<?php
/**
* PIO Log API
*
* 提供存取以 Log 檔案構成的資料結構後端的物件
*
* @package PMCLibrary
* @version $Id$
* @date $Date$
* @deprecated