From 0c5d4e34733408d7b0f9002604026c89d349ae33 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Sun, 9 Dec 2018 22:16:48 +0800 Subject: [PATCH] blog update --- 2018/12/09/bc/index.html | 195 ++++++++++++++++++++-- 2018/12/09/gluplot/index.html | 196 ++++++++++++++++++++-- 2018/12/09/hosts/index.html | 186 +++++++++++++++++++-- 2018/12/09/search/index.html | 183 +++++++++++++++++++-- archives/2018/12/index.html | 222 +++++++++++++++++++++++-- archives/2018/index.html | 222 +++++++++++++++++++++++-- archives/index.html | 222 +++++++++++++++++++++++-- index.html | 296 ++++++++++++++++++++++++++++++++-- 8 files changed, 1634 insertions(+), 88 deletions(-) diff --git a/2018/12/09/bc/index.html b/2018/12/09/bc/index.html index cf88daf8..1ec458f4 100644 --- a/2018/12/09/bc/index.html +++ b/2018/12/09/bc/index.html @@ -1,18 +1,191 @@ -<%- partial('_partial/head') %> + + + + + + + + 配置浏览器地址栏作为超级计算器(bc) | uWeb + + + + + + + + + + + + + + + + + + + + + +
- <%- partial('_partial/header', null, {cache: !config.relative_link}) %> -
-
<%- body %>
- <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> - <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> - <% } %> -
- <%- partial('_partial/footer', null, {cache: !config.relative_link}) %> + +
+
+ +
+ + +
+ + +

+ 配置浏览器地址栏作为超级计算器(bc) +

+ + +
+ +
+ +

使用Android端uweb浏览器
Gnu bc计算器支持无限精度,可轻易扩展函数库、常数库。

