首先不同网站,当然可以使用同一个邮箱,比如我的github,gitlab,bitbucket的账号都是monkeysuzie[at]gmail.com 这时候不用担心密钥的问题,因为这些网站push pull 认证的唯一性的是邮箱 比如我的windows 上 2个账号一个gitlab 一个github (用的都是id_rsa)
host github
hostname github.com
Port 22
host gitlab.zjut.com
| # This is a configuration file for ProGuard. | |
| # http://proguard.sourceforge.net/index.html#manual/usage.html | |
| # | |
| # This file is no longer maintained and is not used by new (2.2+) versions of the | |
| # Android plugin for Gradle. Instead, the Android plugin for Gradle generates the | |
| # default rules at build time and stores them in the build directory. | |
| -dontusemixedcaseclassnames | |
| -dontskipnonpubliclibraryclasses | |
| -verbose |
| -ignorewarnings | |
| -keep public class * extends android.os.Binder | |
| -keepclassmembers enum * { | |
| **[] $VALUES; | |
| public *; | |
| } | |
| # v7 | |
| -keep public class android.support.v7.widget.** { *; } | |
| -keep public class android.support.v7.internal.widget.** { *; } |
| #-*- coding:utf-8 -*- | |
| import urllib | |
| import urllib2 | |
| import re | |
| class NBACrawer: | |
| def __init__(self): | |
| self.pageIndex = 1; | |
| self.user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)' |
| # Add project specific ProGuard rules here. | |
| # You can control the set of applied configuration files using the | |
| # proguardFiles setting in build.gradle. | |
| # | |
| # For more details, see | |
| # http://developer.android.com/guide/developing/tools/proguard.html | |
| # If your project uses WebView with JS, uncomment the following | |
| # and specify the fully qualified class name to the JavaScript interface | |
| # class: |
| package com.baidu.common.sofile; | |
| import android.content.Context; | |
| import android.os.Build; | |
| import com.baidu.common.LogUtil; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.lang.reflect.Field; |
| import android.content.Context; | |
| import android.util.AttributeSet; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| /** | |
| * @author Cyning | |
| * @since 2016.04.29 | |
| * Time 15:56 | |
| * Desc <p>类/接口描述</p> |
| public class TransformersUitils { | |
| final static Observable.Transformer schedulersTransformer = new Observable.Transformer() { | |
| @Override public Object call(Object observable) { | |
| return ((Observable) observable).subscribeOn(Schedulers.io()) | |
| .observeOn(AndroidSchedulers.mainThread()); | |
| } | |
| }; | |
| public static <T> Observable.Transformer<T, T> applySchedulers() { | |
| return (Observable.Transformer<T, T>) schedulersTransformer; |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | |
| <!-- Generated by RHY @will_awoke --> | |
| <module name="Checker"> | |
| <property name="charset" value="UTF-8"/> | |
| <property name="severity" value="warning"/> |
| <idea-plugin version="2"> | |
| <id>com.yourcompany.unique.plugin.id</id> | |
| <name>Plugin display name here</name> | |
| <version>1.0</version> | |
| <vendor email="support@yourcompany.com" url="http://www.yourcompany.com">YourCompany</vendor> | |
| <description><![CDATA[ | |
| Enter short description for your plugin here.<br> | |
| <small>most HTML tags may be used</small> | |
| ]]></description> |