原文:http://www.javacodegeeks.com/2014/07/9-differences-between-tcp-and-udp-protocol-java-network-interview-question.html?utm_source=tuicool TCP和UDP两种传....
分类:
编程语言 时间:
2014-10-01 23:52:01
阅读次数:
302
1 Window对象 1.1 窗口操作:moveBy(dx,dy) moveTo(x,y) resizeTo(x,y) resizeBy(dx,dy) //dx,dy是指相对,x,y是指绝对 1.2 打开新窗口 var abc=window.open("URL","title","heig...
分类:
其他好文 时间:
2014-10-01 21:45:11
阅读次数:
170
基本的使用方法总结: 1 导出所有库 ?系统命令行 ?mysqldump -uusername -ppassword --all-databases > all.sql ? ?2 导入所有库 ?mysql命令行 ?mysql>source all.sql; ? ?3 导出某些库 ?系统命令行 ?m...
分类:
数据库 时间:
2014-10-01 20:42:42
阅读次数:
355
Abstract. When you are familiar with OpenCASCADE on Windows, you should try it on Linux operating system, because of Debian is also open source like O...
分类:
其他好文 时间:
2014-10-01 18:27:31
阅读次数:
254
假设要找出整型集合中小于5的数。 static void Main(string[] args) { IEnumerable source = new List(){2, 3, 4, 5, 6, 7, 8, 9,10, 11}; var result = GetNumbersLessThanFive...
分类:
其他好文 时间:
2014-10-01 13:29:21
阅读次数:
161
当一个Binding有明白的数据来源时能够通过为Source或ElementName赋值的办法让Binding与之关联,有的时候因为不能确定Source的对象叫什么名字,但知道它与作为Binding目标的对象在UI布局上有相对关系,比方控件自己关联自己的某个数据、关联自己某级容器的数据,就要使用Bi...
分类:
其他好文 时间:
2014-10-01 11:42:31
阅读次数:
162
打开文件
open(name[mode[,buffing])
name: 是强制选项,模式和缓冲是可选的
#如果文件不在,会报下面错误:
[python] view plaincopyprint?
>>> f = open(r'D:\text.txt','r')
Traceback (most recent call last):
File "", line 1, in
IOError: [Errno 2] No such file or direc...
分类:
编程语言 时间:
2014-10-01 03:25:00
阅读次数:
516
1.yuminstallperl-libwww-perlyuminstallperl-File-Whichyuminstallperl-DBD-MySQLyuminstallperl-Digest-SHA1yuminstallperl-Time-HiResyuminstallperl-Crypt-SSLeay2.测试#!/usr/bin/perl-wuseDBI;my$database="mysql";my$hostname="localhost";my$data_source="DBI:mysql:$d..
分类:
数据库 时间:
2014-10-01 00:41:10
阅读次数:
329
linux下MySQL 5.6源码安装1、下载:当前mysql版本到了5.6.20http://dev.mysql.com/downloads/mysql选择Source Code2、必要软件包yum -y install gcc gcc-c++ gcc-g77 autoconf automake....
分类:
数据库 时间:
2014-09-30 23:28:40
阅读次数:
399
====================问题描述==================== 布上我初始化的函数protectedvoidinitCamre()
{
camera=Camera.open(0);
camera.setDisplayOrientation(90);
Camera.Param...
分类:
其他好文 时间:
2014-09-30 18:27:29
阅读次数:
205