+

    +

  • 安装uweb定制Termux应用(长按[PC]选择”Symbian”再刷新网页可直接下载):

    https://pan.baidu.com/s/1WwQ9yhPlu95sFtttlzDXFA
  • +

  • Termux下运行以下命令:

    apt update

    apt upgrade

    apt install bc


  • Termux软件包推荐::

    +

      +

    • bc: 计算器。


    • 配置文件/sdcard/uweb/cmds.txt如下:

      计算器:text/html:echo “%s”|bc -l -q



      更多bc扩展库:(扩展库可下载至/sdcard/uweb目录下)

      https://github.com/susca/bc-extensions

      phodd.net/gnu-bc

      www.numbertheory.org/gnubc/gnubc.html



      使用扩展库以后cmds.txt配置如下:

      计算器:text/html:echo “%s”|bc -l -q extensions.bc scientific_constants.bc

      全能计算器:text/html:echo “%s”|bc -l -q *.bc


      + + +
      + +
      + + + + + +
      + +
      + + + +
      +
      + +
      + +
      +
      +
      +
      \ No newline at end of file diff --git a/2018/12/09/gluplot/index.html b/2018/12/09/gluplot/index.html index cf88daf8..d0e5fb1c 100644 --- a/2018/12/09/gluplot/index.html +++ b/2018/12/09/gluplot/index.html @@ -1,18 +1,192 @@ -<%- partial('_partial/head') %> + + + + + + + + 利用浏览器地址栏对函数作图 | uWeb + + + + + + + + + + + + + + + + + + + + + +
      - <%- partial('_partial/header', null, {cache: !config.relative_link}) %> -
      -
      <%- body %>
      - <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> - <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> - <% } %> -
      - <%- partial('_partial/footer', null, {cache: !config.relative_link}) %> + +
      +
      + +
      + + +
      + + +

      + 利用浏览器地址栏对函数作图 +

      + + +
      + +
      + +

      使用Android端uweb浏览器
      Termux提供了方便的软件包管理系统,缺省的uWeb地址栏功能配置需用到作图软件gnuplot。

      +

        +

      • 安装uweb定制Termux应用(长按[PC]选择”Symbian”再刷新网页可直接下载):

        https://pan.baidu.com/s/1WwQ9yhPlu95sFtttlzDXFA
      • +

      • Termux下运行以下命令:

        apt update

        apt upgrade

        apt install gnuplot


      • Termux软件包推荐::

        +

          +

        • gnuplot: 作图工具。


        • 配置文件/sdcard/uweb/cmds.txt如下:

          命令:text/plain:%s

          函数作图:image/svg+xml:gnuplot -e ‘set term svg;set output; plot %s’

          函数作图(3d):image/svg+xml:gnuplot -e ‘set term svg;set output; splot %s’

          超级计算器:text/html:echo “%s”|bc -l -q

          +

          长按uweb浏览器底部工具条刷新按钮弹出地址栏功能选择,选择“函数作图”,地址栏内输入函数如sin(x)**5就可显示函数图案。

          + + +
          + +
          + + + + + +
          + +
          + + + +
          +
          + +
          + +
          +
          +
          +
          \ No newline at end of file diff --git a/2018/12/09/hosts/index.html b/2018/12/09/hosts/index.html index cf88daf8..e708378e 100644 --- a/2018/12/09/hosts/index.html +++ b/2018/12/09/hosts/index.html @@ -1,18 +1,182 @@ -<%- partial('_partial/head') %> + + + + + + + + 利用超级hosts文件加速访问国外网站 | uWeb + + + + + + + + + + + + + + + + + + + + + +
          - <%- partial('_partial/header', null, {cache: !config.relative_link}) %> -
          -
          <%- body %>
          - <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> - <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> - <% } %> -
          - <%- partial('_partial/footer', null, {cache: !config.relative_link}) %> + +
          +
          + +
          + + +
          + + +

          + 利用超级hosts文件加速访问国外网站 +

          + + +
          + +
          + +

          不少国外网站本身虽可访问,但由于网站需要下载google,
          facebook等屏蔽网址的资源而导致无法访问。超级hosts文件可屏蔽文件中域名的一切子域名、孙域名、……,从而主动屏蔽这些网址,最终允许浏览器快速访问合法网站。

          +

          使用Android端uweb浏览器
          /sdcard/uweb/hosts内容如下:

          googleadservices.com

          googlesyndication.com

          adsense.com

          google.com

          google-analytics.com

          googletagservices.com

          twitter.com

          facebook.com

          fbcdn.net

          + + +
          + +
          + + + + + +
          + +
          + + + +
          +
          + +
          + +
          +
          +
          +
          \ No newline at end of file diff --git a/2018/12/09/search/index.html b/2018/12/09/search/index.html index cf88daf8..69ea9608 100644 --- a/2018/12/09/search/index.html +++ b/2018/12/09/search/index.html @@ -1,18 +1,179 @@ -<%- partial('_partial/head') %> + + + + + + + + 浏览器多搜索引擎一键直达 | uWeb + + + + + + + + + + + + + + + + + + + + + +
          - <%- partial('_partial/header', null, {cache: !config.relative_link}) %> -
          -
          <%- body %>
          - <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> - <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> - <% } %> -
          - <%- partial('_partial/footer', null, {cache: !config.relative_link}) %> + +
          +
          + +
          + + +
          + + +

          + 浏览器多搜索引擎一键直达 +

          + + +
          + +
          + +

          使用Android端uweb浏览器

          +

          推荐引擎(将下面文本添加到/sdcard/uweb/searchurl.txt中):
          化学品:http://www.basechem.org/search?q=
          大百科全书:http://h.bkzx.cn/search?sublibId=2&query=
          柯林斯双解:http://www.iciba.com/
          柯林斯汉英大词典:https://www.hjdict.com/w/
          剑桥双解:https://dictionary.cambridge.org/dictionary/english-chinese-simplified/
          现代日汉双解:https://dict.hjenglish.com/jp/jc/
          wolfram:https://www.wolframalpha.com/input/?i=
          duck:https://duckduckgo.com/?q=
          wiki:https://en.wikipedia.org/wiki/
          git:https://github.com/search?type=Repositories&q=
          man:http://man.cx/
          code:http://searchcode.com/?q=
          牛津搭配:http://www.freecollocation.com/search?word=
          chem:https://www.ncbi.nlm.nih.gov/pccompound?term=
          googledict:http://googledictionary.freecollocation.com/meaning?word=

          +

          其中中国大百科全书注册登录后才可免费查阅。更多引擎可参看:
          https://www.pdawiki.com/forum/thread-28557-1-1.html?x=4030(需免费注册才可查看,正与站长协商开放权限)
          https://github.com/Dictionaryphile/All_Dictionaries

          + + +
          + +
          + + + + + +
          + +
          + + + +
          +
          + +
          + +
          +
          +
          +
          \ No newline at end of file diff --git a/archives/2018/12/index.html b/archives/2018/12/index.html index cf88daf8..f567303b 100644 --- a/archives/2018/12/index.html +++ b/archives/2018/12/index.html @@ -1,18 +1,218 @@ -<%- partial('_partial/head') %> + + + + + + + + Archives: 2018/12 | uWeb + + + + + + + + + + + + + + + + + +
          - <%- partial('_partial/header', null, {cache: !config.relative_link}) %> -
          -
          <%- body %>
          - <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> - <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> - <% } %> -
          - <%- partial('_partial/footer', null, {cache: !config.relative_link}) %> + +
          +
          + + + + + + +
          +
          + 2018 +
          +
          + + + + + + + + + + + + + + + + +
          + + + +
          + + + +
          +
          + +
          + +
          +
          +
          +
          \ No newline at end of file diff --git a/archives/2018/index.html b/archives/2018/index.html index cf88daf8..f02ea6ea 100644 --- a/archives/2018/index.html +++ b/archives/2018/index.html @@ -1,18 +1,218 @@ -<%- partial('_partial/head') %> + + + + + + + + Archives: 2018 | uWeb + + + + + + + + + + + + + + + + + +
          - <%- partial('_partial/header', null, {cache: !config.relative_link}) %> -
          -
          <%- body %>
          - <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> - <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> - <% } %> -
          - <%- partial('_partial/footer', null, {cache: !config.relative_link}) %> + +
          +
          + + + + + + +
          +
          + 2018 +
          +
          + + + + + + + + + + + + + + + + +
          + + + +
          + + + +
          +
          + +
          + +
          +
          +
          +
          \ No newline at end of file diff --git a/archives/index.html b/archives/index.html index cf88daf8..294b5d72 100644 --- a/archives/index.html +++ b/archives/index.html @@ -1,18 +1,218 @@ -<%- partial('_partial/head') %> + + + + + + + + Archives | uWeb + + + + + + + + + + + + + + + + + +
          - <%- partial('_partial/header', null, {cache: !config.relative_link}) %> -
          -
          <%- body %>
          - <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> - <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> - <% } %> -
          - <%- partial('_partial/footer', null, {cache: !config.relative_link}) %> + +
          +
          + + + + + + +
          +
          + 2018 +
          +
          + + + + + + + + + + + + + + + + +
          + + + +
          + + + +
          +
          + +
          + +
          +
          +
          +
          \ No newline at end of file diff --git a/index.html b/index.html index cf88daf8..87b3bd74 100644 --- a/index.html +++ b/index.html @@ -1,18 +1,292 @@ -<%- partial('_partial/head') %> + + + + + + + + uWeb + + + + + + + + + + + + + + + + + +
          - <%- partial('_partial/header', null, {cache: !config.relative_link}) %> -
          -
          <%- body %>
          - <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> - <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> - <% } %> -
          - <%- partial('_partial/footer', null, {cache: !config.relative_link}) %> + +
          +
          + +
          + +
          + + +
          + + +

          + 浏览器多搜索引擎一键直达 +

          + + +
          + +
          + +

          使用Android端uweb浏览器

          +

          推荐引擎(将下面文本添加到/sdcard/uweb/searchurl.txt中):
          化学品:http://www.basechem.org/search?q=
          大百科全书:http://h.bkzx.cn/search?sublibId=2&query=
          柯林斯双解:http://www.iciba.com/
          柯林斯汉英大词典:https://www.hjdict.com/w/
          剑桥双解:https://dictionary.cambridge.org/dictionary/english-chinese-simplified/
          现代日汉双解:https://dict.hjenglish.com/jp/jc/
          wolfram:https://www.wolframalpha.com/input/?i=
          duck:https://duckduckgo.com/?q=
          wiki:https://en.wikipedia.org/wiki/
          git:https://github.com/search?type=Repositories&q=
          man:http://man.cx/
          code:http://searchcode.com/?q=
          牛津搭配:http://www.freecollocation.com/search?word=
          chem:https://www.ncbi.nlm.nih.gov/pccompound?term=
          googledict:http://googledictionary.freecollocation.com/meaning?word=

          +

          其中中国大百科全书注册登录后才可免费查阅。更多引擎可参看:
          https://www.pdawiki.com/forum/thread-28557-1-1.html?x=4030(需免费注册才可查看,正与站长协商开放权限)
          https://github.com/Dictionaryphile/All_Dictionaries

          + + +
          + +
          + +
          + + + +
          + +
          + + +
          + + +

          + 利用浏览器地址栏对函数作图 +

          + + +
          + +
          + +

          使用Android端uweb浏览器
          Termux提供了方便的软件包管理系统,缺省的uWeb地址栏功能配置需用到作图软件gnuplot。

          +

            +

          • 安装uweb定制Termux应用(长按[PC]选择”Symbian”再刷新网页可直接下载):

            https://pan.baidu.com/s/1WwQ9yhPlu95sFtttlzDXFA
          • +

          • Termux下运行以下命令:

            apt update

            apt upgrade

            apt install gnuplot


          • Termux软件包推荐::

            +

              +

            • gnuplot: 作图工具。


            • 配置文件/sdcard/uweb/cmds.txt如下:

              命令:text/plain:%s

              函数作图:image/svg+xml:gnuplot -e ‘set term svg;set output; plot %s’

              函数作图(3d):image/svg+xml:gnuplot -e ‘set term svg;set output; splot %s’

              超级计算器:text/html:echo “%s”|bc -l -q

              +

              长按uweb浏览器底部工具条刷新按钮弹出地址栏功能选择,选择“函数作图”,地址栏内输入函数如sin(x)**5就可显示函数图案。

              + + +
              + +
              + +
              + + + +
              + +
              + + +
              + + +

              + 配置浏览器地址栏作为超级计算器(bc) +

              + + +
              + +
              + +

              使用Android端uweb浏览器
              Gnu bc计算器支持无限精度,可轻易扩展函数库、常数库。

              +

                +

              • 安装uweb定制Termux应用(长按[PC]选择”Symbian”再刷新网页可直接下载):

                https://pan.baidu.com/s/1WwQ9yhPlu95sFtttlzDXFA
              • +

              • Termux下运行以下命令:

                apt update

                apt upgrade

                apt install bc


              • Termux软件包推荐::

                +

                  +

                • bc: 计算器。


                • 配置文件/sdcard/uweb/cmds.txt如下:

                  计算器:text/html:echo “%s”|bc -l -q



                  更多bc扩展库:(扩展库可下载至/sdcard/uweb目录下)

                  https://github.com/susca/bc-extensions

                  phodd.net/gnu-bc

                  www.numbertheory.org/gnubc/gnubc.html



                  使用扩展库以后cmds.txt配置如下:

                  计算器:text/html:echo “%s”|bc -l -q extensions.bc scientific_constants.bc

                  全能计算器:text/html:echo “%s”|bc -l -q *.bc


                  + + +
                  + +
                  + +
                  + + + +
                  + +
                  + + +
                  + + +

                  + 利用超级hosts文件加速访问国外网站 +

                  + + +
                  + +
                  + +

                  不少国外网站本身虽可访问,但由于网站需要下载google,
                  facebook等屏蔽网址的资源而导致无法访问。超级hosts文件可屏蔽文件中域名的一切子域名、孙域名、……,从而主动屏蔽这些网址,最终允许浏览器快速访问合法网站。

                  +

                  使用Android端uweb浏览器
                  /sdcard/uweb/hosts内容如下:

                  googleadservices.com

                  googlesyndication.com

                  adsense.com

                  google.com

                  google-analytics.com

                  googletagservices.com

                  twitter.com

                  facebook.com

                  fbcdn.net

                  + + +
                  + +
                  + +
                  + + + + + +
                  + + + +
                  +
                  + +
                  + +
                  +
                  +
                  +
                  \ No newline at end of file