//// Source code recreated from a .class file by IntelliJ IDEA// (powered by Fernflower decompiler)//package junit.textui;import java.io.PrintStream;i...
分类:
其他好文 时间:
2015-12-01 21:03:57
阅读次数:
183
题目连接https://leetcode.com/problems/range-sum-query-mutable/Range Sum Query - MutableDescriptionGiven an integer arraynums, find the sum of the elements...
分类:
其他好文 时间:
2015-12-01 21:05:53
阅读次数:
216
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-12-01 21:04:53
阅读次数:
169
题目连接https://leetcode.com/problems/find-median-from-data-stream/Find Median from Data StreamDescriptionMedian is the middle value in an ordered integer...
分类:
其他好文 时间:
2015-12-01 21:06:00
阅读次数:
189
题目描述:(链接)Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally ide...
分类:
其他好文 时间:
2015-12-01 21:04:39
阅读次数:
160
1、判断前台的请求方式 Request.HttpMethod.ToLower()="";2、创建Cookie(键值对的方式) HttpCookie cookie=new httpCookie("cookie名",值);3、设置cookie的过期时间 cookie.Expires=DateTime.....
分类:
其他好文 时间:
2015-12-01 21:03:18
阅读次数:
145
2015年12月1日 19:44:23注: 本文用到的js图表库:dygraphs (400k, 没有太多主题, 不像highchart(42M), echarts(24M), 这里仅分析数据用) jschart.js虽然还小, 但是速度太慢太慢........测试数据量 19108个数据点先上效果...
分类:
其他好文 时间:
2015-12-01 21:04:25
阅读次数:
304
题目连接https://leetcode.com/problems/minimum-height-trees/Minimum Height TreesDescriptionFor a undirected graph with tree characteristics, we can choose ...
分类:
其他好文 时间:
2015-12-01 21:01:32
阅读次数:
342
[root@ossec-server Shell]# chmod u+x whologged.sh解释:chmod:改变权限u:文件所有用户+x: 增加可执行权限[root@ossec-server Shell]# ls -l whologged.sh-rwxr--r--. 1 root root ...
分类:
其他好文 时间:
2015-12-01 21:01:45
阅读次数:
409
一、存在远程仓库了,本地想克隆其代码:$ git clone git@git.oschina.net:winkey4986/Weather_demo.git二、本地有代码了,想在建个远程仓库保存代码,也可以作为中转站$ git remote add origin git@git.oschina.ne...
分类:
其他好文 时间:
2015-12-01 21:00:45
阅读次数:
185
iLBC是一种专为包交换网络通信设计的编解码,优于目前流行的G.729、G.723.1,对丢包进行了特有处理,即使在丢包率 相当高的网络环境下,仍可获得非常清晰的语音效果。
分类:
其他好文 时间:
2015-12-01 20:59:45
阅读次数:
118
因特网与网络互联技术 因特网与网络互联技术TCP协议——三次握手TCP协议——四次断开常见的传输层端口域名系统DNS名称解析方法:Host表NIS系统DNS系统
分类:
其他好文 时间:
2015-12-01 21:00:04
阅读次数:
214
实验步骤连接试验箱用虚拟机打开linux编译代码。下载调试,并修改makefile运行后便会在试验箱显示屏出现正弦波
分类:
其他好文 时间:
2015-12-01 21:00:45
阅读次数:
167
一、概念Java中对文件的操作是以流的方式进行的。流是 Java内存中的一组有序数据序列。Java将数据从源(文件、内存、键盘、网络)读入到内存中,形成了流,然后将这些流还可以写到另外的目的地(文件、内存、控制台、网络),之所以称为流,是因为这个数据序列在不同时刻所操作的是源的不同部分。二、分类流的...
分类:
其他好文 时间:
2015-12-01 21:00:03
阅读次数:
121
1.通配符.能够匹配任意字符2.特殊字符转义例如想要匹配baidu.com的正确做法应该讲正则表达式写成baidu//.com3.字符集[a-z]表示能匹配a到z之间的字母[a-z0-9]表示能匹配小写字母和数字翻转字符集就是在之前加上^,[^abc]表示能匹配除了abc之外的字符4.选择符只想匹配...
分类:
其他好文 时间:
2015-12-01 21:01:25
阅读次数:
155
import java.io.IOException;import java.util.StringTokenizer;import org.apache.hadoop.conf.Configuration;import org.apache.hadoop.fs.Path;import org.ap...
分类:
其他好文 时间:
2015-12-01 20:59:13
阅读次数:
126