blog update

This commit is contained in:
James Feng Cao 2019-04-10 17:32:52 +08:00
parent 70898d0042
commit b16fdb36f5
20 changed files with 1594 additions and 680 deletions

View file

@ -100,15 +100,24 @@
</div>
<div class="post-meta">
<span class="attr">Post<span>2019-04-10 09:38:39</span></span>
<span class="attr">Post<span>2019-04-10 17:22:00</span></span>
<span class="attr">Tags/
<a class="tag" href="/uWeb/tags/#termux" title="termux">termux</a>
<span>/</span>
<a class="tag" href="/uWeb/tags/#ssh" title="ssh">ssh</a>
<span>/</span>
</span>
</div>
<div class="post-content ">
<p>技巧等级:笔记(中级) PC剪贴板(高级)</p>
<p>手机需安装uweb定制Termux。如使用剪贴板功能termux还需安装openssl。</p>
<p>手机需安装uweb定制<a href="../pcdown">Termux</a>。如使用剪贴板功能termux还需安装openssl。</p>
<p>配置/sdcard/uweb/selection.txt如下<br><code>笔记::(cat;echo;echo;)&gt;&gt;notes.txt<br>富文本笔记:html:(cat;echo &lt;p&gt;&lt;/p&gt;;echo;)&gt;&gt;notes.html<br>命名笔记:(cat;echo;echo;)&gt;&gt;%s<br>复制至PC剪贴板::ssh [user:password]@192.168.2.102 “DISPLAY=:0 xsel -i”<br>复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 “DISPLAY=:0 xsel -i”</code></p>
<p>此处假定远程PC的IP地址为192.168.2.102PC已经开通了ssh服务。建议用户配置ssh服务为免密码登录此时用户无需将密码写入文件selection.txt。用户PC上安装有xsel剪贴板工具。使用其它工具请酌情修改。顾虑密码安全的朋友请配置ssh免密码登录。</p>
<p>重启浏览器,长按“书签”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。</p>