blog update

This commit is contained in:
James Feng Cao 2019-04-10 11:25:57 +08:00
parent 18956983e0
commit 70898d0042
13 changed files with 344 additions and 28 deletions

View file

@ -100,7 +100,7 @@
</div>
<div class="post-meta">
<span class="attr">Post<span>2019-04-04 20:36:20</span></span>
<span class="attr">Post<span>2019-04-10 09:38:39</span></span>
@ -109,10 +109,11 @@
<div class="post-content ">
<p>技巧等级:笔记(中级) PC剪贴板(高级)</p>
<p>手机需安装uweb定制Termux。如使用剪贴板功能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>复制至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剪贴板工具。使用其它工具请酌情修改。</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>
<p>采用以上配置,笔记将储存在/sdcard/uweb目录下文件note.txt或note.html中富文本</p>
<p>采用以上配置,笔记将储存在/sdcard/uweb目录下文件note.txt或note.html中富文本。命名笔记储存文件则由用户在地址栏输入框内指定。</p>
<p>手机其它应用中的文本可选中后分享给超微浏览器再由超微浏览器作笔记或进一步分享给PC。</p>
<br>
<div id="comment-container">