Loading

摘要: 重载不能已返回值为判断,只能已参数类型和参数个数以及方法名来判断,举个栗子/ void fun(int i){} 和 int fun(int i){} 是会报错的,因为 int result = fun(1); 可以判断调用int fun函数,但 直接调用fun不接受返回值类型,就不知道去调用那个一 阅读全文
posted @ 2018-08-23 14:48 ichar 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 转载:https://blog.csdn.net/xiao__gui Ajax本质上和普通的HTTP请求是一样的,只不过普通的HTTP请求是给人看的,而Ajax请求是给JS代码去用的。 所以Ajax请求的页面一般比普通的HTTP请求的响应内容还要简单,可能是一个页面的一部分,也可能是xml、json 阅读全文
posted @ 2018-07-18 13:39 ichar 阅读(375) 评论(0) 推荐(0) 编辑
摘要: # Creating Server TCP listening socket 127.0.0.1:6379: bind: No error 解决方法: 运行以下命令: redis-cli.exe shutdown exit redis-server.exe redis.windows.conf # 阅读全文
posted @ 2018-07-08 08:44 ichar 阅读(1930) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-05-07 21:04 ichar 阅读(331) 评论(0) 推荐(0) 编辑
摘要: pip 安装 flask 不多说/ 在执行:taskkill /F /PID 58136 关闭该任务 阅读全文
posted @ 2018-05-04 17:18 ichar 阅读(4042) 评论(0) 推荐(0) 编辑
摘要: 1,不知道为啥 py -3 -m pip install matplotlib 这样安装会报错/缺少freetype和png组件/最后也没解决问题/ 解决方法: https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyside 找到Matplotlib, a 2D 阅读全文
posted @ 2018-04-27 11:45 ichar 阅读(1403) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/wangshouchang/p/6130853.html 1建立本地文件夹 2mongod -dbpath=F:\Mongo\text2\data\data\r0 --port 28010 --replSet rs1/127.0.0.1:2801 阅读全文
posted @ 2018-04-20 12:16 ichar 阅读(224) 评论(0) 推荐(0) 编辑
摘要: > db.createUser({user:"admin",pwd:"zn_123456",roles:[{"role":"clusterAdmin","db":"admin"},{"role":"userAdminAnyDatabase","db":"admin"},{"role":"dbAdmi 阅读全文
posted @ 2018-04-17 17:22 ichar 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 2018-04-16T17:33:20.754+0800 E QUERY [thread1] SyntaxError: missing : after property id @(shell):1:23> db.runoob.insert({"name":"hello world"})WriteRe 阅读全文
posted @ 2018-04-16 21:51 ichar 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 安装mongodb3.6报错退出解决办法: 引用:@从1到无穷大 "3.6下载安装会卡死。"的原因在于,默认安装是包含mongodb compass,这个包的,这个包大约有180MB,下载很慢,导致所谓的的”卡死“。 如果你选用自定义安装的并且不安装mongodb compass,安装就非常容易了, 阅读全文
posted @ 2018-04-16 12:25 ichar 阅读(1243) 评论(0) 推荐(0) 编辑