bingoogolapple.github.io icon indicating copy to clipboard operation
bingoogolapple.github.io copied to clipboard

个人主页。同时也通过 Issues 记录学习笔记

Results 100 bingoogolapple.github.io issues
Sort by recently updated
recently updated
newest added

## [RxJava2](http://reactivex.io/documentation) ## [RxJava2 学习资料推荐](http://mp.weixin.qq.com/s/UAEgdC2EtqSpEqvog0aoZQ) ## [Rxjava2.0新特性](https://zhangliangbo.wordpress.com/2017/05/13/rxjava2-0%E6%96%B0%E7%89%B9%E6%80%A7/) ### HelloWorld ```Java private void helloWorld() { Schedulers.computation().scheduleDirect(() -> { Logger.d("在 computation 线程订阅"); // RxComputationThreadPool-1 Observable.create((ObservableOnSubscribe) emitter -> { // RxCachedThreadScheduler-1【受 A 影响】...

Android

### JNI 相关资料 * [向您的项目添加 C 和 C++ 代码](https://developer.android.com/studio/projects/add-native-code.html?utm_source=android-studio#link-gradle) * [googlesamples-android-ndk](https://github.com/googlesamples/android-ndk) ### 编译 [libiconv](http://ftp.gnu.org/pub/gnu/libiconv) * 下载并解压 libiconv-1.15.tar.gz * cd libiconv-1.15 * ./configure && make * 拷贝 libiconv-1.15 到项目的 jni 目录下

Android

* 添加 BGA 组 ![image](https://user-images.githubusercontent.com/8949716/33196057-ec75931a-d117-11e7-9372-61a1a12b8792.png) * 单例模式-静态内部类 ![image](https://user-images.githubusercontent.com/8949716/33196232-7b4a9526-d119-11e7-971b-9de2600a5d93.png) ```Java private $CLASS$() { $END$ } private static class SingletonHolder { private static final $CLASS$ INSTANCE = new $CLASS$(); } public static...

工具软件
开发环境

### 配置 PPTP 服务端 * 先看看你的主机是否支持 pptp,返回结果为 yes 就表示通过 ``` modprobe ppp-compress-18 && echo yes ``` * 是否开启了TUN,有的虚拟机主机需要开启,返回结果为cat: /dev/net/tun: File descriptor in bad state。就表示通过 ``` cat /dev/net/tun ``` * 安装...

Linux
工具软件
开发环境

* java -jar -Xms2g -Xmx2g -Xss256k -XX:+UseParallelGC -XX:+UseParallelOldGC -Xloggc:./log/Parallel.log -XX:+PrintGC -XX:+PrintGCTimeStamps -XX:+PrintGCDateStamps -XX:+PrintGCDetails build/libs/tuning-1.0.jar ``` Java HotSpot(TM) 64-Bit Server VM (25.131-b11) for bsd-amd64 JRE (1.8.0_131-b11), built on Mar 15 2017...

Java

```shell #!/usr/bin/expect -f # 设定超时时间为 3 秒 set timeout 3 # fork 一个子进程执行 ssh 命令 spawn ssh root@localhost # 期待匹配到输入密码提示 expect "*pass*" # 向命令行输入密码并回车 send "youpwd\r" expect "]*" send "cd...

Linux

[教你认清MVC,MVP和MVVM三种模式](http://blog.csdn.net/greathfs/article/details/52017155)

Android

> 1.[注册Sonatype的JIRA账号](https://issues.sonatype.org) ``` ``` > 2.创建一个issue ``` Project:Community Support - Open Source Project Repository Hosting Issue Type:New Project Summary:项目名即可 (等到Status变成RESOLVED时才能执行第8步) ``` > 3.GnuPG签名 [下载](https://www.gnupg.org/download/index.html) ``` 安装:gpg --gen-key (除了姓名、邮箱、备注外其他都可以使用默认配置,密码在接下来的第4步中会用到) 查看key内容:gpg --list-keys...

开发环境
Gradle

> docker-compose.yml ``` version: '2' # 指定compose版本号 services: phoenix: image: nginx #指定服务要使用的镜像 ports: - "8080:80" # 主机端口:容器端口 dragon: image: nginx ports: - "8081:80" ``` ``` ➜ DockerNote ls docker-compose.yml ➜...

Docker

## ssh 远程登录 > ssh 命令。如果端口号是 22,则不需要指定 ``` ssh -p 端口号 用户名@远程主机 ssh -p 51122 centosone@localhost ``` > 在 .zshrc 中添加别名来简化命令 ``` alias ubuntuone="ssh ubuntuone@localhost -p 61122" alias ubuntutwo="ssh ubuntutwo@localhost...

Linux
工具软件
开发环境