系统基础库
Category/Util
 sstoolkit
一套Category类型的库,附带很多自定义控件 功能不错~
 BlocksKit
将Block风格带入UIKit和Founcation
 cocoa-helpers
一些Cocoa的扩展 2年前的工程
 Co...
                            
                            
                                分类:
移动平台   时间:
2016-05-30 15:33:41   
                                收藏:
0  评论:
0  赞:
0  阅读:
743
                             
                         
                    
                        
                            
                            
                                原文链接:Google推荐的图片加载库Glide介绍
作者 : nuuneoi
译者 : jianghejie
校对者 : chaossss
状态 : 完成在泰国举行的谷歌开发者论坛上,谷歌为我们介绍了一个名叫 Glide 的图片加载库,作者是bumptech。这个库被广泛的运用在google的开源项目中,包括2014年google I/O大会上发布的官方app。
毫无疑问,这个库引起了我的兴趣。于...
                            
                            
                                分类:
其他   时间:
2016-05-30 15:33:30   
                                收藏:
0  评论:
0  赞:
0  阅读:
228
                             
                         
                    
                        
                            
                            
                                做一个自己的视频播放器 学技能的同时带来满满的成就感....
                            
                            
                                分类:
其他   时间:
2016-05-30 15:33:20   
                                收藏:
0  评论:
0  赞:
0  阅读:
169
                             
                         
                    
                        
                            
                            
                                第一部分:基本概念及其它问答题 3
1、关键字static的作用是什么?
3
2、“引用”与指针的区别是什么?
3
3、.h头文件中的ifndef/define/endif
的作用? 4
4、#include
与 #include "file.h"的区别?
4
5、描述实时系统的基本特性
4
6、全局变量和局部变量在内存中是否有区别?如果有,是什么区别?
4
7、什么是...
                            
                            
                                分类:
编程语言   时间:
2016-05-30 15:33:11   
                                收藏:
0  评论:
0  赞:
0  阅读:
421
                             
                         
                    
                        
                            
                            
                                package de.hdodenhof.circleimageview;
