07 2018 档案

RenderFlex children have non-zero flex but incoming width constraints are unbounded.
摘要:问题代码: 报错: 解决方式: 去掉上面的注释就好了,但那只是加了一个限制,让框架知道怎么布局对界面显示可能不会有影响 阅读全文

posted @ 2018-07-31 11:19 --LP--

利用crontab 定时重启 80端口的服务
摘要:定时任务运行的脚本: jiaoben.sh 配置定时任务:(以下显示的是每天凌晨 4 点执行) crontab -e 启动定时任务: service crond start 注意赋予脚本执行权限: chmod是权限管理命令change the permissions mode of a file的缩 阅读全文

posted @ 2018-07-26 17:51 --LP--

返回 js字符串让页面跳转
摘要:url 可以带参数 阅读全文

posted @ 2018-07-21 21:43 --LP--

dart json相关
摘要:例子2: 输出: 阅读全文

posted @ 2018-07-21 11:23 --LP--

flutter dart定时任务
摘要:首先: import 'dart:async'; 直接上代码: 阅读全文

posted @ 2018-07-20 18:50 --LP--

Waiting for another flutter command to release the startup lock.
摘要:1:关闭 as 2:CTRL+ALT+DEL 关闭所有 dart进程和android进程,注意adb这个别忘了关 3:打开 flutter 安装目录 如:...\flutter\flutter\bin\cache 删除里面的 lockfile 4:打开 as 先点击下面的 Invalidate 再打 阅读全文

posted @ 2018-07-20 11:57 --LP--

rails-api 基本
摘要:官网:http://edgeguides.rubyonrails.org/api_app.html 创建: rails new my_api --api 改为mysql2: 改动处01: Gemfile 添加 gem 'mysql2' 改动处02:(例子) config/database.yml d 阅读全文

posted @ 2018-07-18 17:58 --LP--

centos 7 开机yum
摘要:yum -y install net-tools yum -y install wget 阅读全文

posted @ 2018-07-18 15:31 --LP-- 阅读(143) 评论(0) 推荐(0)

git 安装及常见问题处理
摘要:卸载掉自带的: yum remove git 安装: yum -y install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker 接着 https://github. 阅读全文

posted @ 2018-07-18 10:45 --LP-- 阅读(264) 评论(0) 推荐(0)

flutter 出现黄色栅栏解决方式
摘要:问题: 解决提示: 解决:(以下显示用的是ListView,包一下就可以了) 阅读全文

posted @ 2018-07-14 15:57 --LP--

导航