how to use docker abandon1a2b Coding wsl2 后可以配合 docker desktop 在本地环境快速搭建 redis mongodb mysql nginx 等环境的部署。 docker dockerhubformysql 拉取 docker images 查看本地镜像 docker-compose docker-compose up 关于php容器内在不关联 mysql 情况下连接mysql 可以将本机局域网ip让php容器内连...
你的一阳指 abandon1a2b Coding Before You Feel Pressure Alright, everyone looking forward, please. 请大家都朝我这边看。 Good morning , year elevens. 早上好,11年级的同学们。 Today’s assembly is about the start of a journey 今天的集会是关于一段新的开始。 The start of ...
JekyllToHexo abandon1a2b Coding githubPage 博客迁移 从 jeyll 到 hexo hexo 的中文文档较为健全,我这里就只引入一下我参考部署相关的一些参考网站, 个人补充 jeyll 和 hexo 虽然从效果上看都可以将个人博客部署到 githubPage , 但个人看来在部署上还是有实现上的差别, jeyll 是基于 reby 由模板引擎渲染生成, hexo 则是将一整套静态网页部署到github。(个人感觉在 j...
how to use mysql abandon1a2b Coding mysql 密码重置那些事儿 mysql 8.0 导致的 pdo 链接问题 crud create alter insert read update delete other 思考 删除一个数据库所有表 mysql 密码重置那些事儿 好久没有整理云服务器,今天上去把前端代码和服务端代码进行了一下拆分,结果发现忘记了mysql的密码(真·很久没有用过)~ ,于是去查了一下MySQL的密码重置操作, ...
PHP[011]:curl abandon1a2b Coding 今天在研究了下 php curl cookie的使用 , 本來打算写一篇关于 php curl 的使用,主要是关于 cookie 的,但是 curl 在一定程度上相比于 socket 算是一个经过封装的扩展,所以写的过程中又引入了一个使用 socket 进行 http 请求的文章 PHP 支持 Daniel Stenberg 创建的 libcurl 库,能够连接通讯各种服务器、使用各种协议。lib...
PHP[007]:ReflectionClass abandon1a2b Coding 调用类私用方法 实例化不可实例的类 使用这个的原因是因为拆分老的业务代码中,有个一个 Aentity 依赖另一个 Bentity (在orm层中调用get_ class),如果查询或者Bentity提供的创建方法会导致将其注册到 UnitOfWork 中,会导致最后的入库(虽然也有可能不入库),所以采用 ReflectionClass::newInstanceWithoutConstructor ...
PHP[003]:symfony abandon1a2b Coding 起步 symfony Configuring a Web Server symfony Requirements for Running Symfony 进入项目安装开发时使用的 web server 组件 The Symfony MakerBundle next
PHP[002]:More PHP abandon1a2b Coding more 虽然 wsl 可以模拟 linux 环境,但是请不要用 wsl 作为一种开发环境进行使用,而是作为一个工具系统 一致的环境 linux 版本 & 配置 nginx 版本 & 配置 mysql 版本 & 配置 php 版本 & 配置 composer 版本(这个也很重要) 一致的环境体现在三个方面,系统(linux/win)是否一直,依赖软件 (nginx/mysql/other)是否一致...