#include <fstream> #include <strstream> using namespace std; int main(int argc,char*argv[]) { strstream textfile; ifstream in(argv[1]); textfile << in ...
分类:
编程语言 时间:
2021-03-15 11:07:17
阅读次数:
0
# coding=utf-8import osn = 0for root, dir, files in os.walk('.'): for name in files: if ("final" not in name): n+=1 print(n,name) os.remove(os.path.jo ...
分类:
其他好文 时间:
2021-03-15 11:04:56
阅读次数:
0
树形数据 let list = [ { id: 1, pid: 0, path: '/home', title: '首页', name: 'Home' }, { id: 2, pid: 0, path: '/student', name: 'Student', title: '招生管理' }, { ...
分类:
其他好文 时间:
2021-03-15 10:59:22
阅读次数:
0
1.创建一个toutiao目录 cd /home mkdir toutiao 2.将项目上传到toutiao目录 项目上传详细见安装的一二步 3.解压项目 unzip web.zip 4.编辑Nginx配置文件cd /home/nginx-1.17.5/conf/nginx.conf (注意:配置刚 ...
分类:
其他好文 时间:
2021-03-15 10:44:43
阅读次数:
0
在动态页面语言中(如jsp),js变量赋值时常会用到EL表达式,而当值含义单引号或双引号时,就会解析出错。 解决方案: 先翻译为编码形式,然后解码(目前最简易方案) var name = unescape('${name.replaceAll("\'","%27").replaceAll("\"", ...
分类:
Web程序 时间:
2021-03-15 10:40:53
阅读次数:
0
SELECT s.id, s.name, max(case when g.kemu='语文' then score else 0 end) as 语文,max(case when g.kemu='数学' then score else 0 end) as 数学,max(case when g.kem ...
分类:
数据库 时间:
2021-03-15 10:37:49
阅读次数:
0
<!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv ...
分类:
Web程序 时间:
2021-03-12 13:45:30
阅读次数:
0
设置metastore 机器: ke01、ke02、ke03、ke04 ke03 为元数据库 ke01、ke02、ke04 连接到元数据库 、 hive-metastore搭建 ke03: <configuration> <property> <name>hive.metastore.warehou ...
分类:
数据库 时间:
2021-03-12 13:42:56
阅读次数:
0
<p><iframe name="ifd" src="https://mnifdv.cn/resource/cnblogs/Learn-NB-IOT-Air302-ForLua" frameborder="0" scrolling="auto" width="100%" height="1500"> ...
分类:
其他好文 时间:
2021-03-12 13:34:49
阅读次数:
0
_bulk api POST /_bulk 批量操作 POST _bulk { "index" : { "_index" : "movies", "_id" : "1" } } { "year" : 1994 } { "delete" : { "_index" : "movies", "_id" : ...
分类:
其他好文 时间:
2021-03-11 20:50:46
阅读次数:
0