51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
#era
EtherNet/IP 协议应用层使用CIP协议&CIP协议中使用的TLS和DTLS(Network Infrastructure for EtherNet/IPTM: Introduction and Considerations)
...
代码星球
·
2020-04-07
协议
EtherNet
CIP
IP
应用层
Vulnerability Scanning
1、VulnerabilityscanningwithNmapScriptingEngine theNmapScriptEngineprovideaalrgenumberofscriptthatcaneusedtoperformarangeofautomatedtaskto...
代码星球
·
2020-04-07
Vulnerability
Scanning
Common Vulnerability Scoring System CVSS
1、GeneratingaShellpayloadusingmsfvenom 2、webintrusionTest infactinthewebsecurity,thewebpentrationtestisonlyontpieceofthepuzzle...
代码星球
·
2020-04-07
Common
Vulnerability
Scoring
System
CVSS
Active information gathering-services enumeration
1、Summaizethebook Practical WebPenetrationTesting first nmaptoolsisimportantforgatherinformationofservers  ...
代码星球
·
2020-04-07
Active
information
gathering-services
enumeration
Web Application Vulnerablities
1、Fileinclusion berfoestartthiscaption imakeaconclusionforinstallthird-partasfollow InotincludethesequencedecoderandCompa...
代码星球
·
2020-04-07
Web
Application
Vulnerablities
利用mybatis-generator自动生成代码
mybatis-generator有三种用法:命令行、eclipse插件、maven插件。个人觉得maven插件最方便,可以在eclipse/intellijidea等ide上可以通用。下面是从官网上的截图:(不过官网www.mybatis.org 最近一段时间,好象已经挂了)一、在pom.xml中添加plu...
代码星球
·
2020-04-06
利用
mybatis-generator
自动生成
代码
ToArray()和IEnumerable<T>,List<T>
一:ToArray()在程序中,我们往往习惯使用List<>这种集合类,但是程序中却要求需要传递一个数组,List<>已经为我们提供了toArray()方法二:IEnumerable<T>在MSDN上,是这么说的,它是一个公开枚举数,该枚举数支持在非泛型集合上进行简单的迭代。换句话说...
代码星球
·
2020-04-06
ToArray
IEnumerable
List
【转】编写高质量代码改善C#程序的157个建议——建议29:区别LINQ查询中的IEnumerable<T>和IQueryable<T>
建议29:区别LINQ查询中的IEnumerable<T>和IQueryable<T>LINQ查询一共提供了两类扩展方法,在System.Linq命名空间下,有两个静态类:Enumerable类,它针对继承了IEnumerable<T>接口的集合进行扩展;Queryabl...
代码星球
·
2020-04-06
建议
编写
高质量
代码
改善
angularJS1笔记-(13)-自定义指令(controller和controllerAs实现通信)
index.html:<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"></head><body><divng-app="myApp"><divng-controlle...
代码星球
·
2020-04-06
angularJS1
笔记
自定义
指令
controller
presentModalViewController与dismissModalViewControllerAnimated的使用和总结(转载--备忘)
(2012-12-2710:57:42)转载▼标签: presentmodalviewcont dismissmodalviewcont ios iphone xcode it分类: 功能代码 在实际开发中,如果要弹出视图:我们常用到pre...
代码星球
·
2020-04-06
presentModalViewController
dismissModalViewControllerAnimated
使用
总结
转载
mysql虚拟列(Generated Columns)及JSON字段类型的使用
mysql5.7中有很多新的特性,但平时可能很少用到,这里列举2个实用的功能:虚拟列及json字段类型一、先创建一个测试表:droptableifexistst_people;CREATETABLEt_people(`id`INT(11)NOTNULLAUTO_INCREMENT,`name`varchar(50)NO...
代码星球
·
2020-04-06
mysql
虚拟
Generated
Columns
JSON
mysql: Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '= 的解决
昨天把mysql里所有table的varchar字段的字符集,批量换成了utf8mb4/utf8mb4_unicode_ci,以便能保存一些emoji火星文,结果有一个sql语句执行时,报错如下:Illegalmixofcollations(utf8_unicode_ci,IMPLICIT)and(utf8_gener...
代码星球
·
2020-04-06
utf8
ci
IMPLICIT
mysql
Illegal
ubuntu下useradd与adduser差别,新建用户不再home文件夹下
useraddusername不会在/home下建立一个目录usernameadduserusername会在/home下建立一个目录usernameuseradd-musername跟adduser一样,能够建立一个目录username...
代码星球
·
2020-04-06
ubuntu
useradd
adduser
差别
新建
spring mvc 关键接口 HandlerMapping HandlerAdapter
HandlerMapping Springmvc使用HandlerMapping来找到并保存url请求和处理函数间的mapping关系。 以DefaultAnnotationHandlerMapping为例来具体看HandlerMapping的作用 De...
代码星球
·
2020-04-06
spring
mvc
关键
接口
HandlerMapping
添加@ControllerAdvice后报错 Failed to invoke @ExceptionHandler method
首先。单独使用ControllerAdvice无法正常工作。需要配合@EnableWebMvc使用。 @ControllerAdvice@EnableWebMvcpulbicclass ExceptionControllerAdvice{ @ExceptionHandler(NotFo...
代码星球
·
2020-04-06
添加
@ControllerAdvice
报错
Failed
to
首页
上一页
...
77
78
79
80
81
...
下一页
尾页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他