安装Apache ,注意必须下载对应操作系统和 VC版本
安装php 注意选择 thread safe 和机器环境
配置环境变量(e.g.)
D:\software\Apache24\bin
D:\software\php-7.3.x
D:\software\php-7.3.x\extPeople
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
| //triple clicks trigger toast git commit_id | |
| Observable<Object> observable = RxView.clicks(stv_version).share(); | |
| observable.buffer(observable.debounce(500, TimeUnit.MILLISECONDS)) | |
| .observeOn(AndroidSchedulers.mainThread()) | |
| .compose(RxHelper.<List<Object>>lifeCycle(this)) | |
| .subscribe(new Consumer<List<Object>>() { | |
| @Override | |
| public void accept(List<Object> objects) throws Exception { | |
| if (objects.size() >= 3) { | |
| new ToastView(OtherMoreActivity.this, BuildConfig.GIT_SHA).show(); |
| git config --global https.proxy http://127.0.0.1:1080 | |
| git config --global https.proxy https://127.0.0.1:1080 | |
| git config --global --unset http.proxy | |
| git config --global --unset https.proxy | |
| npm config delete proxy |
| ## Project-wide Gradle settings. | |
| # | |
| # For more details on how to configure your build environment visit | |
| # http://www.gradle.org/docs/current/userguide/build_environment.html | |
| # | |
| # Specifies the JVM arguments used for the daemon process. | |
| # The setting is particularly useful for tweaking memory settings. | |
| # Default value: -Xmx1024m -XX:MaxPermSize=256m | |
| # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | |
| # |
| ## Project-wide Gradle settings. | |
| # | |
| # For more details on how to configure your build environment visit | |
| # http://www.gradle.org/docs/current/userguide/build_environment.html | |
| # | |
| # Specifies the JVM arguments used for the daemon process. | |
| # The setting is particularly useful for tweaking memory settings. | |
| # Default value: -Xmx1024m -XX:MaxPermSize=256m | |
| # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | |
| # |
| package which.package.the.DemoActivity.located; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| import android.os.PersistableBundle; | |
| import rx.Observer; | |
| import rx.Subscription; | |
| import rx.android.schedulers.AndroidSchedulers; | |
| import rx.functions.Action1; |
| /** | |
| * Description: 自适应slidingDrawer wrap_content | |
| * Copyright: Copyright (c)2015-2016 | |
| * Company: | |
| * @author: Edward | |
| * @version: 1.0 | |
| * Create at: 2016年11月30日 下午6:10:18 | |
| * | |
| * Modification History: | |
| * Date Author Version Description |
| #各个依赖引用版本 | |
| SUPPORT_V4_VERSION = 23.2.1 | |
| SUPPORT_V7_VERSION = 23.2.1 | |
| XUTILS_VERSION = 3.3.36 | |
| UNIVERSAL_IMAGE_LOADER_VERSION = 1.9.5 | |
| #编译工具的 版本 | |
| COMPILE_SDK_VERSION = 23 |
| apply plugin: 'com.android.application' | |
| android { | |
| compileSdkVersion rootProject.ext.compileSdkVersion | |
| //在project-level 定义的常量,编译时会默认,所以不必指定'ext' | |
| buildToolsVersion rootProject.buildToolsVersion | |
| defaultConfig { | |
| ..... | |
| } |