后台运行paddleocr

docker run -it --detach --name paddleocr \ -v $PWD:/paddle \ -p 9000:9000 \ paddlepaddle/paddle:latest

free privacy policy

https://app.freeprivacypolicy.com/国外的人真是慷慨

Python的sets操作

x.union(y) This method returns all the unique items that are present in the two sets, as a new set. x_set | y_set x....

Dictionary的方法

len (x_dict)To know the number of key: value pairs in the dictionary.x_dict.keys ( )Returns all the 'keys' of diction...

Python的lists操作

list.append (x)Add an item to the end of the list.list.extend (x)Extend the list by appending all the items at the en...

Python金融计算公式

# Formula for calculating Future Value FV = PV * ((1+r) ** n) # Formula for calculating Present Value PV = FV / ((1 ...

strapi docker启动命令

后台运行:docker run -d --rm \ -v $(pwd):/srv/app \ -p 1337:1337 \ --name strapi-container \ node:20 \ sh -c &qu...

SPA里面#的问题

SPA里面必须要带有#,才能正确识别路径。如果要去掉#,就要开启history mode。开启后会有一个问题,比如直接访问或者刷新domain.com/myprofile的时候,浏览器回去找域名下的myprofile文件夹,但其实是不...

Apache无法启动如何找出问题

只需要进入apache的目录,运行httpd.exe -t就可以。例如wamp的目录是:D:/wamp64/bin/apache/apache2.x.x/bin/会把具体配置文件里的哪一行有问题打印出来。

Apache配置域名的/api代理

启动代理相关模块,重启服务a2enmod proxya2enmod proxy_httpsystemctl restart apache2配置虚拟主机,例如:<VirtualHost *:80> ServerNam...