安装完git之后所要做的操作: 配置全局用户名和email git config –global user.name “zjr” git config –global user.email “18513316431@163.com” 配置的全局信息 git config –l 创建本地git仓库 A ...
分类:
其他好文 时间:
2017-04-09 16:52:10
阅读次数:
187
int整数类型 double加点数 char字符 String字符串 示例1 public class Dfdg { public static void main(String[] args){ int money = 1000; //存储本金 System.out.println(money); ...
分类:
其他好文 时间:
2017-04-09 15:47:45
阅读次数:
223
Lecture 1:Demonstrate the columns of a matrix (imagine the vectors) in N-dimension space.How to multiply a matrix by a vector -- a different way, mult ...
分类:
其他好文 时间:
2017-04-09 09:52:13
阅读次数:
192
A friend of mine claimed that someone stole her personal data via hacking certain App. She installed that App several months ago and registered an acc ...
分类:
移动开发 时间:
2017-04-08 23:53:59
阅读次数:
659
int,bool,decimal等为值类型 List,Stream等为引用类型 用等号设置一个值类型变量等于另一个变量时,会完成复制,之后这两个变量相互之间没有任何影响; 对引用使用等号时,这两个引用就会指向同一个对象 对于值类型和引用类型,变量声明和复制都是一样的。 int howMany = 2 ...
原题链接在这里:https://leetcode.com/problems/k-diff-pairs-in-an-array/#/description 题目: Given an array of integers and an integer k, you need to find the num ...
分类:
其他好文 时间:
2017-04-08 09:42:27
阅读次数:
168
比较两个数组,然后返回一个新数组,该数组的元素为两个给定数组中所有独有的数组元素。换言之,返回两个数组的差异。 这是一些对你有帮助的资源: Comparison Operators Array.slice() Array.filter() Array.indexOf() Array.concat() ...
分类:
其他好文 时间:
2017-04-08 00:56:47
阅读次数:
155
windows下的TortoiseSVN是资源管理器的一个插件,以覆盖图标表示文件状态,几乎所以命令都有图形界面支持,比较好用,这里就不多说。主要说说linux下svn的使用,因为linux下大部分的操作都是通过命令行来进行,所以必须得掌握linux下svn的常用指令。当然linux下也有模仿Tor ...
分类:
系统相关 时间:
2017-04-07 22:20:20
阅读次数:
183
react优点: 1.组件化 2.模块化:基于 webpack 可以使用 Es6 或 CommonJs 的写法实现模块化代码 3.运行效率:React 实现了 Virtual DOM ,相比于 MVVM 框架具有更优的效率 4.diff算法:树形结构不同直接移除再新增节点,不去徒劳的进行比较,简单粗 ...
分类:
其他好文 时间:
2017-04-07 18:32:46
阅读次数:
182
原文:https://zhuanlan.zhihu.com/p/20346379 总结一下个人看完之后的理解: 1、tree diff:只对相同层级的节点进行比较,如果子树在新树种不存在了,则直接删除。如果新加了树就是创建,那么如果进行了跨层级的树的移动怎么办?答案是直接删除移动前的树,在移动后的位 ...
分类:
编程语言 时间:
2017-04-07 16:02:53
阅读次数:
175