码迷,mamicode.com
首页 >  
搜索关键字:diff    ( 2433个结果
深思 PHP 数组遍历的差异(array_diff 的实现)
function array_diff($array_1, $array_2) { $diff = array(); foreach ($array_1 as $k => $v1) { $flag = false; foreach ($array_2 as $v2) { if ($flag = ($ ...
分类:编程语言   时间:2017-07-06 22:04:46    阅读次数:138
Direct3D 9 入门样例程序 圆锥体
介绍 Directx3D 9 什么是DirectX,非常好说了,Win32 C++ API。主要是多媒体编程方面的,长处体如今高性能了,如今我知道的版本号最高是D3D11,可是我是学习入门的,从D3D9開始,不算非常是落伍。 Directx3D 元素 D3D元素非常多,这里说的元素是程序中用到的元素 ...
分类:其他好文   时间:2017-07-06 18:42:32    阅读次数:239
1.GIT常用命令-创建版本库和版本回退
一、安装GIT$ git查看目前系统里面有没有装GITsudo apt-get install git安装GIT$ git config --global user.name "Your Name"$ git config --global user.email "email@example.com... ...
分类:其他好文   时间:2017-07-06 14:25:52    阅读次数:187
[20170705]diff比较执行结果的内容.txt
[20170705]diff比较执行结果的内容.txt--//有时候需要比较2个命令输出的结果进行比较,比较笨的方法如下,例子:$ lsnrctl status LISTENER_SCAN2 > /tmp/b2.txt$ lsnrctl status LISTENER_SCAN3 > /tmp/b3 ...
分类:其他好文   时间:2017-07-06 10:18:08    阅读次数:116
GIT 基本用法
1、GIT仓库初始化:git init 2、新增文件,添加修改: 1)git add <file> 2)git commit -m 'XXX' 3、查看工作区状态:git status 4、查看修改内容:git diff 5、使用git log或git reflog查看版本ID,使用ID版本穿梭:g ...
分类:其他好文   时间:2017-07-06 10:08:27    阅读次数:158
ZOJ 3699 Dakar Rally
链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3699 Dakar Rally Time Limit: 2 Seconds Memory Limit: 65536 KB Description The Dakar Ra ...
分类:其他好文   时间:2017-07-04 20:06:56    阅读次数:203
Hadoop Shell 介绍
以 hadoop 2.7.3 为例 bin 目录下是最基础的集群管理脚本, 用户可通过该脚本完成各种功能, 如 HDFS 管理, MapReduce 作业管理等. 作为入门, 先介绍bin 目录下的 hadoop 脚本的使用方法, 如下所示: 参考 官网的 Hadoop 命令参考 bin 目录下的 ...
分类:系统相关   时间:2017-07-03 23:47:51    阅读次数:450
What-are-P-NP-NP-complete-and-NP-hard
https://www.quora.com/What-are-P-NP-NP-complete-and-NP-hard https://www.quora.com/How-do-you-explain-NP-Complete-and-NP-hard-to-a-child https://www.qu ...
分类:其他好文   时间:2017-07-02 23:23:56    阅读次数:212
shader code 温度云图(温场)实现
其中_Point1到4是平面4个顶点上的温度值 _midPointX,_midPointY,_midPointT给出了平面内三个点的位置和温度值,实际应用中可以相应修改和增删 图片:未命名1.jpg 图片:未命名1.jpg ...
分类:其他好文   时间:2017-07-01 22:34:57    阅读次数:337
POJ 3686 The Windy's(思维+费用流好题)
The Windy's Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 5362 Accepted: 2249 Description The Windy's is a world famous toy factory that ...
分类:Windows程序   时间:2017-07-01 19:31:13    阅读次数:268
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!