利用cookie-session 去判断用户是否登录。使用签名去判断。 ...
分类:
其他好文 时间:
2018-06-02 00:30:57
阅读次数:
164
POX启动时使用命令:openflow.discovery openflow.spanning_tree --no-flood --hold-down来自:https://openflow.stanford.edu/display/ONL/POX+Wiki/ 原文: openflow.spannin ...
分类:
其他好文 时间:
2018-05-30 21:07:25
阅读次数:
233
在使用beautifulsoup4时出现此警告,必应后找到如下解决方案: UserWarning:没有明确指定解析器,因此我正在使用该系统的最佳可用HTML解析器(“html.parser”)。这通常不是问题,但是如果您在另一个系统或不同的虚拟环境中运行此代码,它可能会使用不同的解析器并且行为不同。 ...
分类:
编程语言 时间:
2018-05-28 22:50:18
阅读次数:
289
---title: 博弈论 斯坦福game theory stanford week 6-2tags: notenotebook: 6- 英文课程-15-game theory--- # 博弈论 斯坦福game theory stanford week 6- ## 1 In the followin... ...
分类:
其他好文 时间:
2018-05-28 22:46:22
阅读次数:
186
在创建一个vue项目启动时报错,报错的内容为: error in ./src/App.vue Module build failed: Error: No parser and no file path given, couldn’t infer a p arser. at UndefinedPar ...
分类:
其他好文 时间:
2018-05-28 19:46:18
阅读次数:
392
Express默认并不处理HTTP请求体中的数据,对于普通请求体(JSON、二进制、字符串)数据,可以使用body-parser中间件。而文件上传(multipart/form-data请求),可以基于请求流处理,也可以使用formidable模块或Multer中间件。 1. multer中间件 M ...
分类:
其他好文 时间:
2018-05-28 00:49:03
阅读次数:
555
private static void upload(final Context context, final int type, File logFile) { Map map = new HashMap(); if (logFile != null && logFile.length() > 0... ...
分类:
移动开发 时间:
2018-05-25 13:51:46
阅读次数:
790
#redhat使用minimal的方式安装#查看原来的yum源
[root@redhat home]# rpm -qa|grep yum
yum-3.2.29-40.el6.noarch
yum-rhn-plugin-0.9.1-48.el6.noarch
yum-metadata-parser-1.1.2-16.el6.x86_64
#卸载
[root@
分类:
其他好文 时间:
2018-05-24 15:10:00
阅读次数:
474
1.1 Sun公司 介绍Java的历史之前,先介绍一下Java语言的缔造公司,Sun公司,Sun公司的全称是:Stanford University Network。值得一提的是,Sun公司从1982年成立到2000年达到顶峰用了近二十年时间,而走下坡路只用了一年,最后2009年4月20日甲骨文以现 ...
分类:
编程语言 时间:
2018-05-24 10:35:18
阅读次数:
209