随笔 Carl Notes

IT解决方案 NetSuite ERP

背景

医疗保险的电子,一般为PDF版本,并且PDF中的内容全部都是整页整页的图片,导致无法对合同内容进行搜索。

在线文字识别转换(通用OCR)

第一步:文件上传

第二步:参数选择

第三步:转换结果(直接显示)

类似的工具很多,今天分享一个实测10页PDF内容OCR识别,靠谱的。https://ocr.wdku.net

免费的文字在线识别工具 - 通过图片识别文字,可保留原始格式,提供图像文字识别,提取图片文字,pdf文字识别,扫描文件识别服务、pdf转Word文档服务等。我们的Ocr服务支持中文、繁体中文、日语、韩语、英语、法语、俄语、德语等多种语言,输出结果支持PDF、Word和Txt格式。


实例

1.  打开:https://huggingface.co/spaces/SRDdev/Image-Caption

2. 上传图片,拖放或者点击Upload any Image

3. 点击 Submit,稍等片刻,右侧的Captions就会出现图片的介绍


背景

如何在手机中搜索特定照片,这个问题困扰了我很多年。之所有还依然需要这个功能,是因为这个需求非常常见,我们经常只是拍照没有文字记录,而事情经过以后,往往需要快速找到这些历史照片。

解决方案思路:拍照以后,我们可以抽空用工具给照片重命名,这样关键字就在照片名字中体现;搜索时,可以通过搜索关键字来找到历史照片。

(另外的思路需要把照片交给OCR识别引擎,把照片中的文字,变成关键字,然后搜索通过检索这些关键字即可实现搜索照片的功能。目前没有实践过)

工具

Android RE管理器(RootExplorer)v4.10.3

- 使用**版,这样就没有闹人的广告。

操作方法

1. 打开Root Explorer,打开照片所在目录:/storage/emulated/0/DCIM/Camera

2. 预览并选中(长按)想要重命名的照片,右上角菜单中》重命名

搜索:

1. 打开Root Explorer,右上角菜单中》搜索

2. 输入照片的关键字,确定

链接:

1. https://www.google.com.hk/search?q=Re%E6%96%87%E4%BB%B6%E7%AE%A1%E7%90%86%E5%99%A8&oq=Re%E6%96%87%E4%BB%B6%E7%AE%A1%E7%90%86%E5%99%A8

2. https://www.ghxi.com/rootexplorer.html 

已高速(如有密码:3519)http://ct.ghpym.com/d/7369060-44892727-926c8f
http://pan.baidu.com/s/1c1QD6co 密码:suzo


Openwrt可以实现很多功能,目前我主要是让K2P实现双播让上行带宽提速。

其他的实践不如:https://www.cnblogs.com/backuper/p/4028173.html

K2P A2版本,其他固件也一样能实现这个基本功能,比如高格等等,不同地区(不同ISP)建议找找老司机的实践经验分享。

思路/步骤

1. 刷入breed

断电,长按Reset键,通电10s以上;如果是Mac电脑没有网线接口,可以通过Lan口连接到其他的路由器来访问192.168.1.1

如果发现不是breed平台,就刷一下;因为下面的固件对breed支持比较好。据说备份一下eeprom.bin(留着备不时之需)

刷机文件名:breed-mt7621-phicomm-k2p.bin

2. 刷入支持单线多播的Openwrt

注意事项有:

1. breed 刷 选择斐讯分区

2. 刷完成后,开机连接名字为Openwrt的WIFI,用户名密码:root password;恢复出厂设置,这里恢复清理一下避免一些后续配置发生不明问题。

3. 网络》接口,配置好wan口的adsl用户名密码

4. 网络〉多线多播, 启用,单线多播,虚拟WAN接口数量 2;最低在线接口数量2;

(播出太多,并没有实际意义,反而降低了K2P的其他硬件性能,主要是无法叠加,没实际意义)

目前可用的下载链接: https://pan.baidu.com/s/1iK35emaVfAnIEgFlMyprmg  密码: 4vva 

刷机文件名:openwrt-ramips-mt7621-phicomm_k2p-squashfs-sysupgrade0509.bin

3. 改桥接

也可以直接购买刷好的机器,跳过上面2步;因为拥有了设备,下一步就是改桥接。

两种情况,按实际情况对号入座,或按需顺序执行。

1. 光猫性能老旧无千兆口,打电话给客服报告:同址移机;升级千兆口光猫,装修导致老光猫弄***(思考一下怎么说)

2. 打电话给客服,报告死机无法上网等现象,光猫性能缺陷导致;第二天,技术人员打电话沟通,让他远程改一下桥接。

4. 改桥接后继续通过K2P路由器访问光猫

改桥接后,猫地址192.168.1.1 网断;K2P地址192.168.2.1网段;Openwrt无法让局域网内192.168.2.0网段内客户端访问192.168.1.1这个猫地址。

