#include<iostream> #include<cstring> #include<algorithm> #include<cmath> #include<cstdlib> #include<climits> #include<stack> #include<vector> #include ...
分类:
其他好文 时间:
2020-07-07 17:18:53
阅读次数:
40
from pyspark.sql import SparkSession,Rowfrom pyspark.sql.types import StructField, StructType, StringType, IntegerType, LongType data = [('Alex','male ...
分类:
其他好文 时间:
2020-07-07 15:40:28
阅读次数:
55
docker-compose构建wordpress直接上docker-compose.yml文件version:‘3‘services:db:image:mysql:5.7volumes:-/data/db_data:/var/lib/mysqlrestart:alwaysenvironment:MYSQL_ROOT_PASSWORD:somewordpressMYSQL_DATABASE:wor
分类:
其他好文 时间:
2020-07-07 15:36:54
阅读次数:
46
1.将json对象转化为json字符串,再判断该字符串是否为" var data = {}; var b = (JSON.stringify(data) == "{}"); alert(b);//true 2.for in 循环判断 var obj = {}; var b = function() ...
分类:
Web程序 时间:
2020-07-07 15:10:59
阅读次数:
90
[root@localhost ~]# cat a.log a ab abc ddd [root@localhost ~]# [root@localhost ~]# cat b.log a ab abc ddd dd f [root@localhost ~]# [root@localhost ~]# ...
分类:
编程语言 时间:
2020-07-07 15:06:04
阅读次数:
98
https://stackoverflow.com/questions/4629800/how-to-use-fiddler-to-monitor-wcf-service You need to add this in your web.config <system.net> <defaultPro ...
分类:
其他好文 时间:
2020-07-07 15:00:34
阅读次数:
51
阿里云ECS云服务器数据盘分区及挂载到指定目录 阿里云服务器的硬盘是分两块,一个系统盘,一个数据盘,默认数据盘没有被挂载。 一、新增挂载 1、检查云服务器的硬盘情况 df -h fdisk -l 2、对数据盘进行分区操作 # 数据盘名称不一定是 /dev/xvdb # fdisk -l 查看名称 f ...
分类:
其他好文 时间:
2020-07-07 14:59:29
阅读次数:
121
1、查找/etc目录下大于1M且类型为普通文件的所有文件[root@centos7~]#find/etc-typef-size+1M2、打包/etc/目录下面所有conf结尾的文件,压缩包名称为当天的时间,并拷贝到/usr/local/src目录备份[root@centos7~]#tar-cvf/usr/local/src/`date"+%T"`.tar/etc/*.conf3、利用sed取出if
分类:
其他好文 时间:
2020-07-07 14:57:32
阅读次数:
48
方法一 将BASE64PDF 复制到浏览器当中,然后在最前面加上以下代码 data:application/pdf;base64, 方法二 public static void DownLoadDMSPdf(string url) { url = "http://10.136.3.107:23948 ...
分类:
其他好文 时间:
2020-07-07 13:17:34
阅读次数:
48