首页 > 2015年09月14日 > 全部分享
Android 测试Service的生命周期
1 package com.example.myapp4; 2 3 import android.support.v7.app.ActionBarActivity; 4 import android.content.Intent; 5 import android.os.Bundle; 6 im.....
分类:移动平台   时间:2015-09-14 23:50:32    收藏:0  评论:0  赞:0  阅读:257
Session的获得方式
在hibernate.cfg.xml中添加这个属性,来开启currentSession的使用thread SessionFactory sessionFactory = configuration.buildSessionFactory();而buildSessionFactory(){//每...
分类:其他   时间:2015-09-14 23:50:22    收藏:0  评论:0  赞:0  阅读:317
转:Qt编写串口通信程序全程图文讲解
转载:http://blog.csdn.net/yafeilinux/article/details/4717706 作者:yafeilinux(说明:我们的编程环境是windows xp下,在Qt Creator中进行,如果在Linux下或直接用源码编写,程序稍有不同,请自己改动。)在Qt中并没有...
分类:其他   时间:2015-09-14 23:50:02    收藏:0  评论:0  赞:0  阅读:367
Spring MVC controller间跳转 重定向 传参 (转)
鸣谢:http://blog.sina.com.cn/s/blog_a85398ce0101f93x.html1. 需求背景需求:spring MVC框架controller间跳转,需重定向。有几种情况:不带参数跳转,带参数拼接url形式跳转,带参数不拼接参数跳转,页面也能显示。2. 解决办法需求有...
分类:编程语言   时间:2015-09-14 23:49:52    收藏:0  评论:0  赞:0  阅读:309
Elastic-Job - 分布式定时任务框架
Elastic-Job是ddframe中dd-job的作业模块中分离出来的分布式弹性作业框架。去掉了和dd-job中的监控和ddframe接入规范部分。 ddframe其他模块也有可独立开源的部分,之前当当曾开源过dd-soa的基石模块DubboX。 项目...
分类:其他   时间:2015-09-14 22:47:42    收藏:0  评论:0  赞:3  阅读:25557
Java连接Oracle数据库
package?com.db;?? ?????? ????import?java.sql.Connection;?? ????import?java.sql.DriverManager;?? ????import?java.sql.PreparedStatement;?? ????import?java.sql.Resu...
分类:数据库技术   时间:2015-09-14 22:47:32    收藏:0  评论:0  赞:0  阅读:330
使用自己生成SSL证书时,Git报错的解决办法
git clone https://.... 时报错,说证书校验有问题: 最简单的解决方法是加一个环境变量: ????$?export?GIT_SSL_NO_VERIFY=1 ????$?git?config?--global?http.sslVerify?false...
分类:其他   时间:2015-09-14 22:47:22    收藏:0  评论:0  赞:0  阅读:299
my.ini文件配置mysql字符集
# The following options will be passed to all MariaDB clients [client] #password?= your_password port??= 3306 socket??= /tmp/mysql.sock default-character-set=utf8 # Here follows entries for s...
分类:数据库技术   时间:2015-09-14 22:47:13    收藏:0  评论:0  赞:0  阅读:370
纸娃娃系统再次增强
一个引擎,纸娃娃系统是重中之重,她不光承载着上下协调的关系,比如舞台,精灵等一系列以树结构为渲染层次组织架构的一种基础实现,同时也是更为强大的骨骼动画系统的基石。先前实现的不够稳定高效,这次大规...
分类:其他   时间:2015-09-14 22:47:02    收藏:0  评论:0  赞:0  阅读:394
android延迟进入主界面和点击按钮进入主界面代码
我是做web开发的,最近在学习android。 周末的时候想写个延迟进入主界面的功能,主要用到Handler和Runnable,代码如下: ?package?com.zx.app; import?android.app.Activity; import?android.content.Intent;...
分类:移动平台   时间:2015-09-14 22:46:53    收藏:0  评论:0  赞:0  阅读:1431
How To Use the Windows Phone 8.1 GridView and ListView Controls
TESTTESTTESTTESTTESTTESTTESTTEST...
分类:Windows开发   时间:2015-09-14 22:46:02    收藏:0  评论:0  赞:0  阅读:323
Web流程图绘制使用raphael
本文要实现一个流程图的绘制,最终的目标是实现流程图的自动绘制,并可进行操作,直接点击流程图上对应的方框就可以让后台跑相应的程序。...
分类:Web开发   时间:2015-09-14 22:45:52    收藏:0  评论:0  赞:0  阅读:391
LeetCode 2 Add Two Numbers
翻译:给你两个表示两个非负数字的链表。数字以相反的顺序存储,其节点包含单个数字。将这两个数字相加并将其作为一个链表返回。输入: (2 -> 4 -> 3) + (5 -> 6 -> 4) 输出: 7 -> 0 -> 8原题:You are given two linked lists representing two non-negative numbers. The digits are stor...
分类:其他   时间:2015-09-14 22:45:42    收藏:0  评论:0  赞:0  阅读:218
转 InnoDB Error Handling
14.20.4InnoDB Error HandlingError handling in InnoDB is not always the same as specified in the SQL standard. According to the standard, any error dur...
分类:数据库技术   时间:2015-09-14 22:45:11    收藏:0  评论:0  赞:0  阅读:413
spl_autoload_register 自动载入
分类:其他   时间:2015-09-14 22:44:51    收藏:0  评论:0  赞:0  阅读:286
xib、stroyboard加载view、viewController
1、Storyboard加载- (void)addButtonDidClickedAction:(UIButton *)sender{ NSLog(@"%s,%d", __FUNCTION__,__LINE__); UIStoryboard *storyboard = [UISt...
分类:其他   时间:2015-09-14 22:44:31    收藏:0  评论:0  赞:0  阅读:309
python math模块
1.math简介>>>importmath>>>dir(math)#这句可查看所有函数名列表['__doc__','__name__','__package__','acos','acosh','asin','asinh','atan','atan2','atanh','ceil','copysig...
分类:编程语言   时间:2015-09-14 22:44:21    收藏:0  评论:0  赞:0  阅读:690
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var mysql 启动不了
ps -A | grep -i mysqlkill 列出来的进程service mysql start我的问题就解决了----------------------------------------------Fedora8启动mysql 报错:ERROR 2002 (HY000): Can’t c...
分类:数据库技术   时间:2015-09-14 22:44:12    收藏:0  评论:0  赞:0  阅读:360
LeetCode -- Add Binary
Question:Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".Analysis:思路一:首先将二进制字符串转化成十进制,然后十进制相加,最...
分类:其他   时间:2015-09-14 22:44:02    收藏:0  评论:0  赞:0  阅读:318
二、面向对象设计三大特性-----《大话设计模式》
一、封装良好的封装能够减少耦合;类内部的实现可以自由地修改;类具有清晰的对外接口。比如建立一个猫的类,再建立一个狗的类,这样也算封装,只是会出现大量相似代码。二、继承继承的出现是因为对象类中出现过多重复代码,为解决该问题而建立父类,将这部分代码放进父类中,由子类继承。子类继承父类的所有特性,同时可以...
分类:其他   时间:2015-09-14 22:43:52    收藏:0  评论:0  赞:0  阅读:335
1372条   上一页 1 2 3 4 5 ... 69 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!