码迷,mamicode.com
首页 >  
搜索关键字:unit test    ( 37884个结果
常用工作命令集合
1. find . -regex '.*\.c\|.*\.cc' | xargs grep "string" --color --line-number 2. sed -n '5,10p' filename 查看文件的第5行到第10行。 3. grep -o hello test.log | wc ...
分类:其他好文   时间:2021-04-27 15:16:42    阅读次数:0
c++ (文件读写操作)
文件读写操作「c++」 #include <fstream> void test01() { //ofstream ofs("./test.txt",ios::out | ios::trunc); //后期指定打开方式 ofstream ofs; ofs.open("./test.txt",ios: ...
分类:编程语言   时间:2021-04-27 15:05:25    阅读次数:0
java遍历文件
java遍历文件 package com.vfsd.test; import java.io.File; import java.io.IOException; public class ListFileName { public static void main(String[] args) { ...
分类:编程语言   时间:2021-04-27 15:01:42    阅读次数:0
zabbix三种邮箱告警配置
本地邮箱告警配置 配置本地邮箱告警前,我们要用到mail命令 所以先安装mail命令 [root@mf ~]# yum -y install mailx 使用mail命令发送邮箱 [root@mf ~]# echo "test" | mail -s "20210426" 18808843007@16 ...
分类:其他好文   时间:2021-04-27 14:43:11    阅读次数:0
applicaiton.properties 配置
MySQL spring.datasource.url=jdbc:mysql://localhost:3306/twitter_test?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8spring. ...
分类:移动开发   时间:2021-04-27 14:38:30    阅读次数:0
vue打包时配置不同的环境变量(vue-cli4)
vue打包时配置不同的环境变量(vue-cli4) 以配置测试环境test为例 1、在package.json文件中配置script文件 "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", ...
分类:其他好文   时间:2021-04-27 14:20:31    阅读次数:0
Explorer Space
D. Explorer Space 一点一点把题目理顺。看看哪些是可以推断出来的。 对于 dp 的题目而言,要一点一点去分析其中什么东西是可以递推的,正如这道题中 \(dp[x][y][k]=min\{dp[xx][yy][k-1]+d[x][y][i]\}\) 然后再进行记忆化搜索即可。 // C ...
分类:其他好文   时间:2021-04-27 14:17:50    阅读次数:0
C++ 反调试(NtSetInformationThread)
参考 https://blog.csdn.net/Simon798/article/details/103161482 先上代码: // Test_Console.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <afx.h> #includ ...
分类:编程语言   时间:2021-04-27 14:13:15    阅读次数:0
k8s安装常用软件的yaml文件
参考网址:https://www.bejson.com (网站文件部分有坑,需要擦亮眼睛) nginx k8s版本:v1.20 apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx namespace: test spec: re ...
分类:其他好文   时间:2021-04-26 14:08:07    阅读次数:0
CentOS7 firewall-cmd 防火墙 命令备忘 批量开放端口
Centos6 使用的是iptables,Centos7 使用的是filewall(-cmd)iptables 用于过滤数据包,属于网络层防火墙。firewall 能够允许哪些服务可用,那些端口可用...属于更高一层的防火墙。 1.firewalld的基本使用启动: systemctl start ...
分类:其他好文   时间:2021-04-26 13:32:00    阅读次数:0
37884条   上一页 1 ... 23 24 25 26 27 ... 3789 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!