from wordcloud import WordCloudfrom scipy.misc import imreadimport matplotlib.pyplot as pltimport jieba def read_deal_text(): with open("ciyun.txt","r ...
分类:
其他好文 时间:
2021-04-29 12:18:48
阅读次数:
0
全文检索通过sphinx搜索出来的内容是没有问题的。 但是搜索结束之后,文章的排序还是多少有点小问题,是这样,我最开始是使用时间倒叙排序,这样就会有一个小问题就是,我想要的结果,或者说跟我搜索关键词最贴近的结果不会出现在前几条。这个体验很不好。 然后,我这里使用了PHP内置的similar_text ...
分类:
编程语言 时间:
2021-04-28 12:22:57
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <style> body{ text-align:center; } #small{ margin-top:40px; } #showBig{ position:absolute; displa ...
分类:
Web程序 时间:
2021-04-28 12:06:03
阅读次数:
0
\(\text{Problem}:\)Sky Full of Stars \(\text{Solution}:\) 答案即总方案数减去没有一行或一列是同种颜色的方案数。 设 \(f_{i,j}\) 表示恰好有 \(i\) 行 \(j\) 列是同种颜色的方案数,\(g_{i,j}\) 表示钦定有 \( ...
分类:
其他好文 时间:
2021-04-28 11:55:09
阅读次数:
0
绑定事件 在input标签内使用bindinput关键字,可以绑定input事件 例如: index.wxml中 `<input type="text" bindinput="handInputOne">` index.js中 `handInputOne(a){ console.log(a) //若 ...
分类:
微信 时间:
2021-04-28 11:50:08
阅读次数:
0
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http:// ...
分类:
移动开发 时间:
2021-04-28 11:48:02
阅读次数:
0
首先我们要先去GitHub下载源码,或者直接使用 git clone https://github.com/CoreSecurity/impacket.git 然后解压缩,进入impacket cd impacket/ 然后运行 python setup.py install 工具都在这个目录里im ...
分类:
其他好文 时间:
2021-04-27 15:22:31
阅读次数:
0
##CSS引用方式 外部引用 : 最理想的引用方式 , 就是将CSS代码与HTML代码分别放在不同的文件中 , 然后通过HTML中的<link/>标签来引用 , 如下: 外部引入CSS演示 代码 : <!DOCTYPE html> <html> <head> <title>外联样式引入</title ...
分类:
Web程序 时间:
2021-04-27 14:52:36
阅读次数:
0
原文地址: https://blog.csdn.net/oToyix/article/details/106170701 repo的路径不要放到root下,放到/usr/share/nginx/下,要不没权限 Centos 7建立本地内网源一、环境二、先配置163base源及阿里epel源三、建立本 ...
分类:
其他好文 时间:
2021-04-27 14:52:02
阅读次数:
0
import pandas as pd import os import re path = "./files/" files = os.listdir(path) # 用于存放Excel,里面的每个元素类型为:pandas.core.frame.DataFrame list_excel = [] ...
分类:
编程语言 时间:
2021-04-27 14:43:38
阅读次数:
0