码迷,mamicode.com
首页 >  
搜索关键字:combine    ( 517个结果
[Javascript AST] 2. Write a simple ESLint rule
What we want to do is checking if user write nested if statements which actually can combine to one: Notice that if statement can write with block sta ...
分类:编程语言   时间:2017-09-25 22:09:51    阅读次数:145
php yii 命令
php yii 敲回车 This is Yii version 2.0.11. The following commands are available: - asset Allows you to combine and compress your JavaScript and CSS files ...
分类:Web程序   时间:2017-09-21 13:52:41    阅读次数:296
bilingual evaluation understudy
BLEU is designed to approximate human judgement at a corpus level, and performs badly if used to evaluate the quality of individual sentences. https:/ ...
分类:其他好文   时间:2017-09-19 18:58:30    阅读次数:115
C# 备份、还原、拷贝远程文件夹
最近一直都很忙,非常抱歉好久没有写过博客了。最近遇到拷贝远程文件的一些工作,比如我们发布的web站点的时候,开发提供一个zip压缩包,我们需要上传到远程的服务器A,然后在部署(文件拷贝)到远程环境B和C,ABC都在一个局域网里面。 首先我们需要一个工具类来转换文件路径,本地地址与远程地址的转换 比如 ...
分类:Windows程序   时间:2017-09-17 01:28:16    阅读次数:285
Codecraft-17 and Codeforces Round #391 (Div. 1 + Div. 2, combined) A
Bash wants to become a Pokemon master one day. Although he liked a lot of Pokemon, he has always been fascinated by Bulbasaur the most. Soon, things s ...
分类:其他好文   时间:2017-09-08 18:11:37    阅读次数:179
spark aggregate函数
aggregate函数将每个分区里面的元素进行聚合,然后用combine函数将每个分区的结果和初始值(zeroValue)进行combine操作。这个函数最终返回的类型不需要和RDD中元素类型一致。 def aggregate[U: ClassTag](zeroValue: U)(seqOp: (U ...
分类:其他好文   时间:2017-09-08 16:20:57    阅读次数:223
Linux巩固记录(5) hadoop 2.7.4下自己编译代码并运行MapReduce程序
程序代码为 ~\hadoop-2.7.4\share\hadoop\mapreduce\sources\hadoop-mapreduce-examples-2.7.4-sources\org\apache\hadoop\examples\WordCount.java 第一次 删除了package i ...
分类:系统相关   时间:2017-09-02 19:10:16    阅读次数:187
C#通过代码判断并注册程序集到GAC
var dllName = "EasyHook.dll"; var dllPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, dllName); if (System.Runtime.InteropServices.RuntimeEn... ...
分类:Windows程序   时间:2017-08-31 16:15:29    阅读次数:478
堆喷射
堆喷射主要用于绕过ASLR。下面演示堆喷射分析与效果。 1.代码 void heap_spray(){ char chunk[LEN] = { 0 }; memset(chunk, 0x90, LEN - 10); strcat(chunk, "shellcode"); for (int i = 0 ...
分类:其他好文   时间:2017-08-21 15:54:20    阅读次数:226
C#中文件上传代码
FileUpload FileUpload1 =(FileUpload)ListView1.InsertItem.FindControl("FileUpload1"); string virtualPath = "~/GigPics/"; string physicalPath = Server.M... ...
分类:Windows程序   时间:2017-08-19 19:57:46    阅读次数:178
517条   上一页 1 ... 19 20 21 22 23 ... 52 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!