上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页
摘要: android里软键盘弹出顶起当前布局是常见的问题。 首先了解下软键盘和activity的几个交互模式(windowSoftInputMode) 【A】stateUnspecified:软键盘的状态并没有指定,系统将选择一个合适的状态或依赖于主题的设置 【B】stateUnchanged:当这个ac 阅读全文
posted @ 2020-10-31 22:01 乱炖er 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 解决方案: findViewById(R.id.loading).clearAnimation(); findViewById(R.id.loading).setVisibility(GONE); 阅读全文
posted @ 2020-10-30 12:05 乱炖er 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 解决方案: git config --global --unset https.proxy 阅读全文
posted @ 2020-10-26 14:49 乱炖er 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Gunicorn是一个unix上被广泛使用的高性能的Python WSGI UNIX HTTP Server。和大多数的web框架兼容,并具有实现简单,轻量级,高性能等特点。 gunicorn 安装 pip3 install gunicorn gunicorn + flask 简单示例 flask程 阅读全文
posted @ 2020-10-21 11:27 乱炖er 阅读(1057) 评论(0) 推荐(0) 编辑
摘要: 参考: Android线程管理之ThreadPoolExecutor自定义线程池 https://www.cnblogs.com/whoislcj/p/5610903.html Android 多线程处理之多线程用法 https://www.cnblogs.com/zhujiabin/p/61690 阅读全文
posted @ 2020-10-18 21:31 乱炖er 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 先上代码: RotateAnimation animation =new RotateAnimation(0f, 360f, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f); animation.setDurat 阅读全文
posted @ 2020-10-18 13:26 乱炖er 阅读(1253) 评论(0) 推荐(1) 编辑
摘要: Flask项目配置(Configuration) https://zhuanlan.zhihu.com/p/24055329 python官方配置 http://www.pythondoc.com/flask/config.html 阅读全文
posted @ 2020-10-15 16:26 乱炖er 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 本地数据库能通过root和密码正常登录 逐一排查问题 1,查看端口是否正确(使用的默认端口 3306) mysql> show global variables like 'port'; 结果端口为0 2,修改端口号 查看/Library/LaunchDaemons下的com.oracle.oss. 阅读全文
posted @ 2020-10-15 14:43 乱炖er 阅读(4499) 评论(0) 推荐(2) 编辑
摘要: 问题描述pycharm本地数据库,莫名出现一个错误,总会提示授权失败:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 此时切换到本地数据库,使用之前设置的密码无法进入,提示同样的错 阅读全文
posted @ 2020-10-15 14:17 乱炖er 阅读(1097) 评论(0) 推荐(0) 编辑
摘要: pycharm本地调试,在postman中输入带下划线的参数没有问题,但是,当把项目部署到ecs中测试,使用带下划线的参数就会报错 typeerror int() argument must be a string a bytes-like object or a number 原因在于,ecs里使 阅读全文
posted @ 2020-10-15 11:31 乱炖er 阅读(2442) 评论(0) 推荐(1) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页