首页 > 其他
hdu1711 Number Sequence
Problem DescriptionGiven two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 #includeint s1[1000005],s2[10006],next...
分类:其他   时间:2016-01-11 17:52:17    收藏:0  评论:0  赞:0  阅读:199
光电耦合器工作原理详细解说
光电耦合器件简介光电偶合器件(简称光耦)是把发光器件(如发光二极体)和光敏器件(如光敏三极管)组装在一起,通过光线实现耦合构成电—光和光—电的转换器件。光电耦合器分为很多种类,图1所示为常用的三极管型光电耦合器原理图。当电信号送入光电耦合器的输入端时,发光二极体通过电流而发光,光敏元件受到光照后产生...
分类:其他   时间:2016-01-11 17:50:57    收藏:0  评论:0  赞:0  阅读:220
121. Best Time to Buy and Sell Stock
Say you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transaction (ie...
分类:其他   时间:2016-01-11 17:50:17    收藏:0  评论:0  赞:0  阅读:127
swl模拟
#import #define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String])int main(int argc, const char * argv[...
分类:其他   时间:2016-01-11 17:49:17    收藏:0  评论:0  赞:0  阅读:210
老李分享:robotium3.6与4.0 later 的区别 2
再仔细看了下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:47:57    收藏:0  评论:0  赞:0  阅读:159
关于angular 自定义directive
关于angular 自定义directive的小结首先我们创建一个名为"expander"的自定义directive指令:angular.module("myApp",[]).directive("expander",function(){ return{ //directive的一些属...
分类:其他   时间:2016-01-11 17:47:27    收藏:0  评论:0  赞:0  阅读:104
kettle设置变量
一、kettle变量类型kettle变量分为:1.环境变量通过 set variables组件设置变量,范围可以是:JVM变量、作业变量、父作业变量、根作业变量。使用时通过${var}或 %%var%%变量方式引用变量2.属性文件变量在.kettle目录下的kettle.property文件中设置,...
分类:其他   时间:2016-01-11 17:46:27    收藏:0  评论:0  赞:0  阅读:209
关于考核前的考核。。。。。。。。。
#define NSLog(FORMAT, ...) fprintf(stderr,"%s\n",[[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]);#import #import int main(int argc, co...
分类:其他   时间:2016-01-11 17:45:47    收藏:0  评论:0  赞:0  阅读:138
EcliplseJPA2.1和glassfish3.1兼容问题
之前一个项目,持久层用eclipseJpa2.1实现,web服务器用的是glassfish3.1.部署完成后测试的时候出现bug,反反复复折腾了n次,最终确认是版本兼容的问题。或者用glassfish4.0或者更高的版本,或者换成hibernateJpa的实现。受限于其他老程序也部署在glassfi...
分类:其他   时间:2016-01-11 17:45:27    收藏:0  评论:0  赞:0  阅读:123
自定义Attribute类
在我们的项目中有时经常会标识一些类的特性,在下面我们将简短的方式来介绍如何构建自定义的Attribute类。 using System;using System.Collections.Generic;using System.Linq;using System.Runtime.InteropS.....
分类:其他   时间:2016-01-11 17:43:37    收藏:0  评论:0  赞:0  阅读:147
122. Best Time to Buy and Sell Stock II
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:07    收藏:0  评论:0  赞:0  阅读:143
01-11 常用view位置转换
4)view的层级管理最常用三个,一是将view移动至最上层二是将view移动至最下层三是将view加载到window上
分类:其他   时间:2016-01-11 17:42:57    收藏:0  评论:0  赞:0  阅读:115
Jetserver开源项目学习(七)—— ChannelFutureListener的用法
用法一:给通道添加异步接口public void close() { LOG.debug("Going to close tcp connection in class: {}", this .getClass().getName()); ...
分类:其他   时间:2016-01-11 17:42:52    收藏:0  评论:0  赞:0  阅读:3111
张小龙首次公开演讲(官方无删减版)
2016-01-11微信公开课大家早上好,我是微信的张小龙。从昨晚的传播事件说起,为什么微信在很多的规则、平台接口或者系统方面很严格?可能会有一些朋友觉得比较突然,我也是比较突然进来参加这样一个会议,很高兴在这里跟大家碰面。平时我很少参加会议,可能很多人都搞不懂,其实我们同事都知道,我一直有一个观点...
分类:其他   时间:2016-01-11 17:42:37    收藏:0  评论:0  赞:0  阅读:139
Easyui的combobox组件无法选择内容
我切换combobox的内容的时候,老是选中的是第一行的数据,因为我渲染的时候没有给它valueField和textField的字段,而默认的又不是我要求的。加上就好了。$("#toolbar-department").combobox({ valueField:'id...
分类:其他   时间:2016-01-11 17:42:17    收藏:0  评论:0  赞:0  阅读:138
隐藏自定义的tabbar
由controllerA推出controllerBA中:- (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; UIView *tabbar = [self.tabBarController.view vi.....
分类:其他   时间:2016-01-11 17:42:12    收藏:0  评论:0  赞:0  阅读:83
Redis 集群安装
我们使用一台机器,模拟6个redis实例来创建redis集群,其中3主3从。创建目录,copy配置文件[root@localhostbin]#cd/application/redis-3.2/ [root@localhostredis-3.2]#ls binconfdump.rdb [root@localhostredis-3.2]#mkdircluster [root@localhostredis-3.2]#ls binclustercon..
分类:其他   时间:2016-01-11 16:34:19    收藏:0  评论:0  赞:0  阅读:233
rsyn常见错误总结--方便用于排错
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:34:08    收藏:0  评论:0  赞:0  阅读:1380
remainingCharacters谷歌浏览器报错未定义,这到底是不是个属性呢,还是作者没有写清楚?
1 2 3 4 5 6 32 33 34 限制字符串长度35 通过“maxlength”控制:36 通过JS控制:37 38 代码来源----------《超实用JavaScript代码段》
分类:其他   时间:2016-01-11 16:31:59    收藏:0  评论:0  赞:0  阅读:240
图片放大预览(支持多张,支持双击放大)
使用方法 JZAlbumViewController *album = [[JZAlbumViewController alloc] init]; album.imgArr = self.imgsArray;//可以是图片的url字符串数组,亦可以是UIImage album.currentIn.....
分类:其他   时间:2016-01-11 16:31:50    收藏:0  评论:0  赞:0  阅读:321
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!