只为成功找方法,不为失败找理由。

博客园 首页 新随笔 联系 订阅 管理

05 2020 档案

摘要:1.查找有哪些库可以删。mysql> SHOW DATABASES; + + | Database | + + | information_schema | | java505 | | mysql | | sakila | | sys | | testjdbc | | test | + +2. DR 阅读全文
posted @ 2020-05-26 16:02 诗意的活着 阅读(295) 评论(0) 推荐(0)

摘要:flutter中日期的比较比较方便,可以通过difference方法来实现,示例代码如下: //出生日期 final birthday = DateTime(1988, 10, 12); //当前日期 final date2 = DateTime.now(); //比较相差的天数 final dif 阅读全文
posted @ 2020-05-25 10:44 诗意的活着 阅读(3910) 评论(0) 推荐(0)

摘要:inputFormatters: [ WhitelistingTextInputFormatter(RegExp( "[a-zA-Z]|[\u4e00-\u9fa5]|[0-9]")), //只能输入汉字或者字母或数字 LengthLimitingTextInputFormatter(maxLeng 阅读全文
posted @ 2020-05-22 11:51 诗意的活着 阅读(3515) 评论(0) 推荐(0)

摘要:Info.plist修改 <key>UISupportedInterfaceOrientations</key> <array> <string>UIInterfaceOrientationLandscapeRight</string> <string>UIInterfaceOrientationL 阅读全文
posted @ 2020-05-20 16:37 诗意的活着 阅读(552) 评论(0) 推荐(0)

摘要:inputFormatters: [ //只允许输入字母数字* WhitelistingTextInputFormatter(RegExp("[a-zA-Z]|[0-9.]")), LengthLimitingTextInputFormatter(10)], 阅读全文
posted @ 2020-05-19 11:22 诗意的活着 阅读(1260) 评论(0) 推荐(0)

摘要:原因1: 没有安装Xcode命令行工具,执行xcode-select --install 原因二: 没有安装fastlane 执行sudo gem install fastlane -NV 或brew cask install fastlane 原因三: ~/.profile, ~/.zshrc , 阅读全文
posted @ 2020-05-15 09:57 诗意的活着 阅读(2031) 评论(0) 推荐(0)