Push 推送技术说明
[TOC]
Java NIO 使用说明
参考资料
Java NIO Tutorial
简介
Java NIO (New IO) is an alternative IO API for Java (from Java 1.4), meaning alternative to the standard Java IO and Java Networking API's. Java NIO offers a different way of working with IO than the standard IO API's.继续阅读 »
策略模式-Strategy Pattern
GitHub源码
定义
The Strategy Pattern defines a family of algorithms(演算法;运算法则;),encapsulates( 总结; 扼要概括; ) each one,and makes them interchangeable(可交换的;可交替的;).Strategy lets the algorithm vary independently from clients that use it.继续阅读 »
Named namespaces in Google Code Style
Namespaces wrap the entire source file after includes, gflags definitions/declarations and forward declarations of classes from other namespaces.继续阅读 »
(This post is rewritten to adapt to the latest release of pipeR)
Pipeline is receiving increasing attention in R community these days. It is hard to tell when it begins but more people start to use it since the easy-and-fast dplyr package imports the magic operator %>% from magrittr, the pioneer package of pipeline op继续阅读 »
AppCode 中添加了直接对CocoaPods的关联:
但是直接关联 Ruby SDK 和 CocoaPods 的时候会发现提示错误:
ruby
Usage of the constant `Pod::SourcesManager` is deprecated, use `Pod::Config.instance.sources_manager` instead (called from /Applications/AppCode.app/Contents/bin/cocoapods_common.rb:4:in `init_master_repo') Usage of the co继续阅读 »