熟悉Mysql的同学应该都知道,Mysql查询的boolean结果将输出为0或者1. 比如: 其输出结果为1。 查阅mysql官方文档仅找到如下描述: 11.10 Using Data Types from Other Database Engines To facilitate the use o ...
分类:
数据库 时间:
2019-03-14 21:18:31
阅读次数:
266
一、ACL(文件的访问控制列表)普通、特殊、隐藏权限都是针对某一类用户(个人、组、other),ACL个别对待(类似于“绿卡”的功能)setfacl设置getfacl查看二、su&sudosu切换用户sudo把特定的命令执行权限给指定用户;作用:保证普通用户可以完成特殊任务,避免root密码泄漏配置文件(/etc/sudoers)提供集中的用户管理、权限、主机参数等谁可以用(用户);允许使
分类:
其他好文 时间:
2019-03-14 10:39:23
阅读次数:
178
http://acm.zjnu.edu.cn/CLanguage/showproblem?problem_id=1213 Famer John希望把水源引入他的N (1 <= N <= 300)个牧场,牧场的编号是1~N。他将水源引入某个牧场的方法有两个,一个是在牧场中打一口井,另一个是将这个牧场与 ...
分类:
其他好文 时间:
2019-03-14 10:32:22
阅读次数:
196
如你所见,这是一道狗题 一棵树,多次询问与一个点距离至少为 $k$ 的点的权值和 $n,q \leq 2525010$ sol: 长链剖分 需要注意的是这道题卡空间 我把我所有的 vector 换成链表才过了 #include <bits/stdc++.h> #define LL long long ...
分类:
其他好文 时间:
2019-03-12 18:05:34
阅读次数:
181
参考文献:原文:https://blog.csdn.net/m0_37979608/article/details/77096201 一。创建资源库的数据库 2.创建数据库资源库,如图 2.1.点击Connect 2.2.点击Repository Manager 2.3.点击Other Reposi ...
分类:
其他好文 时间:
2019-03-12 12:12:07
阅读次数:
803
1. 开启内核隔离后只能通过注册表关闭 2. 开启内核隔离后, 默认会启动hybrid-v, 这个东西和虚拟机是冲突的, 这样就用不了虚拟机了. 3. 解决方法: 关闭内核隔离后, 再关闭已经开启的hybrid-v 基本参考下面, 可能要重复几次才能有效的关闭hybrid-v Powering on ...
分类:
Windows程序 时间:
2019-03-11 23:44:05
阅读次数:
3733
转:http://www.myexception.cn/other/1998827.html https://blog.csdn.net/pzasdq/article/details/52537337 ...
分类:
其他好文 时间:
2019-03-11 16:21:11
阅读次数:
326
Configure AliUids for ECS servers under other Alibaba Cloud accounts or on-premises IDCs If Logtail is installed on ECS servers under other Alibaba Cl ...
分类:
其他好文 时间:
2019-03-11 16:13:27
阅读次数:
248
1,首先安装mailx工具用于发送邮件yum-yinstallmailx2,配置mailxvim/etc/mail.rc#ThisistheconfigurationfileforHeirloommailx(formerly#knownunderthename"nail".#Seemailx(1)forfurtheroptions.#Thisfileisnotoverwritt
分类:
系统相关 时间:
2019-03-11 14:56:48
阅读次数:
409
出错原因: 程序被解析为UI程序,所以要链接UI设置 解决办法: 找到 settings -> compiler settings -> linker settings -> other link options 处,添加 -mwindows 即可 ...
分类:
其他好文 时间:
2019-03-10 21:01:11
阅读次数:
258