单条件查询: db.getCollection('task').find({"id": "dc717654-dc45-4bf9-8e8a-1f1b146d6524"}) 单条件查询(属性为叶子节点) db.getCollection('archive_result').find({"results. ...
分类:
数据库 时间:
2020-07-01 16:06:36
阅读次数:
84
1、下载 https://github.com/MicrosoftArchive/redis/releases 2、解压,放到D:\Redis-x64-3.2.100 3、安装服务:redis-server --service-install redis.windows.conf (卸载服务:red ...
方式一: 在控制器的方法内部结尾使用 return View(); 来打开与方法同名的页面,如: public ActionResult Login() { return View(); } 该写法打开 Login 页面。 方式二: 可以添加参数来显式地指定要跳转的页面,如: return View ...
分类:
Web程序 时间:
2020-06-30 12:55:40
阅读次数:
159
答: 在Dockerfile中添加以下语句来配置apt-get 从当前的系统中复制/etc/apt/sources.list以及/etc/apt/apt.conf到Dockerfile所处的目录中 $ cp /etc/apt/sources.list ./ $ cp /etc/apt.conf ./ ...
分类:
系统相关 时间:
2020-06-30 12:47:49
阅读次数:
121
嘛,明晚要帮阿凝抢裙子 这么好看的裙子我怎么可以抢不到呢! 爱情是第一生产力 首先是 https://github.com/veezean/AutoBuyScripts/archive/master.zip python环境就不说了吧 然后是chromedriver https://chromedr ...
分类:
系统相关 时间:
2020-06-29 19:57:36
阅读次数:
47
https://www.cnblogs.com/cute/archive/2011/08/26/2154137.html 1、判断字符串为空 if [ -z "$str" ]; then echo "empty string" fi 2、判断文件是否存在 if [ -f /home/builder/ ...
分类:
系统相关 时间:
2020-06-29 13:44:40
阅读次数:
107
当前Nginx已经反向代理了两个网站,分别是基于Windows的IIS和Linux的Apach服务器,提供网页服务。现在有新项目的网页需要对外提供服务,需要在代理服务器上增加另外一个网站,使用HTTPS访问以及HTTP自动跳转HTTPS。由于新网页是静态页面,所以使用Docker部署在Nginx代理服务器上。相关的certificates是通过let‘sencrypt来获取的,都是单独的证
分类:
Web程序 时间:
2020-06-29 09:44:26
阅读次数:
66
Based on Oracle, processing an English character takes 1 byte, but 3 bytes for a Chinese character. For example: select ename, length(ename), lengthb( ...
分类:
数据库 时间:
2020-06-27 20:30:11
阅读次数:
74
Improving SAT Solving Using Monte Carlo Tree Search-Based Clause Learning keszocze O., Schmitz K., Schloeter J., Drechsler R. (2020) Improving SAT Sol ...
分类:
其他好文 时间:
2020-06-27 16:13:03
阅读次数:
55
链接:https://pan.baidu.com/s/1y71vp7y48UyOKqSwxb5gSA 提取码:ts4g #run 1、附件里只有run.exe,尝试后缀改为zip(直接用7z解压一样),得到New Microsoft Word Document.docx和run.exe 运行run. ...
分类:
其他好文 时间:
2020-06-27 12:02:48
阅读次数:
116