nohup /app/mongodb/bin/mongod -f /app/mongodb/mongodb.conf --dbpath=/app/mongodb/db/ --bind_ip_all >start.log& nohup /app/mongodb/bin/mongod 启动程序 -f / ...
分类:
系统相关 时间:
2020-01-10 11:00:58
阅读次数:
111
abs(x) 返回数字X的绝对值all(iterable) 如果对于可迭代对象中所有的元素x都有bool(x)为True,则返回True。对于空的可迭代对象也返回Trueany(iterable) 只有可迭代对象中存在元素x是的bool(x)为True,则返回True。对空的可迭代对象返回False ...
分类:
编程语言 时间:
2020-01-09 22:25:30
阅读次数:
82
报错内容:remote: Repository not found. fatal: repository 'https://github.com/pete/first_app.git/' not found 解决方法:三个命令中的一个git config --unset-all credential ...
分类:
其他好文 时间:
2020-01-09 20:59:37
阅读次数:
74
Assume we want to add a data-cy attribute to all of our form controls. We need this as a hook to later be able to easily grab our input fields from wi ...
分类:
其他好文 时间:
2020-01-09 20:58:58
阅读次数:
78
功能: 可以接受路径参数,主要是通过该路径所在的文件系统,来了解对应文件系统的磁盘使用情况. 格式: Usage: df [OPTION]... [FILE]... df [选项]...[文件] 选项: -a, --all include dummy file systems // 包含所有的文件系 ...
分类:
其他好文 时间:
2020-01-09 20:51:49
阅读次数:
87
第一步,安装mysql, # mysql -uroot -p 2.建立远程root用户 mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '你设置的密码' WITH GRANT OPTION; mysql> flush pr ...
分类:
编程语言 时间:
2020-01-09 19:00:41
阅读次数:
91
1 如果都在局域网内:PC用NetAssist(TCP服务器);手机端用有人的安卓网络调试助手(TCP 客户端)可直接测试 2 如果手机端不是连接WIFI而是用数据连接,那么需要用到花生壳,内网主机IP(即ipconfig /all出来的IP=192.168.2.109:502),诊断后的转发服务器 ...
分类:
其他好文 时间:
2020-01-09 18:40:10
阅读次数:
261
Create procedure [dbo].[sp_who_lock] ( @bKillPID Bit=0 -- 0: 查询 1: 结束掉相对应的死锁ID (可能导致数据异常)) as begin declare @spid int declare @blk int declare @count ...
分类:
数据库 时间:
2020-01-09 10:33:42
阅读次数:
368
1,两表关联并更新 --sqlserver update a set a.reg_date = b.reg_datafrom gsk_all_to_creditchina a,gsk_re.gsk_new_mysql bwhere a.company_name=b.company_nameand a ...
分类:
数据库 时间:
2020-01-09 10:27:59
阅读次数:
88
一、首先安装dashboard https://github.com/kubernetes/dashboard HTTP的修改部分 用kubectl apply -f 提交修改后的文件 查看相关内容是否都已经启动成功 kubectl get all -n kubernetes-dashboard 二 ...
分类:
其他好文 时间:
2020-01-09 10:24:17
阅读次数:
158