工作中有遇到过在小程序中需要解析后台管理系统设置的富文本内容, 一,可以使用wxParse插件解析html 使用方法 1.在github中下载 下载地址 https://github.com/icindy/wxParse/tree/master/wxParse 但是博住使用后 总是报 VM3004: ...
分类:
微信 时间:
2020-01-17 13:07:47
阅读次数:
142
Delphi Listview 和 TreeView 中文切换乱码问题 发现如果在“宋体”字体下正常,其他字体切换就乱发,其实根本就是字体格式问题,Font 下面有个Charset 属性 解决方法:将Charset 改成 GB2312_CHARSET 即可 ...
https://codeforces.com/contest/701/problem/C binary search strings two pointers #include<bits/stdc++.h> using namespace std; const int N=1e5+5; char s ...
分类:
其他好文 时间:
2020-01-16 22:09:48
阅读次数:
71
A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents ...
分类:
其他好文 时间:
2020-01-16 14:44:07
阅读次数:
73
说一下mysql比较宏观的面试,具体咋写sql的这里就不过多举例了。后面我还会给出一个关于mysql面试优化的试题,这里主要说的索引和B+Tree结构,很少提到我们的集群配置优化方案。 1.索引是什么?有什么作用以及缺点 答:索引是对数据库表中一列或多列的值进行排序的一种结构,使用索引可快速访问数据 ...
分类:
数据库 时间:
2020-01-16 10:51:17
阅读次数:
83
一、命令简介: find顾名思义就是查找文件的意思,能在系统中寻找你想要的文件。日常使用Linux系统中可能会经常用到这个命令,非常实用,掌握这个命令的用法会使你的工作更加效率 二、主要语法: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|st ...
分类:
其他好文 时间:
2020-01-16 01:00:37
阅读次数:
101
Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Calling next() will return the n ...
分类:
其他好文 时间:
2020-01-15 23:18:13
阅读次数:
92
1、概述 1.1、MongoDB 是一个 基于分布式存储的 数据库、由C++编写、旨在 为web应用 提供 高可用的高性能数据存储解决方案; 1.2、MongoDB 将 数据 存储 为 文档,数据结构 是 key-value (BSON形式:类似json的二进制形式的存储格式[Binary JOSN ...
分类:
数据库 时间:
2020-01-15 19:47:48
阅读次数:
69
source = [{ id: 1, pid: 0, name: 'body' }, { id: 2, pid: 1, name: 'title' }, { id: 3, pid: 2, name: 'div' }] 转换为: [{ id: 1, pid: 0, name: 'body', chil ...
分类:
Web程序 时间:
2020-01-15 19:17:45
阅读次数:
128
其实敲树剖敲多了就会手敲,然后就发现其实树剖也是可以求LCA的,根据树剖的经验,我们两遍dfs后关于询问l,r的情况我们就开始跳链,当l,r处于同一个链的时候返回深度较小的那个点就好了,这里给个例题: 题目链接:http://poj.org/problem?id=1330 Description A ...
分类:
其他好文 时间:
2020-01-15 14:14:21
阅读次数:
95