登录
C

Coding

分类

💻 代码的修罗场 | 从报错到部署的硬核战场

话题
how to use docker
Coding #hot

wsl2 后可以配合 docker desktop 在本地环境快速搭建 redis mongodb mysql nginx 等环境的部署。 docker dockerhubformysql 拉取 docker images 查看本地镜像 docker-compose docker-compose up 关于php容器内在不关联 mysql 情况下连接mysql 可以将本机局域网ip让php容器内连...

2025-12-30 20:46:43
0
241
how to use regex
Coding #hot

(>'-')>

2025-12-30 20:46:43
0
231
你的一阳指
Coding #hot

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 ...

2025-12-30 20:46:43
0
297
JekyllToHexo
Coding #hot

githubPage 博客迁移 从 jeyll 到 hexo hexo 的中文文档较为健全,我这里就只引入一下我参考部署相关的一些参考网站, 个人补充 jeyll 和 hexo 虽然从效果上看都可以将个人博客部署到 githubPage , 但个人看来在部署上还是有实现上的差别, jeyll 是基于 reby 由模板引擎渲染生成, hexo 则是将一整套静态网页部署到github。(个人感觉在 j...

2025-12-30 20:46:43
0
242
how to use kibaba
Coding #hot

过滤语句

2025-12-30 20:46:43
0
213
how to use vargrant
Coding #hot

(>'-')>

2025-12-30 20:46:43
0
302
how to use mysql
Coding #hot

mysql 密码重置那些事儿 mysql 8.0 导致的 pdo 链接问题 crud create alter insert read update delete other 思考 删除一个数据库所有表 mysql 密码重置那些事儿 好久没有整理云服务器,今天上去把前端代码和服务端代码进行了一下拆分,结果发现忘记了mysql的密码(真·很久没有用过)~ ,于是去查了一下MySQL的密码重置操作, ...

2025-12-30 20:46:43
0
268
PHP[012]:TypeCode
Coding #hot

如何利用php严格模式写出理想的代码 php限定类型 php严格模式开启

2025-12-30 20:46:43
0
210
PHP[011]:curl
Coding #hot

今天在研究了下 php curl cookie的使用 , 本來打算写一篇关于 php curl 的使用,主要是关于 cookie 的,但是 curl 在一定程度上相比于 socket 算是一个经过封装的扩展,所以写的过程中又引入了一个使用 socket 进行 http 请求的文章 PHP 支持 Daniel Stenberg 创建的 libcurl 库,能够连接通讯各种服务器、使用各种协议。lib...

2025-12-30 20:46:43
0
218
PHP[010]:codeception
Coding #hot

codeception 创建单元测试 运行单元测试

2025-12-30 20:46:43
0
228
PHP[009]:爬虫
Coding #hot

php爬虫

2025-12-30 20:46:43
0
267

(>'-')>

2025-12-30 20:46:43
0
223

调用类私用方法 实例化不可实例的类 使用这个的原因是因为拆分老的业务代码中,有个一个 Aentity 依赖另一个 Bentity (在orm层中调用get_ class),如果查询或者Bentity提供的创建方法会导致将其注册到 UnitOfWork 中,会导致最后的入库(虽然也有可能不入库),所以采用 ReflectionClass::newInstanceWithoutConstructor ...

2025-12-30 20:46:43
0
235

(>'-')>

2025-12-30 20:46:43
0
234
PHP[005]:function
Coding #hot

(>'-')>

2025-12-30 20:46:43
0
214
PHP[004]:laravel 5.5
Coding #hot

(>'-')>

2025-12-30 20:46:43
0
212
PHP[003]:symfony
Coding #hot

起步 symfony Configuring a Web Server symfony Requirements for Running Symfony 进入项目安装开发时使用的 web server 组件 The Symfony MakerBundle next

2025-12-30 20:46:43
0
235
PHP[002]:More PHP
Coding #hot

more 虽然 wsl 可以模拟 linux 环境,但是请不要用 wsl 作为一种开发环境进行使用,而是作为一个工具系统 一致的环境 linux 版本 & 配置 nginx 版本 & 配置 mysql 版本 & 配置 php 版本 & 配置 composer 版本(这个也很重要) 一致的环境体现在三个方面,系统(linux/win)是否一直,依赖软件 (nginx/mysql/other)是否一致...

2025-12-30 20:46:43
0
269
PHP[002]:Standard
Coding #hot

(>'-')>

2025-12-30 20:46:43
0
219
PHP[001]:INSTALL
Coding #hot

ubuntu ubuntu 中软件的卸载方法: 1.apt方式安装: (相应的文件夹有相关的软件,先进入到软件的文件夹) 普通安装: sudo apt-get install 软件名 修复安装: sudo apt-get -f install 软件名 重新安装: sudo apt-get --rreinstall install 软件名 (一般是 .deb 格式) 2.dpkg 方式: 1.普通安...

2025-12-30 20:46:43
0
221