自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 资源 (3)
  • 收藏
  • 关注

原创 golang 导出Excel数据字典

【代码】golang 导出Excel数据字典。

2023-12-21 14:34:40 379

原创 联想电脑清灰后触摸板失效

电脑买了两年多了散热问题比较严重。自行拆机,装回电池后发现触摸板无法使用

2022-10-16 14:35:16 1241

原创 golang 将图片生成Base64

go base64 图片

2022-07-28 10:35:04 4378

原创 Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?

ubuntu docker Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?

2022-06-23 20:03:27 1773 1

原创 xorm unexpected end of JSON input

xorm 报错 unexpected end of JSON input

2022-04-21 14:10:28 164

原创 json_encode Recursion detected

在排除问题的时候发现参与序列化的数组纯在value值为 null的情况,除去后解决问题在使用hyperf 的一次神奇的返回hyperf/utils/src/Codec/Json.php /** * @param mixed $data * @throws InvalidArgumentException */ public static function encode($data, int $flags = JSON_UNESCAPED_...

2021-11-12 11:35:26 451

原创 docker golang 镜像无法访问

1.安装docker下载地址2.下载golangdocker pull golang3.创建容器docker run -it -p 映射端口:容器端口 -v 文件夹映射:容器文件夹 golang:v1 /bin/bash4.启动 main.gopackage mainimport ( "fmt" "net/http")func Home(w http.ResponseWriter,r *http.Request) { fmt.Println..

2021-10-08 09:05:59 348

原创 InnoDB 数据页结构

参考https://blog.csdn.net/xioayu96/article/details/107857452页(Page)是 Innodb 存储引擎用于管理数据的最小磁盘单位(默认16K)InnoDB的数据页有很多种,比如,索引页,Undo页,Inode页,系统页,BloB页等+参考数据库 id 姓名 年龄 1 赵 10 2

2021-01-11 18:10:12 460

原创 八大算法思想

1.穷举法(枚举法) 【鸡兔同笼问题】对于已知范围结果进行一一列举进行验证《孙子算经》今有鸡兔同笼,上有三十五头,下有九十四足,问鸡兔各几何 /* * 获取兔子数量 * @param int $header 头 * @param int $foot 脚 * @return int */function chicken_num(int $header, int $foot){ for ($i = 0; $i < $header; $i++) { .

2021-01-11 17:19:54 1809

原创 mysql InnoDB 行记录格式

目录1. 简介及其格式之间关系1.1 关系结构1.2 简介2. Compact行记录格式2.2 null值列表:2.3 头信息:2.3.1序列及其大小2.3.2 字段说明3.Redundant行记录格式3.1 字段长度偏移列表3.2 记录头信息3.3.1序列及其大小3.3.2 字段说明4.Dynamic行记录格式4.1 优势5. Compressed行记录格式1. 简介及其格式之间关系1.1 关系结构1.2 简介 ...

2020-12-21 14:57:55 261

原创 基于symfony框架HttpKernel组件实现框架进一步的优化

书接上文:

2020-12-14 15:43:28 235

原创 基于 symfony 实现最基本的框架

目录1. 根目录index2. 根目录添加 .htaccess3. 应用目录4. 访问路由1. 根目录index<?php//加载composerinclude __DIR__. DIRECTORY_SEPARATOR.'vendor'.DIRECTORY_SEPARATOR."autoload.php";use Symfony\Component\Routing\Route;use Symfony\Component\Routing\RouteColl..

2020-12-11 16:50:55 252

原创 解决wampserver 与symfony 路由问题

1.环境级版本1.1 环境wampserver 3.1.71.2版本 symfony 5.1.82. Not Found 案例2.1目录结构2.2路由信息2.3 控制器controller2.4访问3.解决3.1参考 laravel 解决修改apache的httpd.conf文件如下:LoadModule rewrite_module modules/mod_rewrite.so发现并无“#”注释 参考https://blog...

2020-12-02 17:02:57 156

原创 PHP function(...)

例 1:function getName(string ...$name){ var_dump($name);}getName('a');输出:D:\wamp64\www\index.php:3:array (size=1) 0 => string 'a' (length=1)例 2:function getName(string ...$name){ var_dump($name);}getName('a','b','c');输出:D:\wam.

2020-11-25 17:19:30 619

原创 关于docker 在windows下运行One of the configured repositories failed (Unknown)

关于docker 在windows下运行One of the configured repositories failed (Unknown) One of the configured repositories failed (Unknown), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways

2020-08-21 10:26:57 1458

原创 nginx No input file specified 填坑记录

      接手别人项目,后台网址频繁访问出现间歇性nginx  No input file specified 错误采用各种同行同错如下解决方法:在php.ini中修改doc_root=cgi.fix_pathinfo=1cgi.force_redirect = 0kill -HUP nginx pid 后发现错误依然坚挺发现服务器环境竟然是lnmp一键安装大坑环境...

2018-10-31 11:29:52 515

原创 nginx 监听端口问题

因需求在搭建web的时候需要将ngin监听端口改为其他(非80端口),1. 修改配置文件[root@localhost html]# vim /etc/nginx/conf.d/default.conf 修改 listen 8085;#监听8085 server_name localhost;ok,启动nginx服务[root@localhost ...

2018-09-30 21:05:07 20000

position.sql

当前智联岗位表,整理后上传,三级联动 希望符合当前你的岗位要求, CREATE TABLE `position` ( `position_id` int(10) unsigned NOT NULL AUTO_INCREMENT, `position_name` varchar(255) NOT NULL, `position_parent` int(11) NOT NULL DEFAULT '0' COMMENT '父级', PRIMARY KEY (`position_id`) ) ENGINE=InnoDB AUTO_INCREMENT=1402 DEFAULT CHARSET=utf8;

2020-03-19

region.sql

地址列表。地域编码是基于国家统计局发布的数据 来源composer laravel-admin-ext/china-distpicker 包内

2020-03-19

merchant.sql

银联MCC码分类表不知道是哪一年的自己整理了下

2019-07-30

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除