准备用Swift撸一个项目了, 就用这个样式了. 晚上睡不好了.黑眼圈(- -)看细节请访问我的githubhttps://github.com/Zhangjingwang1993/SwiftApp 
还可以点个Star,给个鼓励.  
Swift/OC 进阶交流群: 498143780// AppDelegate.swift
var drawer = MMDrawerController()let...
                            
                            
                                分类:
编程语言   时间:
2016-04-14 01:31:33   
                                阅读次数:
383
                             
                         
                    
                        
                            
                            
                                Service服务没有界面,后台运行,后台执行耗时任务(子线程),播放音乐,下载,IPCstart方式服务(播放音乐,下载)startService(Intent intetn)1.继承Service重新onBind,onStartCommand(Intent i,int flag,int star ...
                            
                            
                                分类:
移动开发   时间:
2016-04-13 23:30:47   
                                阅读次数:
169
                             
                         
                    
                        
                            
                            
                                #include"wz.h"
intcheack(inta[],intn)
{
intstar=a[0];intc=0;
for(i=1;i<n;i++)
{
if(a[i]>star){k++;c++;}
if(a[i]==star-1){k++;star=a[i];}
}
if(k==n-1&&c!=n-1)return1;
elsereturn0;
}
//cout<<"itisnot"<<endl;
intm()
{
intl=0;
inta[]={..
                            
                            
                                分类:
其他好文   时间:
2016-04-13 20:52:09   
                                阅读次数:
171
                             
                         
                    
                        
                            
                            
                                开源项目上周又手动撸了一遍EventBus实现,同时上传EventBus的中文注释源码到Github上,欢迎大家fork&star.EventBusAnalysisEventBus基础概念EventBus是一个Android事件发布/订阅框架,通过解耦发布者和订阅者简化Android事件传递.事件传递既可以用于Android四大组件间的通讯,也可以用于用户异步线程和主线程间通讯等. 
传统的事件传递...
                            
                            
                                分类:
其他好文   时间:
2016-04-12 17:40:08   
                                阅读次数:
297
                             
                         
                    
                        
                            
                            
                                本文首发:http://prototypez.github.io/2016/04/10/rxjava-common-mistakes-1/
  
  转载请注明出处
准备写这篇文章的时候看了下 RxJava 在 Github 上已经 12000+ 个 star 了,可见火爆程度,自己使用 RxJava 也已经有一小段时间。最初是在社区对 RxJava 一片赞扬之声下,开始使用 RxJava 来代替项...
                            
                            
                                分类:
编程语言   时间:
2016-04-11 12:27:41   
                                阅读次数:
200
                             
                         
                    
                        
                            
                            
                                在win7环境,进入elasticsearch安装目录的bin目录: 
1.elasticsearch.bat就可以启动elasticsearch了。运行这个插件的好处是:elasticsearch需要的jvm参数和其它配置都已经配置好了,非常方便。 
停止就Ctrl +c了。 
在linux环境,进入elasticsearch安装目录的bin目录: 
2.sh elasticsearch star...
                            
                            
                                分类:
其他好文   时间:
2016-04-10 15:06:15   
                                阅读次数:
190
                             
                         
                    
                        
                            
                            
                                Battle Ships is a new game which is similar to Star Craft. In this game, the enemy builds a defense tower, which has L longevity. The player has a mil ...
                            
                            
                                分类:
其他好文   时间:
2016-04-10 14:12:53   
                                阅读次数:
192
                             
                         
                    
                        
                            
                            
                                这篇文章记录一下Android自定义UI的知识,一个小小的跳动的loading,特别感谢Nil的指点…废话不多,先来效果SoHOT链接和star地址:SoHOT源码地址,在文章最后最后有github开源地址,别错过  
如果您还没有去给SoHOT一颗star而直接看这个项目,那简直是有点损失,希望您点上面的链接,去star和下载体验一下SoHoT,捡起那个大西瓜再来捡这个小芝麻项目,你懂的!!凑乎看...
                            
                            
                                分类:
移动开发   时间:
2016-04-10 01:16:21   
                                阅读次数:
323
                             
                         
                    
                        
                            
                            
                                Stars Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 40026 Accepted: 17373 Description Astronomers often examine star maps where stars are ...
                            
                            
                                分类:
其他好文   时间:
2016-04-09 16:44:57   
                                阅读次数:
205