diff --git a/2018/12/09/bc/index.html b/2018/12/09/bc/index.html index 2f7c0a5..cf88daf 100644 --- a/2018/12/09/bc/index.html +++ b/2018/12/09/bc/index.html @@ -1,212 +1,18 @@ - - - - - - - - 配置浏览器地址栏作为超级计算器(bc) | uWeb - - - - - - - - - - - - - - - - - - - - - - - - +<%- partial('_partial/head') %>
- + <%- partial('_partial/header', 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


      - - -
      - -
      - - - - - -
      - -
      - - - -
      -
      - -
      - -
      -
      -
      - - - - - - - - - - - - - - + <%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %> + <%- partial('_partial/after-footer') %>
      \ No newline at end of file diff --git a/2018/12/09/gluplot/index.html b/2018/12/09/gluplot/index.html index 4d234f2..cf88daf 100644 --- a/2018/12/09/gluplot/index.html +++ b/2018/12/09/gluplot/index.html @@ -1,213 +1,18 @@ - - - - - - - - 利用浏览器地址栏对函数作图 | uWeb - - - - - - - - - - - - - - - - - - - - - - - - +<%- partial('_partial/head') %>
      - + <%- partial('_partial/header', 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就可显示函数图案。

          - - -
          - -
          - - - - - -
          - -
          - - - -
          -
          - -
          - -
          -
          -
          - - - - - - - - - - - - - - + <%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %> + <%- partial('_partial/after-footer') %>
          \ No newline at end of file diff --git a/2018/12/09/hosts/index.html b/2018/12/09/hosts/index.html index e5a7cca..cf88daf 100644 --- a/2018/12/09/hosts/index.html +++ b/2018/12/09/hosts/index.html @@ -1,203 +1,18 @@ - - - - - - - - 利用超级hosts文件加速访问国外网站 | uWeb - - - - - - - - - - - - - - - - - - - - - - - - +<%- partial('_partial/head') %>
          - + <%- partial('_partial/header', 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

          - - -
          - -
          - - - - - -
          - -
          - - - -
          -
          - -
          - -
          -
          -
          - - - - - - - - - - - - - - + <%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %> + <%- partial('_partial/after-footer') %>
          \ No newline at end of file diff --git a/2018/12/09/search/index.html b/2018/12/09/search/index.html index 221e2d2..cf88daf 100644 --- a/2018/12/09/search/index.html +++ b/2018/12/09/search/index.html @@ -1,200 +1,18 @@ - - - - - - - - 浏览器多搜索引擎一键直达 | uWeb - - - - - - - - - - - - - - - - - - - - - - - - +<%- partial('_partial/head') %>
          - + <%- partial('_partial/header', 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

          - - -
          - -
          - - - - - -
          - -
          - - - +
          <%- body %>
          + <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> + <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> + <% } %>
          -
          - -
          - -
          -
          -
          - - - - - - - - - - - - - - + <%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %> + <%- partial('_partial/after-footer') %>
          \ No newline at end of file diff --git a/archives/2018/12/index.html b/archives/2018/12/index.html index 05d8a34..cf88daf 100644 --- a/archives/2018/12/index.html +++ b/archives/2018/12/index.html @@ -1,239 +1,18 @@ - - - - - - - - Archives: 2018/12 | uWeb - - - - - - - - - - - - - - - - - - - - +<%- partial('_partial/head') %>
          - + <%- partial('_partial/header', null, {cache: !config.relative_link}) %>
          -
          - - - - - - -
          -
          - 2018 -
          -
          - - - - - - - - - - - - - - - - -
          - - - -
          - - - +
          <%- body %>
          + <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> + <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> + <% } %>
          -
          - -
          - -
          -
          -
          - - - - - - - - - - - - - - + <%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %> + <%- partial('_partial/after-footer') %>
          \ No newline at end of file diff --git a/archives/2018/index.html b/archives/2018/index.html index b7f45c7..cf88daf 100644 --- a/archives/2018/index.html +++ b/archives/2018/index.html @@ -1,239 +1,18 @@ - - - - - - - - Archives: 2018 | uWeb - - - - - - - - - - - - - - - - - - - - +<%- partial('_partial/head') %>
          - + <%- partial('_partial/header', null, {cache: !config.relative_link}) %>
          -
          - - - - - - -
          -
          - 2018 -
          -
          - - - - - - - - - - - - - - - - -
          - - - -
          - - - +
          <%- body %>
          + <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> + <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> + <% } %>
          -
          - -
          - -
          -
          -
          - - - - - - - - - - - - - - + <%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %> + <%- partial('_partial/after-footer') %>
          \ No newline at end of file diff --git a/archives/index.html b/archives/index.html index 5624a75..cf88daf 100644 --- a/archives/index.html +++ b/archives/index.html @@ -1,239 +1,18 @@ - - - - - - - - Archives | uWeb - - - - - - - - - - - - - - - - - - - - +<%- partial('_partial/head') %>
          - + <%- partial('_partial/header', null, {cache: !config.relative_link}) %>
          -
          - - - - - - -
          -
          - 2018 -
          -
          - - - - - - - - - - - - - - - - -
          - - - -
          - - - +
          <%- body %>
          + <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> + <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> + <% } %>
          -
          - -
          - -
          -
          -
          - - - - - - - - - - - - - - + <%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %> + <%- partial('_partial/after-footer') %>
          \ No newline at end of file diff --git a/css/style.css b/css/style.css index 0cfa2d3..8c8a0a1 100644 --- a/css/style.css +++ b/css/style.css @@ -187,6 +187,11 @@ body { margin: 0 0.833333333333333%; } } +@media screen and (min-width: 768px) { + #main { + float: right; + } +} .article-date, .article-category-link, .archive-year, diff --git a/index.html b/index.html index ab75e8a..cf88daf 100644 --- a/index.html +++ b/index.html @@ -1,313 +1,18 @@ - - - - - - - - uWeb - - - - - - - - - - - - - - - - - - - - +<%- partial('_partial/head') %>
          - + <%- partial('_partial/header', 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

                  - - -
                  - -
                  - -
                  - - - - - -
                  - - - +
                  <%- body %>
                  + <% if (theme.sidebar && theme.sidebar !== 'bottom'){ %> + <%- partial('_partial/sidebar', null, {cache: !config.relative_link}) %> + <% } %>
                  -
                  - -
                  - -
                  -
                  -
                  - - - - - - - - - - - - - - + <%- partial('_partial/mobile-nav', null, {cache: !config.relative_link}) %> + <%- partial('_partial/after-footer') %>
                  \ No newline at end of file