由于工作需要必须将word文档内容粘贴到编辑器中使用 但发现word中的图片粘贴后变成了file:///xxxx.jpg这种内容,如果上传到服务器后其他人也访问不了,网上找了很多编辑器发现没有一个能直接解决这个问题 考虑到自己除了工作其他时间基本上不使用windows,因此打算使用nodejs来解决 ...
分类:
Web程序 时间:
2020-06-12 14:54:38
阅读次数:
87
asy --help Asymptote version 2.49 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince] http://asymptote.sourceforge.net/ Usage: asy [options] [file ...
分类:
其他好文 时间:
2020-06-12 14:52:48
阅读次数:
83
//递归删除文件夹 import java.io.File; public class Demo04 { public static void main(String[] args) { delDir(new File("E:\\abc")); } private static void delDi ...
分类:
其他好文 时间:
2020-06-12 14:52:30
阅读次数:
64
Caddyfile 是 JSON 配置的易用写法,支持通常用的功能,完整功能还是需要 JSON 配置的。 以下适用于 Caddy2 版本的配置。 静态文件服务器 example.com root * /var/www file_server 通常第一行是站点地址,root 代表站点根路径,* 代表访 ...
分类:
Web程序 时间:
2020-06-12 14:34:56
阅读次数:
205
地址 https://www.acwing.com/file_system/file/content/whole/index/content/583673/ 你一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c , 使得 a + b + c = 0 ?请你找出所有满 ...
分类:
其他好文 时间:
2020-06-12 14:22:48
阅读次数:
47
import requests def xiaodai(): url = 'http://erge1998.cn/' proxies = { 'http': 'http://149.28.38.64:1081', 'https': 'https://149.28.38.64:1081' } head ...
分类:
编程语言 时间:
2020-06-12 14:20:55
阅读次数:
90
如何做到 ueditor批量上传word图片? 1、前端引用代码 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.d ...
分类:
Web程序 时间:
2020-06-12 13:01:40
阅读次数:
110
前言 pymsql是Python中操作MySQL的模块,其使用方法和MySQLdb几乎相同。但目前pymysql支持python3.x而后者不支持3.x版本。 本文测试python版本:2.7.11。mysql版本:5.6.24 一、安装 1 pip3 install pymysql 二、使用操作 ...
分类:
数据库 时间:
2020-06-12 12:59:55
阅读次数:
58
起因 ubuntu18.04下默认带的是python3.6,但是因为需求需要升级为python3.7 步骤 安装 sudo apt install python3.7 修改环境变量 修改默认的python3 --> python3.6 为 python3 -->3.7 查看python3 指向 cd ...
分类:
编程语言 时间:
2020-06-12 11:01:31
阅读次数:
178
下载 可以在本地下载node.js最新版,然后通过ftp工具上传到服务器,或者直接在服务器终端使用wget命令下载(我当时下载的是node-v7.5.0-linux-x86版本,其他版本请查看上面链接然后替换即可): wget https://npm.taobao.org/mirrors/node/ ...
分类:
Web程序 时间:
2020-06-12 10:55:42
阅读次数:
74