码迷,mamicode.com
首页 >  
搜索关键字:returns    ( 2350个结果
.NET中的XML注释(一) 标签讲解
一.摘要 .Net允许开发人员在源代码中插入XML注释,这在多人协作开发的时候显得特别有用。 C#解析器可以把代码文件中的这些XML标记提取出来,并作进一步的处理为外部文档。 这篇文章将展示如何使用这些XML注释。 在项目开发中,很多人并不乐意写繁杂的文档。但是,开发组长希望代码注释尽可能详细;项目 ...
分类:Web程序   时间:2017-03-29 13:08:52    阅读次数:272
php通过geohash算法实现查找附近的商铺
geohash有以下几个特点: 首先,geohash用一个字符串表示经度和纬度两个坐标。利用geohash,只需在一列上应用索引即可。 其次,geohash表示的并不是一个点,而是一个矩形区域。比如编码wx4g0ec19,它表示的是一个矩形区域。 使用者可以发布地址编码,既能表明自己位于北海公园附近 ...
分类:编程语言   时间:2017-03-28 22:53:56    阅读次数:1200
[Python] numpy.nonzero
numpy.nonzero(a) Return the indices of the elements that are non-zero. Returns a tuple of arrays, one for each dimension of a, containing the indices ...
分类:编程语言   时间:2017-03-26 11:49:44    阅读次数:178
springboot + shiro + cas4.2.7 实战
1. 下载地址 https://github.com/apereo/cas/archive/v4.2.7.zip 2. 解压后, 用intellj idea 打开 3. 执行 gradle build -x test ,打包编译 4. 取消https,能够支持直接http cas.propertie ...
分类:编程语言   时间:2017-03-26 01:10:03    阅读次数:2567
前端预览图片和H5canvas压缩图片上传
思路是将图片抽样显示在canvas上,然后用通过canvas.toDataURL方法得到base64字符串来实现压缩。 1.base64转二进制文件 2.压缩 参数(图片对象,品质,输出格式) 返回压缩后图片对象 3.主要流程 获得和读取图片对象 创建canvas,尺寸设置压缩后的图片尺寸 调用dr ...
分类:Web程序   时间:2017-03-25 17:19:51    阅读次数:358
Debugging Auto Layout:Ambiguous Layouts
Debugging Auto Layout:Ambiguous Layouts ...
分类:其他好文   时间:2017-03-24 13:16:44    阅读次数:215
[Python] numpy.random.rand
numpy.random.rand Random values in a given shape. Create an array of the given shape and populate it with random samples from a uniform distribution o ...
分类:编程语言   时间:2017-03-24 00:06:47    阅读次数:214
[Python] String strip() Method
Description The method strip() returns a copy of the string in which all chars have been stripped from the beginning and the end of the string (defaul ...
分类:编程语言   时间:2017-03-23 21:33:32    阅读次数:194
C# 调用动态链接库,给游览器写入Cookie
给游览器写入Cookie class Program { /// /// 写 /// /// /// /// /// [DllImport("wininet.dll", CharSet = CharSet.Auto, SetLastError = true)] ... ...
分类:Windows程序   时间:2017-03-23 10:41:12    阅读次数:263
C# HttpWebRequest 绝技
get方法 post方法 ...
分类:Windows程序   时间:2017-03-22 13:11:37    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!