.page{ background:url(images/page2_bg.jpg) top center no-repeat; background-size:cover; filter:progid:DXImageTransform.Microsoft.AlphaIma...
分类:
其他好文 时间:
2016-01-18 11:59:02
阅读次数:
118
原理并不难. 代码量也不大. 非常简洁 . 先来个效果图 再上一波代码.public class SpecialScrollView extends ScrollView implements ViewTreeObserver.OnPreDrawListener { private stati...
分类:
其他好文 时间:
2016-01-18 11:57:09
阅读次数:
220
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which...
分类:
其他好文 时间:
2016-01-18 11:57:22
阅读次数:
177
在Delphi语言中,过程(procedure)和函数(function)被统称为例程,是用来实现特定功能的语句块,当该过程或函数被程序所调用时,它就会执行某种特定的功能。 过程和函数类似,他们的区别主要在于:函数必须要有返回值;过程没有返回值。 1、过程的声 过程遵循先声明后使用...
分类:
其他好文 时间:
2016-01-18 11:55:40
阅读次数:
130
CocoaPods 安装 使用1.开启 terminal2.移除现有 Ruby 默认源$ gem sources --remove https://rubygems.org/3.使用新的源$ gem sources -a https://ruby.taobao.org/4.验证新源是否替换成功$ g...
分类:
其他好文 时间:
2016-01-18 11:56:04
阅读次数:
174
UILabel * label = [[UILabel alloc]initWithFrame:CGRectMake(10, 100, 300, 100)];1.设置文字颜色 label.textColor = [UIColor orangeColor]; label2...
分类:
其他好文 时间:
2016-01-18 11:55:33
阅读次数:
123
一、线程的注意点:1.不要同时开太多的线程(最多不要超过5条,其中包括主线程)2.线程概念2.1.主线程:UI 线程,显示、刷新 UI 界面,处理 UI 控件的事件2.2.子线程:后台线程,异步线程3.不要把耗时的操作放在主线程,要放在子线程中执行二、NSThread 用法1.创建和启动线程的3种方...
分类:
其他好文 时间:
2016-01-18 11:56:41
阅读次数:
148
1.Button的定义 UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect];Button有六种类型 enum { UIButtonTypeCustom = 0, 自定义风格 UIButtonTypeRounde...
分类:
其他好文 时间:
2016-01-18 11:54:54
阅读次数:
119
google了一些: 78 Tools for Writing and Previewing Markdown http://mashable.com/2013/06/24/markdown-tools/#eimhu3.zsqq8 下载了一些使用,发现markdownpad挺好用的。下载地址:h.....
分类:
其他好文 时间:
2016-01-18 11:55:01
阅读次数:
159
代码:public class Solution { List> resultList = new ArrayList(); boolean flag = false; public List> permute(int[] nums) { int len = nums...
分类:
其他好文 时间:
2016-01-18 11:52:15
阅读次数:
137
public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceS...
分类:
其他好文 时间:
2016-01-18 11:51:09
阅读次数:
132
首先试验下:viewController初始化分两个支路:initWithNibName加载初始化 及 init 直接初始化;《1》调用initWithNibName加载一个xib界面文件来实现初始化viewController:在self.viewController= [[[ViewContro...
分类:
其他好文 时间:
2016-01-18 11:50:07
阅读次数:
255
1 && !pageNo.equals(Integer.valueOf(1))) { %> ")'>« )'> )'> )'> )'> )'> ...
分类:
其他好文 时间:
2016-01-18 11:48:07
阅读次数:
143
在使用tomcat6开发的过程中,由于要输出数据统计图,在后台每次生成图形到前台显示时,总是抛出异常,内容显示有:getOutputStream() has already been called for this response在百度一搜一大把,可见很多人都遇到过类似的问题,解决办法也差不多,在...
分类:
其他好文 时间:
2016-01-18 11:49:38
阅读次数:
124
alpha版:内部测试版。α是希腊字母的第一个,表示最早的版本,一般用户不要下载这个版本,这个版本包含很多BUG,功能也不全,主要是给开发人员和 测试人员测试和找BUG用的。beta版:公开测试版。β是希腊字母的第二个,顾名思义,这个版本比alpha版发布得晚一些,主要是给“部落”用户和忠实用户测试...
分类:
其他好文 时间:
2016-01-18 11:46:43
阅读次数:
93
.Net Framework 4.0 以下,包括4.0 Type pPt = typeof(People); System.Reflection.PropertyInfo[] tPro = pPt.GetProperties(BindingFlags.In...
分类:
其他好文 时间:
2016-01-18 11:48:34
阅读次数:
153
文件打开历史记录:"hot_exit": false,"remember_open_files": false
分类:
其他好文 时间:
2016-01-18 11:49:22
阅读次数:
119