网络 》 接口 菜单下新建一个接口,协议选dhcp客户端(高级菜单里的使用默认网关去掉勾选),

物理接口选wan口对应的接口,保存后就能获取到192.168.1.0段的ip了

然后两个网段就可以互通了(可以不用切换网络直接访问光猫和路由器)。

这样就方便了平时路由器下的客户端,访问192.168.1.1的猫地址。

现实生活中,根据弱点箱布线,水电工经常把线都是集中拉在弱点箱中,无法实现光猫上的其他口上网就需要其他的交换机或者别的路由器来让其他的有线上网;

思路:可以从路由器在返回一条网线来给交换机(简单粗暴,已实践),或者让猫的其他口可上网(关闭猫的DHCP,接上路由器返回的网线即可,暂未实践)

参考文献:

https://www.right.com.cn/forum/thread-4058509-1-1.html

https://post.smzdm.com/p/aoxqe86m/


The result field Formula (Text) cannot be grouped. Please edit the search and omit this field or use a different summary function.

Solution:

  1. Create a drop down Custom List, I.e. Yes, No as the two options
  2. Create a new field in the record type(as an example), and link to above new dropdown/select field
  3. Use UE to set/sync value for new field to heal the data of Yes, No option value.
  4. Update the Saved Search to Group on new select/drop down field. (it will not trigger: The result field Formula (Text) cannot be grouped…. The result field Formula (Numeric) cannot be grouped….. )

How Global Search file content in Gitlab repositories(search across repositories)?

There is an existing answer to it, we can file the source code here  https://github.com/phillipj/gitlab-search

Yes, that’s a Gitlab solution sit in Github :-)    maybe you can find Github solutions/features in Gitlab repository too

Steps for Mac:

  1. Install the tool by npm in Terminal

    1. npm install -g gitlab-search

      After installation success, it make sense to prepare a GitLab access token now

  2. Create a GitLab personal access token

    1. https://gitlab.com/-/profile/personal\_access\_tokens

    2. Note: Make sure check-on ‘read_api’

      Grants read access to the API, including all groups and projects, the container registry, and the package registry.

    3. or Select ALL;  We can see all the existing token under: Active personal access tokens (*)

    4. Got token(Your new personal access token) like: _avcPZb6sd4sUWXe3***

    1. gitlab-search setup _avcPZb6sd4sUWXe3***

    2. Successfully wrote config to .gitlabsearchrc, gitlab-search is now ready to be used

  3. Usage sample:

    1. Search File content:
    2. gitlab-search functionabc

This’s a useful tool to globally search file content in gitlab repositories, enjoy it.


SWOT stands for Strengths, Weaknesses, Opportunities, and Threats

Strengths:

Better view, Clean up more disk spaces(since some apps is not working)

The Power can work longer time

System working faster

Weaknesses:

* HP 1010 Printer is not working(Not able to print with HP Deskjet 1010 and macOS Big Sur)

Solution:  Download a very old driver for OS X10.6 for HP and it worked. https://support.hp.com/us-en/drivers/selfservice/closure/hp-deskjet-1010-printer-series/5157543/model/5157545?ssfFlag=true&sku=

Download will got a ‘HP Easy Start.app’, install it.

* Parallels Desktop for Mac compatibility with macOS 11 Big Sur – Known and Resolved Issues

Solution: Remove Parallels, use back to VMware, ‘VMware_Fusion_Pro_12.1.0_Build_17195230__macwk.com’

It working great for Windows XP. (verified date 2021-01-14)

Opportunities:

Threats:

Your Mac Sounds will broken, one of the sound broken after I upgraded to Big Sur :(  very likely caused by the system upgrade action.


好久不见! 供暖了,希望朋友们都感觉温暖。 好久不写大量的汉字了,自从整了一个独立键盘以后,又重新感受到Windows平台的温暖(PC机把屏幕和键盘分离,随意挪动); 如果你不是IT或相关工作人员,不知道DNS是什么,那就不用往下看了,都是一堆无用的汉字 :) 进入主题:带宽和网速体验,现在的ADS
阅读全文 »

背景 17年办理的联通100M光纤,给的光猫是华为HG8347R(光猫路由型号为华为HG8347R,软件版本为V3R016C10S135),话说这个光猫还是可以完全满足家庭小面积使用的。 自带WIFI,配置方便还不需要额外的无线路由器。 1. 如果需要满足长期稳定,高性能运行的特征;由于HG8347
阅读全文 »

1. Pull 下载远程代码到本地仓库 2. Conflict Detected 检测冲突 Merge Tool 合并工具 Resolve Conflicts 解决冲突 界面介绍:左边为您当前编辑的文件版本,右边为远程下载到本地仓库后检测到的冲突的版本。 这个步骤的主要关键点:在左侧编辑,至少修改一
阅读全文 »

0%