/*文章内图片*/ #cnblogs_post_body p img { margin:10px; } /*顶一下*/ .diggnum { font-size:28px; color:#6DA47D; font-family:'Microsoft Yahei'; } #div_digg{ widt ...
分类:
其他好文 时间:
2021-01-16 11:55:56
阅读次数:
0
1. 设置执行引擎 set hive.execution.engine=mr;set hive.execution.engine=spark; 如果设置执行引擎为MR,那么调用Hadoop的maprecude来运行需要执行的job的程序; 如果设置执行引擎为spark,那么就会调用spark来执行任 ...
分类:
其他好文 时间:
2021-01-15 12:15:21
阅读次数:
0
https://codechina.csdn.net/mirrors/jessyancoding/androidautosize?utm_source=csdn_github_accelerator 以上是Androidautosize的源码,有兴趣的就去下下来搂一眼 我这边还没看完,就把最基础的看 ...
分类:
移动开发 时间:
2021-01-15 12:02:28
阅读次数:
0
yarn add mobile-detect -S import MobileDetect from 'mobile-detect' // alert("进来了") var userAgent = navigator.userAgent;//获取userAgent信息 console.log(use ...
分类:
移动开发 时间:
2021-01-15 11:40:37
阅读次数:
0
序号校验类型取值描述 1 required true&false 必须填写的字段 2 email “@”&“email” 必须输入正确格式的电子邮件 3 remote url路径 使用ajax进行验证 4 date 数字 正确格式日期 tips:ie6有bug 5 dateISO 字符串 正确格式的 ...
分类:
其他好文 时间:
2021-01-14 10:34:03
阅读次数:
0
Ubuntu16.04+window10两个系统都实现了 Ubuntu系统安装方法: 参考地址:http://ddrv.cn/a/320291 环境要求: 安装gym pip install gym 安装环境: git clone https://github.com/openai/multiage ...
分类:
其他好文 时间:
2021-01-13 10:53:15
阅读次数:
0
一、父组件向子组件传值 通过props来实现,子组件通过props来接收父组件传过来的值! 1、逻辑梳理 父组件中: 第一步:引入子组件; 1 import sonShow from '@/component/son.vue'; 第二步:在components中对子组件进行注册; 1 compone ...
分类:
移动开发 时间:
2021-01-11 10:59:13
阅读次数:
0
// 转 file dataURIToFile(dataURI) { let binStr = atob(dataURI.split(',')[1]) let len = binStr.length let arr = new Uint8Array(len) for (var i = 0; i < ...
分类:
其他好文 时间:
2021-01-07 11:43:38
阅读次数:
0
kubreretes https://www.cnblogs.com/zhangb8042/p/11444756.html docker https://docker-py.readthedocs.io/en/stable/images.html#docker.models.images.Image ...
分类:
其他好文 时间:
2021-01-07 11:43:02
阅读次数:
0
""" 输入字符串,判断只包含数字、a-z、A-Z、+-的数字串,进行+-,算出最小和 """ import re def sum_s(s): sum = 0 if re.match('^[0-9a-zA-Z+-]+$',s):#判断只包含数字、a-z、A-Z、+-的数字串 list1 = re.f ...
分类:
编程语言 时间:
2021-01-05 11:35:21
阅读次数:
0