python批量转换数据库markdown为html
该程序是使用Python把sqlite的article表中的content字段全部由markdown转换为html。 首先安装依赖: pip install sqlite3 pipinstall markdown 以下是程序主体: import sqlite3 import markdown conn = sqlite3.connect 'test.db' cursor
该程序是使用Python把sqlite的article表中的content字段全部由markdown转换为html。 首先安装依赖: pip install sqlite3 pipinstall markdown 以下是程序主体: import sqlite3 import markdown conn = sqlite3.connect 'test.db' cursor
使用docker search来搜索镜像会返回500错误: root@localhost:~ docker search idocker.io/hello world Error response from daemon: Unexpected status code 500 因为平常不怎么使用搜索,而且Nexus前台也有镜像浏览页面,所以一直没花时间去解决。年前封网好不容易
今天,装完一台redis,并配置好redis.conf后,想偷懒直接用scp传到另一台redis,省去全部重新编辑的麻烦。结果一执行就出现下面这个错误: bash: scp: command not found 所有机器我都是最小化安装,所以很多组件没装也是情理之中,所以用yum装一下scp: yum y install openssh clients 装完后,继
错误如下: ORA 32001: write to SPFILE requested but no SPFILE specified at startup 重新创建一下spfile: create spfile from pfile; 重启数据库,即可解决此错误。
查看当前服务名: SQL show parameter service name; 修改服务名: SQL alter system set service names='orcl' scope=both;
Linux下,Oracle 11g的自动内存管理不能指定大于这个/dev/shm的总量内存。否则就会出现如下错误: ORA 00845: MEMORY TARGET not supported on this system 修改/etc/fstab,修改tmpfs大小,如果没有则需要自己添加: vi /etc/fstab tmpfs /dev/shm tmpfs def
此脚本为zabbix4.4和grafana6.7.4的一键部署脚本,脚本运行完成即可通过web页面进行管理配置,只适用于RHEL7.X版本,可用于最小化安装的版本,脚本中使用了case语句做了菜单,可自行选择安装zabbix或grafana,脚本中yum源使用的是清华源,可自行更改为阿里源或者其它yum源,脚本中已将zabbix和grafana所需要的端口放通,未关闭防火墙的情况下也可以正常访问。