From 56f9bf4e8d36eb6e639540792782f66ea4c930fa Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Thu, 28 Jan 2021 15:07:56 +0800 Subject: [PATCH] rebuilding site Thu Jan 28 03:07:56 PM CST 2021 --- _posts/index.xml | 9 +++++++++ index.html | 6 ++++++ index.xml | 9 +++++++++ searchurl/cmds.html | 2 +- sitemap.xml | 4 ++++ urls/index.html | 31 +++++++++++++++++++++++++++++++ 6 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 urls/index.html diff --git a/_posts/index.xml b/_posts/index.xml index a6c75368..a508d9c2 100644 --- a/_posts/index.xml +++ b/_posts/index.xml @@ -423,6 +423,15 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外,超 webview 81+ 夜间模式 + + 便利链接 + https://jamesfengcao.gitee.io/uwebzh/urls/ + Mon, 01 Jan 0001 00:00:00 +0000 + + https://jamesfengcao.gitee.io/uwebzh/urls/ + Termux内部目录 + + 分类多引擎搜索 https://jamesfengcao.gitee.io/uwebzh/searchcat/ diff --git a/index.html b/index.html index 1b634d3a..b7a291a8 100644 --- a/index.html +++ b/index.html @@ -176,6 +176,12 @@ +
  • + + 便利链接 + +
  • +
  • 分类多引擎搜索 diff --git a/index.xml b/index.xml index 6fe1f90b..b74ae146 100644 --- a/index.xml +++ b/index.xml @@ -423,6 +423,15 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外,超 webview 81+ 夜间模式 + + 便利链接 + https://jamesfengcao.gitee.io/uwebzh/urls/ + Mon, 01 Jan 0001 00:00:00 +0000 + + https://jamesfengcao.gitee.io/uwebzh/urls/ + Termux内部目录 + + 分类多引擎搜索 https://jamesfengcao.gitee.io/uwebzh/searchcat/ diff --git a/searchurl/cmds.html b/searchurl/cmds.html index bdef04b5..c657986f 100644 --- a/searchurl/cmds.html +++ b/searchurl/cmds.html @@ -9,7 +9,7 @@

    配置文件"/sdcard/uweb/default.cmds"示例:
    -

    清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete

    VPN::am start -a android.settings.VPN_SETTINGS

    无线::am start -a android.settings.WIRELESS_SETTINGS

    合并查询历史至自动填充:uweb:cd /sdcard/uweb;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///sdcard/uweb/default.autoc

    备份Cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.

    恢复Cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.

    清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache

    清空logcat::logcat -c

    输出logcat.log::logcat -d > /sdcard/uweb/logcat.log

    复制cookie:/clip:printf '%c'

    tgz install::toybox tar -xzf %f -C /

    下面配置需要root权限:

    解冻微信::su -c 'pm enable com.tencent.mm'

    冻结微信::su -c 'pm disable com.tencent.mm'

    解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'

    冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'

    下面配置需要termux:

    cd:termux/*:cd %f;exit 1

    vim:termux/*:vim %f

    历史去重::awk -F'\t' '!s[\$2]++' /sdcard/uweb/history.log>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/history.log

    书签去重::awk '!s[\$0]++' /sdcard/uweb/bookmark.html>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/bookmark.html

    hosts去重::toybox tac /sdcard/uweb/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.hosts

    网站设置去重::toybox tac /sdcard/uweb/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.siteconf

    代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS

    剪贴板_至PC:clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -i'

    剪贴板_从PC:/clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -o'

    +

    清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete

    VPN::am start -a android.net.vpn.SETTINGS

    无线::am start -a android.settings.WIRELESS_SETTINGS

    合并查询历史至自动填充:uweb:cd /sdcard/uweb;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///sdcard/uweb/default.autoc

    备份Cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.

    恢复Cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.

    清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache

    清空logcat::logcat -c

    输出logcat.log::logcat -d > /sdcard/uweb/logcat.log

    复制cookie:/clip:printf '%c'

    tgz install::toybox tar -xzf %f -C /

    下面配置需要root权限:

    解冻微信::su -c 'pm enable com.tencent.mm'

    冻结微信::su -c 'pm disable com.tencent.mm'

    解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'

    冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'

    下面配置需要termux:

    cd:termux/*:cd %f;exit 1

    vim:termux/*:vim %f

    历史去重::awk -F'\t' '!s[\$2]++' /sdcard/uweb/history.log>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/history.log

    书签去重::awk '!s[\$0]++' /sdcard/uweb/bookmark.html>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/bookmark.html

    hosts去重::toybox tac /sdcard/uweb/default.hosts|awk -F' ' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.hosts

    网站设置去重::toybox tac /sdcard/uweb/default.siteconf|awk -F':' '!s[\$1]++' |toybox tac>/sdcard/a.tmp;mv /sdcard/a.tmp /sdcard/uweb/default.siteconf

    代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS

    剪贴板_至PC:clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -i'

    剪贴板_从PC:/clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -o'

    代理8888需要安装有tinyproxy(apt install tinyproxy),端口为8888。用户可配置为允许外部PC使用。
    剪贴板_PC需更改用户名,PC端安装有xsel,termux安装有ssh (apt install openssh),且配置好ssh无密码登录。

    diff --git a/sitemap.xml b/sitemap.xml index 56b549b8..454a4e35 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -183,6 +183,10 @@ https://jamesfengcao.gitee.io/uwebzh/tags/%E4%B8%8B%E8%BD%BD/ + + https://jamesfengcao.gitee.io/uwebzh/urls/ + + https://jamesfengcao.gitee.io/uwebzh/searchcat/ diff --git a/urls/index.html b/urls/index.html new file mode 100644 index 00000000..36cd0496 --- /dev/null +++ b/urls/index.html @@ -0,0 +1,31 @@ + + + + + + + + 便利链接 + + +
    + + +
    +
    + +
    +

    便利链接 +
    + +

    +
      + +
    +

    Termux内部目录

    + +
    + + +