概要 在前一篇文章中我们提到,iOS跳转到Flutter工程指定页面时(多个),Flutter只有单例,设置setInitialRouter 无效,如下 基于不是很甘心,一直想实现完美的解决方案,所以最近几天又看了下解决各方面的解决方案,最终还是有了可行方案,步骤如下 1、设置delegate 代码 ...
分类:
移动开发 时间:
2019-07-30 12:57:31
阅读次数:
1036
sudo docker run hello-world docker: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for con ...
分类:
Web程序 时间:
2019-07-29 23:05:52
阅读次数:
464
前台表单(V:视图) 方式一(C:控制器) 方式二(C:控制器) 方式三(C:控制器) 方式四(C:控制器) ...
分类:
Web程序 时间:
2019-07-28 17:41:22
阅读次数:
138
在https://github.com/Audi 1/sqli labs上下载Sqli labs的zip包 在http://phpstudy.php.cn/wenda/407.html上下载phpstudy2016 将sqli labs解压并放在apache的www目录下。 在phpstudy/ww ...
分类:
数据库 时间:
2019-07-27 23:40:17
阅读次数:
203
出现问题主要原因是button标签的type属性,button的type属性值有三个分别为button、submit、reset。当我们在利用button标签写一个按钮且没有指定其type属性时,IE7以下版本会默认指定为button,其他会被默认指定为submit。当按钮的type属性被指定为su ...
分类:
其他好文 时间:
2019-07-27 11:16:07
阅读次数:
116
1.参考官方安装指南 https://about.gitlab.com/install/#centos-7 2.遇到的问题 2.1.启动postfix出错 错误内容 查看出错命令 错误内容 执行命令 在main.cf文件里加入 重新执行启动postfix命令 2.2修改ip与port 安装官方安装步 ...
分类:
其他好文 时间:
2019-07-26 11:51:55
阅读次数:
161
主要的几个命令 git add # 将工作区的修改提交到暂存区 git commit # 将暂存区的修改提交到当前分支 git reset # 回退到某一个版本 git stash # 保存某次修改 git pull # 从远程更新代码 git push # 将本地代码更新到远程分支上 git re ...
分类:
其他好文 时间:
2019-07-24 22:23:43
阅读次数:
151
MySQL常用(目前线上使用)的线程调度方式是one-thread-per-connection(每连接一个线程),server为每一个连接创建一个线程来服务,连接断开后,这个线程进入thread_cache或者直接退出(取决于thread_cache设置及系统当前已经cache的线程数目),one ...
分类:
数据库 时间:
2019-07-24 13:45:59
阅读次数:
130
原题链接在这里:https://leetcode.com/problems/redundant-connection-ii/ 题目: In this problem, a rooted tree is a directed graph such that, there is exactly one ...
分类:
其他好文 时间:
2019-07-24 13:28:42
阅读次数:
94
常用git命令(不定时更新): 1.commit之后,发现自己提交的commit有问题(包括但不限于注释有偏差等),可以撤回commit 操作: git reset --soft HEAD^ 撤销上一次commit, --soft:不撤销git add,不删除工作空间代码,说白了就是只撤回了这个co ...
分类:
其他好文 时间:
2019-07-24 13:19:02
阅读次数:
111