There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh ...
分类:
其他好文 时间:
2016-06-26 15:14:14
阅读次数:
115
import java.io.IOException;import java.net.DatagramPacket;import java.net.DatagramSocket;import java.net.SocketException;public class UdpReceivve { /* ...
分类:
其他好文 时间:
2016-06-26 15:14:03
阅读次数:
129
网上搜索到的解决方法都是卸载pulseaudio,但这种方法比较暴力不能从根本上解决问题。 经过一段时间的排查,我发现最终问题出现在resample-method上。 由于内核内CS5536 AC97驱动不支持floatle编码的音频,所以在采样率 != 48000然后pulseaudio在resa ...
分类:
其他好文 时间:
2016-06-26 15:13:59
阅读次数:
127
网络编程基础网络编程基础
学习网络编程的原因
网络通讯的三要素
IP地址
端口
协议
Java中Socket编程
UDP下Socket通信
UDP协议中Socket编程步骤总结
UDP协议注意事项
出现数据包丢失的情况
TCP下Socket通信
TCP协议中Socket编程步骤总结
TCP协议编程示例
山寨Tomcat服务器
学习网络编程的原因网络编程主要是实现计算机与计算机之间的数据传输问题,网络...
分类:
其他好文 时间:
2016-06-26 14:11:26
阅读次数:
277
React Native 发布一年多了,有不少公司已经在线上产品中或小范围试水,或大范围应用,很多公司或开发者都在为 React Native 的生态系统作出自己的贡献。React Native 的开发基本上是 Javascript + 系统原生开发语言(Java,Objective-C,Swift),原生语言的开发所用的 IDE 没有多余的选择,Android 平台只能使用 Android Studio(不要告诉我...
分类:
其他好文 时间:
2016-06-26 14:10:18
阅读次数:
325
一、查看官方提供的下载源 https://docs.puppet.com/guides/puppetlabs_package_repositories.html 二、 选择对应系统的下载源 因为本机是CentOS 7.1,故选择YUM源 https://yum.puppetlabs.com/ 三、 ...
分类:
其他好文 时间:
2016-06-26 14:07:32
阅读次数:
152
VQUery elements属性,储存选中的元素 参数 typeof的作用 字符串 class ID tagName 函数 事件绑定 对象 直接插入 $函数 绑定事件 click方法 显示隐藏,--show,hide方法 hover方法 解决函数中的this问题 call aplly toggle ...
分类:
其他好文 时间:
2016-06-26 14:08:48
阅读次数:
186
此文参考: http://www.cnblogs.com/liu-5525/p/5614425.html 1. classLoader 如何加载 class ClassLoader 负责将 .class 文件(可能在disk上,可能在网络上) 加载到 RAM 里面, 并为之生成对应的 [java.l ...
分类:
其他好文 时间:
2016-06-26 14:08:53
阅读次数:
148
DNS: Domain Name System (将域名和ip地址相互转化) 域名是一个范围,例如baidu.com,.com。而www.baidu.com是个主机名,即FQDN: Full Qualified Domain Name, 完全限定域名),诸多主机名构成了一个域名。 DNS主要用来名称 ...
分类:
其他好文 时间:
2016-06-26 14:08:21
阅读次数:
146
题目链接: Holiday's Accommodation Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 200000/200000 K (Java/Others) Problem Description Nowadays, people ...
分类:
其他好文 时间:
2016-06-26 14:06:04
阅读次数:
297
在 CentOS7 上部署 zookeeper 服务 1 用 SecureCRT 或 XShell 等 Linux 客户端工具连接至 CentOS7 服务器; 2 进入到 /usr/local/tools 目录中: cd /usr/local/ 如没有此目录则创建: mkdir -p tools 3 ...
分类:
其他好文 时间:
2016-06-26 14:06:35
阅读次数:
446
CentOS7 之 Redis3 学习笔记 1 Redis 官网: http://www.redis.io/ 2 Redis 的下载地址: http://download.redis.io/releases/redis-3.0.7.tar.gz 这里我们下载的是 redis-3.0.7.tar.gz ...
分类:
其他好文 时间:
2016-06-26 14:04:02
阅读次数:
187
Given a non-empty 2D matrix matrix and an integer k, find the max sum of a rectangle in the matrix such that its sum is no larger than k. Example: The ...
分类:
其他好文 时间:
2016-06-26 14:03:31
阅读次数:
2171
10. Regular Expression Matching Implement regular expression matching with support for '.' and '*'. The TIME LIMIT EXCEEDED Solution: ...
分类:
其他好文 时间:
2016-06-26 14:06:00
阅读次数:
181
之前听说了百度用arm服务器搭建了webserver和网盘之类的东西,然后又看到有人用android电视棒里面装ubuntu,于是就有了用arm尝试做hadoop服务器的想法。但是目前arm 64位的cpu还没有出货,所以这只是个前奏性质的尝试。 从淘宝上面买了一个arm的单片机,上面有一颗基于AR ...
分类:
其他好文 时间:
2016-06-26 14:05:07
阅读次数:
201