首页 > 2015年08月11日 > 全部分享
linux 安装JDK
1.6版本下载地址http://download.csdn.net/download/javahr/7291125一、安装 jdk-6u45-linux-x64.bin文件是自解压的文件,在linux上安装如下,1、赋权限chmod 755 jdk-6u45-linux-x64.bin第一个(...
分类:系统服务   时间:2015-08-11 09:55:59    收藏:0  评论:0  赞:0  阅读:315
C++概念整理
1 /* 2 面向对象: 3 多态, 4 继承 5 封装 6 */ 7 #include 8 #include 9 10 //一旦有了纯虚函数,该对象就不能实例化了. 11 #define US...
分类:编程语言   时间:2015-08-11 09:55:49    收藏:0  评论:0  赞:0  阅读:267
uiwebview与js交互
UIWebView是iOS最常用的SDK之一,它有一个stringByEvaluatingJavaScriptFromString方法可以将javascript嵌入页面中,通过这个方法我们可以在iOS中与UIWebView中的网页元素交互。stringByEvaluatingJavaScriptFr...
分类:Web开发   时间:2015-08-11 09:55:39    收藏:0  评论:0  赞:0  阅读:267
phpexcel下载多个sheet表单
$objPHPExcel = new PHPExcel();默认一个sheet$objPHPExcel->getProperties()->setCreator("test") ->setLastModifiedBy("test") ...
分类:Web开发   时间:2015-08-11 09:55:29    收藏:0  评论:0  赞:0  阅读:410
CodeForces 109C 树形DP Lucky Tree
赶脚官方题解写得挺清楚的说,=_=注意数据范围用long long,否则会溢出。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 const int maxn = 1000...
分类:其他   时间:2015-08-11 09:55:09    收藏:0  评论:0  赞:0  阅读:156
遍历一个三维数组
int[, ,] a = new int[2, 3, 4]{{{1,2,3,4},{5,6,7,8},{9,10,11,12}},{{13,14,15,16},{17,18,19,10},{21,22,23,24}}}; foreach (int m in a) ...
分类:编程语言   时间:2015-08-11 09:54:59    收藏:0  评论:0  赞:0  阅读:109
BZOJ4129: Haruna’s Breakfast
http://www.lydsy.com/JudgeOnline/problem.php?id=4129 树上带修改求mex,树上带修改莫队即可。#includeusing namespace std;const int maxn=50015,maxe=100015,maxm=50015,maxb....
分类:其他   时间:2015-08-11 09:54:49    收藏:0  评论:0  赞:0  阅读:277
C++ Constructor
C++ Constructor
分类:编程语言   时间:2015-08-11 09:54:39    收藏:0  评论:0  赞:0  阅读:256
Air Raid
Air Raid Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit Status Practice HDU 1151Description Consider a town where all the....
分类:其他   时间:2015-08-11 09:54:29    收藏:0  评论:0  赞:0  阅读:293
libEvent结构体介绍
1 event_base01.struct event_base { 02. const struct eventop *evsel; 03. void *evbase; 04. int event_count; 05. int event_count_active; 06. int event.....
分类:其他   时间:2015-08-11 09:54:19    收藏:0  评论:0  赞:0  阅读:187
FW 构建OpenStack的高可用性(HA,High Availability)
原文地址:http://blog.csdn.net/hilyoo/article/details/77042801、CAP理论1) CAP 理论给出了3个基本要素:一致性 (Consistency) :任何一个读操作总是能读取到之前完成的写操作结果;可用性 (Availability) :每一个操作...
分类:其他   时间:2015-08-11 09:54:09    收藏:0  评论:0  赞:0  阅读:211
Android M新特性之APP Link
The Android M Developer Preview introduces support for App Links, which improves upon existing link handling by allowing app developers to associate.....
分类:移动平台   时间:2015-08-11 09:53:59    收藏:0  评论:0  赞:0  阅读:250
Java 网络编程
Java 网络编程
分类:编程语言   时间:2015-08-11 09:53:39    收藏:0  评论:0  赞:0  阅读:239
android断点下载并显示进度,关于handle,和主线程不能联网采取子线程联网下载,和多线程下载学习
package cn.multidownload;import java.io.File;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;import ja...
分类:移动平台   时间:2015-08-11 09:53:29    收藏:0  评论:0  赞:0  阅读:244
EF 多线程插入 Insert into DbContext Multithreading
当通过task 插入多条数据时报错。 DBcontext 不是线程安全的, 如果是WebAPI 为每个请求创建DbContext 部分解释: http://stackoverflow.com/questions/28106267/insert-into-dbcontext-multithreadin...
分类:数据库技术   时间:2015-08-11 09:53:19    收藏:0  评论:0  赞:0  阅读:238
Spring学习笔记
7.3 依赖注入设值注入:setter方法构造注入:构造器7.5 Spring 容器中的Bean Spring超级大工厂—生产Bean开发者: ①开发Bean ②配置BeanSpring框架: ①根据配置文件创建Bean实例 ②调用Bean实例方法完成“依赖注入” 词汇:...
分类:编程语言   时间:2015-08-11 09:53:09    收藏:0  评论:0  赞:0  阅读:218
遍历多维数组
Console.Write("输入个数:"); int A = int.Parse(Console.ReadLine()); int[] x = new int[A]; int a = x.Length; Co...
分类:编程语言   时间:2015-08-11 09:52:59    收藏:0  评论:0  赞:0  阅读:169
详解Objective-C的meta-class
转自:http://blog.csdn.net/windyitian/article/details/19810875比较简单的一篇英文,重点是讲解meta-class。翻译下,加深理解。原文标题:What is a meta-class in Objective-C?原文地址:http://www...
分类:Web开发   时间:2015-08-11 09:52:49    收藏:0  评论:0  赞:0  阅读:226
public, protected, private, internal, protected internal简析
public是可访问权限最高的,比如姓名,每个人都可以知道别人的姓名,这个不是什么秘密protected的访问权限要低些,只有子类才可以访问得到父类的protected属性。就好像老子的财产只有儿子才能继承。如果别人想要问:hey, son.财产=多少?儿子会拒绝,因为son的财产是从father那...
分类:其他   时间:2015-08-11 09:52:39    收藏:0  评论:0  赞:0  阅读:153
调用webservice时,产生android.os.NetworkOnMainThreadException错误
android.os.NetworkOnMainThreadException网上搜索后知道是因为版本问题,在4.0之后在主线程里面执行Http请求都会报这个错,也许是怕Http请求时间太长造成程序假死的情况吧。那么网上的朋友也给出了相应的解决方案,这叫上有政策下有对策:一:在发起Http请求的Ac...
分类:移动平台   时间:2015-08-11 09:52:29    收藏:0  评论:0  赞:0  阅读:148
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!