简
4年前
彻底理解安卓应用无响应机制
引言不论从事安卓应用开发,还是安卓系统研发,应该都遇到应用无响应(ANR,ApplicationNotResponding)问题,当应用程序一段时间无法及时响应,则会弹出ANR对话框,让用户选择继续等待,还是强制关闭。绝大多数人对ANR的了解仅停留在主线程耗时或CPU繁忙会导致ANR。面试过无数的候选人,几乎没有人能真正从系统级去梳理清晰ANR的
Wesley13 Wesley13
4年前
HTTP,FTP,SMTP错误码
HTTP100Continue继续101SwitchingProtocols切换协议200OK正常201Created已创建202Accepted已接受203NonAuthoritativeInformation非权威性信息204NoContent无内容
Wesley13 Wesley13
4年前
MQTT
源博客地址:http://blog.csdn.net/pipinet123(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fblog.csdn.net%2Fpipinet123)MQTT交流群:221405150面向群
Stella981 Stella981
4年前
Alpinel 编译软件注意事项
1.使用国内镜像,加速下载2.安装autoconf(无configure脚本时):apkaddnocacheUautoconf3.安装C编译器:apkaddnocacheUgcc、apkaddnocacheUlibcdev4.安装make5.安装linux内核文件头l
Stella981 Stella981
4年前
Spring Cloud Eureka 启动后,无显示界面.
//检测配置文件application.propertiesserver.port5111eureka.instance.hostname127.0.0.1eureka.client.registerwitheurekafalseeureka.client.fetchregistryfalseeureka.client.servi
Stella981 Stella981
4年前
Linux系统与服务构建运维
Linux系统与服务构建运维1x初级,项目三FTP服务的使用配置YUM源将CD设备进行连接!(https://img2020.cnblogs.com/blog/1893874/202005/189387420200508194528832718337495.png)将CD设备挂载
Wesley13 Wesley13
4年前
Ubuntu安装NGINX+PHP
禁止IP6协议vi/etc/modprobe.d/blacklist.conf底部追加blacklistipv6修改软件仓库源mv/etc/apt/sources.list/etc/apt/sources.list.bakvi/etc/apt/sources.listUbuntu14
Wesley13 Wesley13
4年前
Ubuntu16.04安装docker
1.更换镜像(1)备份原来的源sudocp/etc/apt/sources.list/etc/apt/sources.list.bakcup(2)编辑sources.listssudovim/etc/apt.sources.list添加如下内容:debhttp://mirrors.aliyun.com/ubuntu
Stella981 Stella981
4年前
Lua 字符串查找函数 string.find(s, pattern [, init [, plain]] )【转】
函数原型string.find(s,pattern\,init\,plain\\)s:源字符串pattern:待搜索模式串init:可选,起始位置plain:我没用过①子串匹配:print(string.find("haha",'ah'))输出23注意:
spring多数据源动态切换的实现原理及读写分离的应用 | 京东云技术团队
AbstractRoutingDataSource​​是Spring框架中的一个抽象类,可以实现多数据源的动态切换和路由,以满足复杂的业务需求和提高系统的性能、可扩展性、灵活性。