摘要: **RichText** 是一个容器组件,用于显示包含不同样式(如不同颜色、字体、大小等)的文本片段。你可以在 RichText 中使用 TextSpan 来定义不同样式的文本片段,然后将这些 TextSpan 放置在 children 列表中。使用 RichText 可以实现更复杂的富文本布局,例 阅读全文
posted @ 2023-06-30 14:00 肉炒辣椒 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 修改android studio 安装目录/bin/idea.properties idea.config.path=E:/environment/.AndroidStudio/config idea.system.path=E:/environment/.AndroidStudio/system 阅读全文
posted @ 2020-01-02 16:39 肉炒辣椒 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 去除不需要的启动加载项 Window Preferences General Startup and Shutdown 关闭自动更新 Window Preferences Install/Update Automatic Update 调整jvm内存 待补全 参考:https://blog.csdn 阅读全文
posted @ 2018-08-13 21:16 肉炒辣椒 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 在使用docker容器时,有时候里边没有安装vim,敲vim命令时提示说:vim: command not found,这个时候就需要安装vim。 若提示: Reading package lists... Done Building dependency tree Reading state in 阅读全文
posted @ 2018-01-22 15:11 肉炒辣椒 阅读(172) 评论(0) 推荐(0) 编辑
摘要: js中添加如下一段代码即可。 if(!window.console){ window.console = {}; } if(!window.console.log){ window.console.log = function(msg){}; } 阅读全文
posted @ 2018-01-12 15:27 肉炒辣椒 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 复制一份startup.bat,更名为“startup-debug”。 替换内容如下: call "%EXECUTABLE%" start %CMD_LINE_ARGS% 替换为 set JPDA_TRANSPORT=dt_socketset JPDA_ADDRESS=8000set JPDA_SU 阅读全文
posted @ 2018-01-11 15:54 肉炒辣椒 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 查看用户当前权限 show grants; 查看其他 MySQL 用户权限: show grants for '<username>'@'<host>'; 授权 grant <privileges> on <databasename.tablename> to '<username>'@'<host 阅读全文
posted @ 2018-01-11 09:34 肉炒辣椒 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 当执行存储过程相关操作时,如果出现该错误,则往下看。 打开存储过程,会发现“CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost`”。 由于DEFINER的用户与当前用户不一致,导致操作无法执行。 解决方法:使用拥有该存储过程权限的用户导出sql脚 阅读全文
posted @ 2018-01-11 09:00 肉炒辣椒 阅读(820) 评论(0) 推荐(0) 编辑
摘要: In Eclipse, click the ant file -- Run As -- External Tools Configuration and click on the JRE tab. Select "Run in the same JRE as the workspace" 阅读全文
posted @ 2017-09-11 13:54 肉炒辣椒 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 网上大多介绍的catalina.sh启动,因为docker容器中,无法直接启动startup.sh。 解决方法: 编辑catalina.sh,找到 当前tomcat版本为8.0.32,行号分别为398、407。 将"&"删除,结果为 重定向日志之后,多了一个&符号, 是这个符号导致启动失败,去掉就好 阅读全文
posted @ 2017-07-11 15:40 肉炒辣椒 阅读(3012) 评论(0) 推荐(0) 编辑