Sub 提取红色正确答案选项() Selection.HomeKey wdStory Selection.Find.ClearFormatting Selection.Find.Font.Color = wdColorRed Selection.Find.Replacement.ClearForma ...
分类:
编程语言 时间:
2020-06-30 12:48:07
阅读次数:
132
答: 在Dockerfile中添加以下语句来配置apt-get 从当前的系统中复制/etc/apt/sources.list以及/etc/apt/apt.conf到Dockerfile所处的目录中 $ cp /etc/apt/sources.list ./ $ cp /etc/apt.conf ./ ...
分类:
系统相关 时间:
2020-06-30 12:47:49
阅读次数:
121
1.通过配置文件确认zabbix关联的数据库信息 #find / -name zabbix_server.conf 查看管理数据库,密码,IP 2.登录数据库修改 #mysql -uzabbix -pzabbix >select user(); 查看当前用户 >show databases; >us ...
分类:
其他好文 时间:
2020-06-30 12:36:12
阅读次数:
43
cnblogs.com/fellow1988/p/6212676.html 看了个大概 Platform是一种虚拟总线,Platform机制将设备本身的资源注册进内核,有内核统一管理,在驱动程序使用这些资源时使用统一的接口,这样提高了程序的可移植性。 Linux的大部分设备驱动都可以使用platfo ...
分类:
其他好文 时间:
2020-06-30 11:22:05
阅读次数:
64
内存溢出以及堆栈溢出 简单认识一下2种内存异常OutOfMemoryError,StackOverflowError 来自JDK Doc的解释: public class OutOfMemoryError extends VirtualMachineError Thrown when the Jav ...
分类:
其他好文 时间:
2020-06-30 10:24:17
阅读次数:
51
题目链接:https://codeforces.com/contest/1354 想法: 很明显的权值线段树(值域线段树)板子题。 #include <algorithm> #include <string> #include <cstring> #include <vector> #include ...
分类:
其他好文 时间:
2020-06-30 00:43:08
阅读次数:
58
遇到的问题: 1. SPARK & HADOOP 不能安装在有空格的目录下 比如 programs file这种 2. 需要设置环境变量 PYSPARK_PYTHON PYSPARK_DRIVER_PYTHON 到3.6.5的环境,不然3.6 3.7会撞车 ...
分类:
其他好文 时间:
2020-06-29 21:28:22
阅读次数:
66
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver import ActionChains import time driver=webdrive ...
分类:
其他好文 时间:
2020-06-29 17:01:23
阅读次数:
79
https://www.cnblogs.com/cute/archive/2011/08/26/2154137.html 1、判断字符串为空 if [ -z "$str" ]; then echo "empty string" fi 2、判断文件是否存在 if [ -f /home/builder/ ...
分类:
系统相关 时间:
2020-06-29 13:44:40
阅读次数:
107
其他命令 目标 查找文件 find 软链接 ln 打包和压缩 tar 软件安装 apt-get 01. 查找文件 find 命令功能非常强大,通常用来在 特定的目录下 搜索 符合条件的文件 序号命令作用 01 find [路径] -name "*.py" 查找指定路径下扩展名是 .py 的文件,包括 ...
分类:
系统相关 时间:
2020-06-29 13:15:26
阅读次数:
79