1 maven <!--EHcache--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-cache</artifactId> </dependency> <depe ...
分类:
编程语言 时间:
2019-07-16 22:39:39
阅读次数:
123
 ``` // 增加抽屉背景,即背景头像 import 'package:flutter/material.dart... ...
分类:
其他好文 时间:
2019-07-16 00:10:02
阅读次数:
110
你可以对包中的 任意 类型定义任意方法,而不仅仅是针对结构体。 但是,不能对来自其他包的类型或基础类型定义方法。 package main import ( "fmt" "math" ) type MyFloat float64 //定义在了结构体上 func (f MyFloat) Abs() f ...
分类:
其他好文 时间:
2019-07-15 23:58:20
阅读次数:
173
结构体一个结构体(`struct`)就是一个字段的集合。 将来要使用它向java 、C# 中的class 有相同的地位 struct 可以用来值传递 同时可以通过引用传递参数(地址) java C# 对于class只能引用传递 结构体定义 type YourName struct 例如: type ...
分类:
其他好文 时间:
2019-07-15 18:49:27
阅读次数:
178
复制上面代码到txt文本文件中,让把txt的后缀名改成bat 批处理文件,以管理员运行。 ...
ChrisSanders的经典之作《Wireshark数据包分析实战》(《PracticalPacketAnalysis:UsingWiresharktoSolveReal?worldNetworkProblems》)TJO‘Connor《Python绝技:运用Python成为顶级***》(《VoilentPython》)《KaliLinux2网络***测试实践指南》《Metasploit***
分类:
其他好文 时间:
2019-07-15 10:50:53
阅读次数:
115
为什么要使用命令行 觉得这个问题不应该列出来,又觉得如果初次进行WEB开发的话,可能会觉得所有的东西都可以使用API去做,会觉得命令行没有必要。 其实,一个生产的项目命令行是绕不过去的。比如运营需要导出报表、统计下付费用户、服务不稳定修改下订单状态等等,再者,命令行的工具基本都是内部使用,调试日志可 ...
分类:
其他好文 时间:
2019-07-14 19:45:22
阅读次数:
126
1 package com.aixuexi.contact; 2 3 public class BubbleSort { 4 public static void main(String[] args) { 5 int arr[] = new int[] {985,2,6}; 6 //冒泡 O(N*... ...
分类:
编程语言 时间:
2019-07-14 19:42:04
阅读次数:
90
To build from source, the build/installation package follows the GNU guidelines. So, to download the latest package: git clone https://github.com/stre ...
分类:
移动开发 时间:
2019-07-14 09:38:39
阅读次数:
409
Slf4j与log4j及log4j2的关系及使用方法 slf4j slf4j仅仅是一个为Java程序提供日志输出的统一接口,并不是一个具体的日志实现方案,就比如JDBC一样,只是一种规则而已,所以单独的slf4j是不能工作的,必须搭配其他具体的日志实现方案,比如log4j或者log4j2,要在系统中 ...
分类:
其他好文 时间:
2019-07-13 09:20:57
阅读次数:
95