转载自:http://www.cnblogs.com/qianxudetianxia/p/4322331.html
目的
发布自己的android library(也就是aar)到公共的jcenter仓库,所有的人都能用gradle最简单的方式引用。
为什么选择jcenter,它兼容maven,而且支持更多形式仓库,android studio最新版本已经默认jcenter了。
环境
Android Studio 1.0+
转载自:http://www.cnblogs.com/qianxudetianxia/p/4322331.html
目的
发布自己的android library(也就是aar)到公共的jcenter仓库,所有的人都能用gradle最简单的方式引用。
为什么选择jcenter,它兼容maven,而且支持更多形式仓库,android studio最新版本已经默认jcenter了。
环境
Android Studio 1.0+
转载自:http://flavienlaurent.com/blog/2014/01/31/spans/
Recently, I wrote a blog post about the NewStand app and its ActionBar icon translation effect. Cyril Mottier suggested me to use Spans to fade in/out the ActionBar title which is a very elegant[......]
转载自:http://toastdroid.com/2014/06/21/creating-reusable-custom-components/
The stock Views provided by Android are pretty flexible, and usually they’re good enough if you’re adhering to the Android Design Guidelines. Sometimes you might want to add[......]
# 时区
sudo dpkg-reconfigure tzdata
# 时间
sudo date -s “”
[......]
1. passport介绍
Passport项目是一个基于Nodejs的认证中间件。Passport目的只是为了“登陆认证”,因此,代码干净,易维护,可以方便地集成到其他的应用中。
Web应用一般有2种登陆认证的形式,这些都是passport支持哒!
Passport可以根据应用程序的特点,配置不同的认证机制。本文将介绍,用户名和密码的认证登陆。
项目网站:http://passportjs.org/
本文主要讲解使用pas[......]