Prerequisites: Windows 10 Hyper-V Virtual machine parameters: Memory 2GB Hard Drive 20GB Provisioning: Launch Hyper-V, click on new > Virtual Machine ...
分类:
系统相关 时间:
2021-06-05 17:49:23
阅读次数:
0
通过stat函数获取文件的大小,单位bytes;无需将文件读入内存,可以计算大文件; #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <stdio.h> int stat(const char *pa ...
分类:
编程语言 时间:
2021-06-05 17:44:27
阅读次数:
0
Connect Vagrant VM by using Xshell 1. View your vagrant ssh-config type this commend to view your vagrant ssh-config: vagrant ssh-config you will get ...
分类:
系统相关 时间:
2021-06-05 17:39:35
阅读次数:
0
使用这两个东西 可以让你在开发时,获取内个value时 直接赋到Bean类中 不用手动 set :一定需要两个包:commons-beanutils-1.8.3 和 commons-logging-1.1.1 他们两是相互依赖的具体下载在Apache 公库中下载(意思叫你百度)我用的那时候 emmm ...
分类:
其他好文 时间:
2021-06-05 17:38:22
阅读次数:
0
<?php header("Content-type:text/html;charset=utf8"); date_default_timezone_set("RPC"); $signature = $_GET["signature"]; $timestamp = $_GET["timestamp" ...
分类:
微信 时间:
2021-06-05 17:35:32
阅读次数:
0
算法分析 设 \(f(n, k)\) 表示 \(n\) 个数的排列中逆序数为 \(k\) 的排列数。 最大的数 \(n\) 可能排在第 \(n - i\) 位,从而产生 \(i\) 个与 \(n\) 有关的逆序对,去掉 \(n\) 之后,剩下的 \(n - 1\) 个数的排列中有 \(k - i\) ...
分类:
其他好文 时间:
2021-06-05 17:34:58
阅读次数:
0
语言:Typescript Angular框架特性: 双向数据绑定 模块化 语义化标签 依赖注入 Angular应用程序一般由7个基本部分组成: 组件 模板 元数据 数据绑定(1、事件绑定;2、属性绑定) 指令(1、属性指令;2、组件指令;3、结构指令) 服务 依赖注入,又名DI 除以上7个基本部分 ...
分类:
其他好文 时间:
2021-06-05 17:34:41
阅读次数:
0
###yum安装依赖包 yum -y install libaio ###下载mysql_8.x版本rpm包 wget http://repo.mysql.com/mysql80-community-release-el7-1.noarch.rpm ###安装mysql_yum源 yum local ...
分类:
数据库 时间:
2021-06-04 19:54:22
阅读次数:
0
还是老规矩,QScopedPointer概念性的东西我就不赘述了,网上百度一抓一大把。 这里主要用实际的例子来说明一下QScopedPointer这个智能指针中data()和take()的用法,这里面是有坑的。 我们先来说一下data()和take()分别表示的是什么意思? 首先你可以把QScope ...
分类:
其他好文 时间:
2021-06-04 19:48:15
阅读次数:
0
EnableAutoConfiguration This class-level annotation tells Spring Boot to “guess” how you want to configure Spring, based on the jar dependencies that ...
分类:
其他好文 时间:
2021-06-04 19:47:18
阅读次数:
0