最近使用mybatis,在mybatis的xml配置文件中总是会提示错误The content of element type "configuration" must match "(properties>settings>typeAliases>typeHandlers>objectFactor...
分类:
其他好文 时间:
2014-07-10 11:05:57
阅读次数:
327
const int MAX = 1e6+10;const int inf = 0x3f3f3f3f;int n,m;int lx[MAX],ly[MAX];int match[MAX];int usex[MAX],usey[MAX];int w[MAX][MAX];int find(int u) {...
分类:
其他好文 时间:
2014-07-08 00:04:48
阅读次数:
266
Rails.application.routes.draw do match 'projects/:id/:controller(/:action(/:id))(.:format)'end
分类:
其他好文 时间:
2014-07-07 18:35:00
阅读次数:
187
官方地址:http://developer.android.com/guide/practices/screens_support.html一、关于布局适配建议1、不要使用绝对布局2、尽量使用match_parent 而不是fill_parent 。3、能够使用权重的地方尽量使用权重(android...
分类:
移动开发 时间:
2014-07-03 11:28:23
阅读次数:
321
先上效果图:
Title的Layout为:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
...
分类:
移动开发 时间:
2014-07-01 11:24:30
阅读次数:
289
先上效果图:
Title的Layout为:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
...
分类:
移动开发 时间:
2014-06-30 18:44:18
阅读次数:
269
Swift and Objective-C in the Same Project
在项目里交叉使用Swift和OC
Swift与OC的兼容性使得你可以在项目里使用Swift+OC的方式编写应用程序,称为混合+匹配(mix and match),用这种方式可以一边使用享受新语言的快速特性,一边无缝的接合你已有的OC代码(原文听起来好NB的样子,其实也就那么回事),不管项目最初是用OC编写的...
分类:
其他好文 时间:
2014-06-27 23:41:36
阅读次数:
504
本篇文章通过平台总线设备模型为例,讲解总线设备驱动模型:platform_device_register的作用:1.把device放入bus的device链表2.从bus的driver链表中取出每一个driver,用bus的match函数判断driver能否支持这个device3.若可以支持,调用d...
分类:
系统相关 时间:
2014-06-27 22:38:15
阅读次数:
327
Android常用布局类整理
最近又回头做了一下android的项目,发觉越来越不从心,很多东西都忘了,简单的页面布局也很多写不出来,首先还是先整理一下一些会混淆的概念先
layout_width/layout_height的两种不同的方式
① wrap_content能包裹其中的内容即可
② fill_parent/match_parent 填满父视图的空间
Lin...
分类:
移动开发 时间:
2014-06-26 07:44:46
阅读次数:
337
DescriptionThis sample uses a geoprocessing task that takes an input SQLQuery string and filters 911 calls to display only calls that match the query....
分类:
编程语言 时间:
2014-06-25 09:21:40
阅读次数:
273