再仔细看了下4.0中的方法:java.util.ArrayListgetCurrentViews()Returns an ArrayList of the Views currently displayed in the focused Activity or Dialog.java.util.Ar...
分类:
其他好文 时间:
2016-01-11 17:48:27
阅读次数:
140
关于angular 自定义directive的小结首先我们创建一个名为"expander"的自定义directive指令:angular.module("myApp",[]).directive("expander",function(){ return{ //directive的一些属...
分类:
其他好文 时间:
2016-01-11 17:47:49
阅读次数:
136
一、kettle变量类型kettle变量分为:1.环境变量通过 set variables组件设置变量,范围可以是:JVM变量、作业变量、父作业变量、根作业变量。使用时通过${var}或 %%var%%变量方式引用变量2.属性文件变量在.kettle目录下的kettle.property文件中设置,...
分类:
其他好文 时间:
2016-01-11 17:49:02
阅读次数:
6912
#define NSLog(FORMAT, ...) fprintf(stderr,"%s\n",[[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);#import #import int main(int argc, co...
分类:
其他好文 时间:
2016-01-11 17:47:52
阅读次数:
122
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:
其他好文 时间:
2016-01-11 17:43:12
阅读次数:
142
用法一:给通道添加异步接口public void close() { LOG.debug("Going to close tcp connection in class: {}", this .getClass().getName()); ...
分类:
其他好文 时间:
2016-01-11 17:43:49
阅读次数:
674
由controllerA推出controllerBA中:- (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; UIView *tabbar = [self.tabBarController.view vi.....
分类:
其他好文 时间:
2016-01-11 17:43:11
阅读次数:
209
rsyn常见错误总结--方便用于排错下面是rsyncd.conf的配置:#########zhaofanrsync########uid=rsyncgid=rsyncusechroot=nomaxconnections=200timeout=300pidfile=/var/run/rsyncd.pidlockfile=/var/run/rsync.locklogfile=/var/log/rsyncd.log[zhaofan]path=/zhaofan/ignoreerr..
分类:
其他好文 时间:
2016-01-11 16:36:10
阅读次数:
535
1 2 3 4 5 6 32 33 34 限制字符串长度35 通过“maxlength”控制:36 通过JS控制:37 38 代码来源----------《超实用JavaScript代码段》
分类:
其他好文 时间:
2016-01-11 16:33:24
阅读次数:
620
使用方法 JZAlbumViewController *album = [[JZAlbumViewController alloc] init]; album.imgArr = self.imgsArray;//可以是图片的url字符串数组,亦可以是UIImage album.currentIn.....
分类:
其他好文 时间:
2016-01-11 16:34:38
阅读次数:
331
@Transactional public BasAccount findByAccount(String account) { System.out.println(account); Query q = em.createNativeQuery("{call Q...
分类:
其他好文 时间:
2016-01-11 16:32:30
阅读次数:
229
阅读目录工具介绍这是一款全自动下载乌云知识库文章工具,基于Python开发
分类:
其他好文 时间:
2016-01-11 16:30:05
阅读次数:
160
package control;import java.text.DateFormat;import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.Date;import java.util.c...
分类:
其他好文 时间:
2016-01-11 16:31:12
阅读次数:
359
/* 简述:Cocoa框架中的NSPredicate用于查询,原理和用法都类似于SQL中的where,作用相当于数据库的过滤取。 定义(最常用到的方法): NSPredicate这个类有点类似于数据库中的查询,是用于在一批内容中查询符...
分类:
其他好文 时间:
2016-01-11 16:31:44
阅读次数:
205
要不要顺着老板点?要的,孩子都能宠,下属都能纵容,为啥不能顺着老板点,多点耐心没什么。老板是不是比较固执?是的,能当老板的人,都有执念,固执属于常态。要不要拍老板的马屁?要的,因为老板掌握着资源,你要办事却没有资源,你还办个毛埃拍马屁不是很下贱的行为吗?不..
分类:
其他好文 时间:
2016-01-11 15:23:16
阅读次数:
143