数据地址:https://tianchi.aliyun.com/competition/entrance/531830/information 1.导入模块和数据 import pandas as pd import numpy as np import matplotlib.pyplot as p ...
分类:
其他好文 时间:
2020-09-18 01:17:41
阅读次数:
52
SQL 错误提示:多次为 'b' 指定了列'n' 错误原因:两个关联的表中有名字相同的列,如果要同时取到一张表中,会有冲突,这样就需要指定你取的是哪一个表中的列。 示例:( mm.* ) select *from test a left join (select mm.* from test2 mm ...
分类:
数据库 时间:
2020-09-18 01:14:53
阅读次数:
63
1、创建文件 /home/zabbix/pvuv_number.sh 【 #/bin/bashuv_number(){ #/var/log/test_access.log 日志路径cat /var/log/test_access.log |awk '{print $1}'|sort|uniq|wc ...
分类:
其他好文 时间:
2020-09-18 01:13:05
阅读次数:
31
CentOS版本:8.2 假设我要用的账号为:test 默认安装完毕后,使用非root账号执行带sudo的命令,想获取管理员权限执行此命令,发现无法执行,提示: test is not in the sudoers file, This incident will be reported. 解决方法 ...
分类:
其他好文 时间:
2020-09-18 01:03:37
阅读次数:
30
以委外订单为例 涉及的数据表:OM_MOMain,WFAudit,Table_Task 第一步,在WFAudit中插入数据 TaskId,ProcessId ,InstanceId ,ActivatyId 中的值在查询Table_Task中查询获得 INSERT INTO dbo.WFAudit ( ...
分类:
其他好文 时间:
2020-09-18 01:02:43
阅读次数:
40
select * from user_dependencies where upper(referenced_name) = 'tablename' ; SELECT DISTINCT * FROM user_source WHERE TYPE = 'PROCEDURE' AND upper(tex ...
分类:
数据库 时间:
2020-09-18 00:58:19
阅读次数:
72
Remote Social Engineering SOCIAL ENGNEERING Tricking or coercing people into violating security policy Depends on willingness to be helpful Human weak ...
分类:
Web程序 时间:
2020-09-17 23:49:24
阅读次数:
48
一、由源码到可执行程序的过程 1. 预处理: 源码经过预处理器的预处理变成预处理过的.i中间文件 1 gcc -E test.c -o test.i 2. 编译: 中间文件经过编译器编译形成.s的汇编文件 1 gcc -S test.i -o test.s 3. 汇编: 汇编文件经过汇编器生成目标文 ...
分类:
编程语言 时间:
2020-09-17 23:23:37
阅读次数:
33
有两个列表l1 = [11,22,33]l2 = [22,33,44]1.获取内容相同的元素列表2.获取l1中有l2中没有的元素列表3.获取l1和l2中不同的元素列表 l1 = [11,22,33] l2 = [22,33,44] for i in l2: if i in l1: print(i) ...
分类:
其他好文 时间:
2020-09-17 23:19:59
阅读次数:
29
处理运维问题的时候发现,文件比磁盘空间大 用 ll 查看文件的时候发现文件有400G,而文件系统只有200G,感觉很奇怪,就去做了个实验 [root@lin ~]# nohup dd if=/dev/zero of=test bs=1M count=100000 & [1] 3497 [root@l ...
分类:
系统相关 时间:
2020-09-17 23:16:16
阅读次数:
41