参考文章:http://stackoverflow.com/questions/18798792/explaining-difference-between-automaticallyadjustsscrollviewinsets-extendedlayohttp://redth.codes/ios...
分类:
移动开发 时间:
2015-06-06 11:55:35
阅读次数:
192
http://www.computerhope.com/htmcolor.htm#color-codes,如
分类:
Web程序 时间:
2015-06-04 18:44:50
阅读次数:
124
别踩白块:齐岳:负责代码的实现(一)blogs:http://www.cnblogs.com/July0207/codes:package com.orange.block;import android.graphics.Color;import android.graphics.Typeface;...
分类:
其他好文 时间:
2015-06-03 23:22:04
阅读次数:
347
NSError codes in the Cocoa error domain.
enum {
NSFileNoSuchFileError = 4,
NSFileLockingError = 255,
NSFileReadUnknownError = 256,
NSFileReadNoPermissionError = 257,
NSFileReadInvalidF...
分类:
移动开发 时间:
2015-05-27 10:03:36
阅读次数:
301
在拼接SQL的时候经常会遇到此类问题,尤其是in查询的时候,内容是一段 单引号的 字符的时候 strWhere+="a.EC101_WRYBHIN("+string.Join(",",codes.ToArray())+")";codes是list,这样执行出来是"a.EC101_WRYBHIN(a,...
分类:
编程语言 时间:
2015-05-23 11:19:34
阅读次数:
134
Source Monitor is a code analyzing tool that is capable of finding the complexity for Java, C++、C、C#、Delphi、Visual Basic and HTML source codes. It's a...
分类:
其他好文 时间:
2015-05-22 00:07:19
阅读次数:
2132
今天在用Maven搞一个工程,安装要求我添加了所有需要的依赖,可是一运行测试程序,就跳出这样一个大大的错误:SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further...
分类:
其他好文 时间:
2015-05-20 18:28:32
阅读次数:
125
最近要用MFC开发一个界面,里面有一个需求就是生成一个与可执行文件(exe文件)同名的文件夹,比如我的可执行文件路径是D:\KFS\codes\22222\Release\22222.exe,我需要在D:\KFS\codes\22222\Release路径下生成一个22222的文件夹放东西。查阅了一点资料之后,成功了。之后写了一个小demo。下面上代码:
#include
#include
#...
分类:
编程语言 时间:
2015-05-20 09:54:36
阅读次数:
120
Hoffman树是由David A. Hoffman于1952年在MIT攻读博士学位期间发表的论文《A Method for the Construction of Minimum-Redundancy Codes》中提出的,它的目的寻找一种利用最少量的编码方法表示信息。Hoffman使用自底向上的方法构建了一棵满足要求的树,用这棵树进行的编码叫做Hoffman编码。
用一个节点表示一条信息,每条...
分类:
其他好文 时间:
2015-05-19 16:36:28
阅读次数:
169
Android透明状态栏只有在4.4之后有。
其中设置有两种方式:
1. if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
//透明状态栏
getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT...
分类:
移动开发 时间:
2015-05-13 16:54:38
阅读次数:
189