从现在开始相关文章请到: http://lko2o.com/moon 接续上一篇:《ASP.NET SignalR系列》第一课 认识SignalR (还没有看的话,建议您先看看) 一、指定通信方式 建立一个通讯方式需要一定的时间和客户机/服务器资源。如果客户机的功能是已知的,那么通信方式在客户端连接 ...
分类:
Web程序 时间:
2019-07-10 10:55:26
阅读次数:
170
`SharedPreferences` 应该是任何一名 Android 初学者都知道的存储类了,它轻量,适合用于保存软件配置等参数。以键值对的 XML 文件形式存储在本地,程序卸载后也会一并清除,不会残留信息。 使用起来也非常简单。 当我们写下这样的代码的时候,IDE 极易出现一个警告,提示我们用 ...
分类:
移动开发 时间:
2019-07-08 19:48:13
阅读次数:
173
Computing the cross correlation function is useful for finding the time delay offset between two time series. Python has the numpy.correlate function. ...
分类:
其他好文 时间:
2019-07-07 16:03:46
阅读次数:
148
原理: 二次注入需要具备的两个条件: (1)用户向数据库插入恶意语句(即使后端代码对语句进行了转义,如mysql_escape_string、mysql_real_escape_string转义) (2)数据库对自己存储的数据非常放心,直接取出恶意数据给用户 举例: (1)在sqli_libs的第2 ...
分类:
其他好文 时间:
2019-07-07 12:48:34
阅读次数:
107
1. nginx 配置文件中获取源IP的配置项 proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; #一般的web服务器用这个 X-Real-IP 来获取源IP proxy_set_header x-forwar ...
分类:
其他好文 时间:
2019-07-04 12:51:28
阅读次数:
275
? 使用神经网络来为散点作分类 ● 单层感知机,代码 ● 输出结果,一维 6 遍收敛,二维 39 遍,三维 87 遍,四维 89 遍 ● 画图 ...
分类:
其他好文 时间:
2019-07-03 20:05:30
阅读次数:
87
Python3快速入门(八)——Python3JSON1、JSON简介JSON(JavaScriptObjectNotation)是一种轻量级的数据交换格式,是基于ECMAScript的一个子集。2、json模块简介Python3中可以使用json模块来对JSON数据进行编解码,包含两个函数:json.dumps():对数据进行编码。json.loads():对数据进行解码。在json的编解码过程
分类:
编程语言 时间:
2019-07-01 22:54:12
阅读次数:
111
Algorithms: https://leetcode-cn.com/problems/repeated-substring-pattern/ 重复子字符串 Review: “I’m Leaving Google?—?and Here’s the Real Deal Behind Google C ...
分类:
其他好文 时间:
2019-07-01 00:43:26
阅读次数:
95
Equations are given in the format A / B = k, where A and B are variables represented as strings, and k is a real number (floating point number). Given ...
分类:
其他好文 时间:
2019-06-30 14:23:05
阅读次数:
97
官网文档: https://dev.mysql.com/doc/refman/5.7/en/mysql-real-connect.html ...
分类:
数据库 时间:
2019-06-30 12:26:52
阅读次数:
123