会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
新随笔
联系
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
25
下一页
2023年3月25日
centos7安装Docker(转)
摘要: 原文:https://cloud.tencent.com/developer/article/1701451 1、安装前必读 在安装 Docker 之前,先说一下配置,我这里是Centos7 Linux 内核:官方建议 3.10 以上,3.8以上貌似也可。 注意:本文的命令使用的是 root 用户登
阅读全文
posted @ 2023-03-25 15:26 pine007
阅读(48)
评论(0)
推荐(0)
2023年3月24日
mysql 订单产品表,一个订单对应多个产品,查询只包含产品A001,A002,A003的订单
摘要: 假设订单产品表的表名为 order_product,包含字段如下: order_id:订单ID product_id:产品ID 下面是查询只包含产品A001,A002,A003的订单的SQL语句: SELECT order_id FROM order_product WHERE product_id
阅读全文
posted @ 2023-03-24 18:48 pine007
阅读(770)
评论(0)
推荐(0)
2023年3月17日
mysql 查询1个订单 存在3件及以上商品一样的其它订单
摘要: 1、需求 要查1个订单 存在3件及以上商品一样的其它订单 2、数据表 表 :order_sku 字段:order_code, sku CREATE TABLE `order_sku` ( `id` int(10) NOT NULL, `order_code` varchar(64) DEFAULT
阅读全文
posted @ 2023-03-17 16:45 pine007
阅读(165)
评论(0)
推荐(0)
2023年3月14日
18个Laravel8数据库查询优化建议(转)
摘要: 18个Laravel8数据库查询优化建议 原文:https://learnku.com/laravel/t/61384 如果应用运行缓慢或存在大量数据库查询,请按照以下性能优化提示来缩短应用的加载时间。 1. 检索大型数据集 本提示主要侧重于提高处理大型数据集时应用的内存使用率。 处理大的集合时,分
阅读全文
posted @ 2023-03-14 10:25 pine007
阅读(244)
评论(0)
推荐(0)
2023年3月8日
git 如何恢复丢弃的 stash 数据
摘要: 参考:https://zhuanlan.zhihu.com/p/28948567 1、问题 不小心把缓存 stash(储藏)起来的代码删除了 sourcetree删除 命令行删除 $ git stash list #stash@{0}: On pine/test: test $ git stash
阅读全文
posted @ 2023-03-08 18:48 pine007
阅读(404)
评论(0)
推荐(0)
2023年1月19日
15个超强的jQuery/HTML5图片轮播插件(链接)
摘要: 原文:https://www.html5tricks.com/15-jquery-html5-image-player.html
阅读全文
posted @ 2023-01-19 15:16 pine007
阅读(147)
评论(0)
推荐(0)
html css js 手写简易轮播图
摘要: 源码:https://github.com/pine007/source-codes/blob/main/html-css-js-手写简易轮播图.zip 1、效果 2、编码 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>轮播图
阅读全文
posted @ 2023-01-19 15:13 pine007
阅读(110)
评论(0)
推荐(0)
2023年1月18日
解决img和div高度不同的问题(转)
摘要: 原文:https://blog.csdn.net/qq_34466755/article/details/111411986 1、问题 img在div中会在底部产生额外的空隙 <body> <style> div { color: #fff; background-color: blue; } im
阅读全文
posted @ 2023-01-18 14:39 pine007
阅读(158)
评论(0)
推荐(0)
2023年1月13日
php数组替换键名
摘要: array_map() 函数将用户自定义函数作用到数组中的每个值上,并返回用户自定义函数作用后的带有新值的数组 array_combine() 通过合并两个数组来创建一个新数组,其中的一个数组元素为键名,另一个数组元素为键值 //--需求:将二维索引数组转换为指定键名的关联数组 $data = [
阅读全文
posted @ 2023-01-13 13:39 pine007
阅读(268)
评论(0)
推荐(0)
laravel hasManyThrough用法及参数(转)
摘要: 原文:https://learnku.com/articles/62503 简单模式 第一种情况,我称之为传导关联表 国家有很多用户,用户有很多帖子 countries id - integer name - string users id - integer country_id - intege
阅读全文
posted @ 2023-01-13 12:00 pine007
阅读(582)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
25
下一页