public class CircleImageView extends ImageView {     private static final ScaleType SCALE_TYPE = ScaleType.CENTER_CROP;//决定了图片在View上显示时的样子,如进行何种比例的缩放,及显示图片的整体还...
                            
                            
                                分类:
移动平台   时间:
2016-05-30 15:33:01   
                                收藏:
0  评论:
0  赞:
0  阅读:
273
                             
                         
                    
                        
                            
                            
                                一、什么是JSON
JSON是一种轻量级的数据格式,一般用于数据交互
服务器返回给客户端的数据,一般都是JSON格式或者XML格式(文件下载除外)
 
JSON的格式很像OC中的字典和数组
{"name" : "jack", "age" : 10}
{"names" : ["jack", "rose", "jim"]}
标准JSON格式的注意点:key必须用双引号
 
要想从JS...
                            
                            
                                分类:
移动平台   时间:
2016-05-30 15:32:52   
                                收藏:
0  评论:
0  赞:
0  阅读:
282
                             
                         
                    
                        
                            
                            
                                2014/6/26 凌晨Google IO 2014大会准时开幕,在本次大会上可以说发布出很多项目,发布的产品非常少。那么重点介绍的当然是我们最新的Android
 5.0系统,本次Android 5.0系统代号为Lollipop(棒棒糖),所以大家也很亲切的称呼它为Android L系统。
  那么Android 5.0都做出哪些改变或是升级呢?
1、全新的Material Des...
                            
                            
                                分类:
移动平台   时间:
2016-05-30 15:32:40   
                                收藏:
0  评论:
0  赞:
0  阅读:
317
                             
                         
                    
                        
                            
                            
                                矩形碰撞 原理: 两个矩形位置 的四种情况 不是这四中情况 则碰撞圆形碰撞 原理:  利用两个圆心之间的距离进行判定.当两个圆心的距离小于半径之和则碰撞.像素碰撞  :不适用  遍历所有像素 检测 太多了多矩形碰撞: 设置多个矩形碰撞检测区域  检测碰撞矩形数组 与另一碰撞矩形数组之间的位置关系....
                            
                            
                                分类:
移动平台   时间:
2016-05-30 15:32:31   
                                收藏:
0  评论:
0  赞:
0  阅读:
303
                             
                         
                    
                        
                            
                            
                                最近公司要做的一个cocos-x项目,这个项目用的是2.2.6版的cocos-x c++ 版,cocos比较老的版本。由于打包出来的apk超过了300M,而且资源无法热更新。面临这两条问题。我们讨论了一下如何尽快的把包改到50m以内和在线更新新的主题,对此研究了一下cocos的底层。了解到cocos可以通过
CCFileUtils::sharedFileUtils()->addSearc...
                            
                            
                                分类:
移动平台   时间:
2016-05-30 15:32:20   
                                收藏:
0  评论:
0  赞:
0  阅读:
302
                             
                         
                    
                        
                            
                            
                                synchronized关键字介绍:synchronized锁定的是对象,这个很重要例子:class Sync {      public synchronized void test() {  
        System.out.println("test开始..");  
        try {  
            Thread.sleep(1000);  
        }...
                            
                            
                                分类:
编程语言   时间:
2016-05-30 15:32:12   
                                收藏:
0  评论:
0  赞:
0  阅读:
231
                             
                         
                    
                        
                            
                            
                                题目链接:https://leetcode.com/problems/longest-substring-without-repeating-characters/
题目:
Given a string, find the length of the longest substring without repeating characters.
Examples:
Give...
                            
                            
                                分类:
其他   时间:
2016-05-30 15:32:00   
                                收藏:
0  评论:
0  赞:
0  阅读:
216
                             
                         
                    
                        
                            
                            
                                题目链接:https://leetcode.com/problems/spiral-matrix/
题目:
Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.
For example,
Given the followin...
                            
                            
                                分类:
其他   时间:
2016-05-30 15:31:51   
                                收藏:
0  评论:
0  赞:
0  阅读:
166
                             
                         
                    
                        
                            
                            
                                题目链接:https://leetcode.com/problems/reverse-vowels-of-a-string/
题目:
Write a function that takes a string as input and reverse only the vowels of a string.
Example 1:
Given s = "hello", return...
                            
                            
                                分类:
其他   时间:
2016-05-30 15:31:41   
                                收藏:
0  评论:
0  赞:
0  阅读:
176
                             
                         
                    
                        
                            
                            
                                题目链接:https://leetcode.com/problems/maximum-product-subarray/
题目:
Find the contiguous subarray within an array (containing at least one number) which has the largest product.
For example, give...
                            
                            
                                分类:
其他   时间:
2016-05-30 15:31:30   
                                收藏:
0  评论:
0  赞:
0  阅读:
190
                             
                         
                    
                        
                            
                            
                                题目链接:https://leetcode.com/problems/increasing-triplet-subsequence/
题目:
Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array.
Formally the fu...
                            
                            
                                分类:
其他   时间:
2016-05-30 15:31:20   
                                收藏:
0  评论:
0  赞:
0  阅读:
182
                             
                         
                    
                        
                            
                            
                                题目链接:https://leetcode.com/problems/perfect-squares/
题目:
Given a positive integer n, find the least number of perfect square numbers (for example, 1,
 4, 9, 16, ...) which sum to n.
For examp...
                            
                            
                                分类:
其他   时间:
2016-05-30 15:31:10   
                                收藏:
0  评论:
0  赞:
0  阅读:
145
                             
                         
                    
                        
                            
                            
                                这篇文章本来是在tcp那篇里面的,但是那篇太长了,不专一。就完善了一下提取出来了。TCP拥塞控制       拥塞控制讨论的是很多个同时存在的tcp连接应该怎么规划自己的数据包发送和接收速度,以在彼此之间共享带宽,同时与其他实体的机器公平的竞争带宽,而不是自己全占。 
        拥塞控制的核心是AIMD(additive-increase/multiplicative-decrease ),线...
                            
                            
                                分类:
系统服务   时间:
2016-05-30 15:31:01   
                                收藏:
0  评论:
0  赞:
0  阅读:
159
                             
                         
                    
                        
                            
                            
                                redis服务器负责与多个客户端建立网络连接,处理客户端发送的命令请求,在数据库中保存客户端执行命令所才参数的数据,并通过资源管理来维持服务器自身的运转。1. 命令请求的执行过程以SET命令为例:redis> SET key value
redis> OK1.1 发送命令请求1.2读取命令请求当客户端与服务器之间的连接套接字因为客户端的写入而变的可读时,服务器将调用命令请求处理器来执行如下操作:...
                            
                            
                                分类:
其他   时间:
2016-05-30 15:30:51   
                                收藏:
0  评论:
0  赞:
0  阅读:
160
                             
                         
                    
                        
                            
                            
                                本期内容 
本讲讲解sparkStreaming的driver部分的数据的接受和管理的部分,即receiverTracker,包括: 
1.receiverTracker的架构设计 
2.消息循环系统 
3.receiverTracker的具体实现。...
                            
                            
                                分类:
其他   时间:
2016-05-30 15:30:41   
                                收藏:
0  评论:
0  赞:
0  阅读:
127
                             
                         
                    
                        
                            
                            
                                【0】README
1)本文部分文字描述转自“how tomcat works”,旨在学习“tomcat(17)启动tomcat”的相关知识;
2)本文重点关注启动Tomcat时会用到的两个类,分别是Catalina类和 Bootstrap类;(干货——引入tomcat启动时用到了两个类,分别是Catalina类和 Bootstrap类)
2.1)org.apache.catalina....
                            
                            
                                分类:
其他   时间:
2016-05-30 15:30:31   
                                收藏:
0  评论:
0  赞:
0  阅读:
172