博客园 - andydaopeng
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=126512
2024-03-28T08:30:07Z
andydaopeng
https://www.cnblogs.com/andydao/
feed.cnblogs.com
https://www.cnblogs.com/andydao/p/18102027
各种AI大模型(chatgpt)汇总 人工智能 - andydaopeng
国外的(免费的,但需要登录vpn):https://www.coze.com/space/7312693780673740801/bot/7312695093595537409 kimi: https://kimi.moonshot.cn/chat/cnu06eonsmmisb95h9e0 智谱清言
2024-03-28T08:30:00Z
2024-03-28T08:30:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】国外的(免费的,但需要登录vpn):https://www.coze.com/space/7312693780673740801/bot/7312695093595537409 kimi: https://kimi.moonshot.cn/chat/cnu06eonsmmisb95h9e0 智谱清言 <a href="https://www.cnblogs.com/andydao/p/18102027" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/18075124
ubuntu安装宝塔面板教程, 并且配置 varnish缓存 - andydaopeng
一.远程链接服务器 二.安装宝塔面板 1.执行安装命令,当询问各类安装时,均输入y同意,并回车继续运行。 wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed
2024-03-15T03:57:00Z
2024-03-15T03:57:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】一.远程链接服务器 二.安装宝塔面板 1.执行安装命令,当询问各类安装时,均输入y同意,并回车继续运行。 wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed <a href="https://www.cnblogs.com/andydao/p/18075124" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/18068293
使用Echarts和JSPDF图表到PDF - andydaopeng
我已经创建了一个带有echarts的图形,并希望使用JSPDF将其包括在PDF中。 一世 成立 这样做的一种方法可能是使用画布,将图形传输到图像, 最后将图像包括在PDF中。但是,我无法将图形传输到图像。这是代码: <!DOCTYPE html> <html> <head> <meta http-e
2024-03-12T06:45:00Z
2024-03-12T06:45:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】我已经创建了一个带有echarts的图形,并希望使用JSPDF将其包括在PDF中。 一世 成立 这样做的一种方法可能是使用画布,将图形传输到图像, 最后将图像包括在PDF中。但是,我无法将图形传输到图像。这是代码: <!DOCTYPE html> <html> <head> <meta http-e <a href="https://www.cnblogs.com/andydao/p/18068293" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/18061173
echarts报表生成pdf文件 - andydaopeng
完整的demo如下: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title>Balken</title> <script src="stati
2024-03-08T07:53:00Z
2024-03-08T07:53:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】完整的demo如下: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <title>Balken</title> <script src="stati <a href="https://www.cnblogs.com/andydao/p/18061173" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/18060680
jsPDF 文字、图片生成PDF(解决中文乱码) - andydaopeng
JSPDF官网在线演示地址(不支持中文) 思源黑体字体库下载地址:https://gitee.com/ABCpril/SourceHansTtf https://github.com/adobe-fonts/source-han-sans/blob/release/README.md (后面一个是完
2024-03-08T03:47:00Z
2024-03-08T03:47:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】JSPDF官网在线演示地址(不支持中文) 思源黑体字体库下载地址:https://gitee.com/ABCpril/SourceHansTtf https://github.com/adobe-fonts/source-han-sans/blob/release/README.md (后面一个是完 <a href="https://www.cnblogs.com/andydao/p/18060680" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/18043751
laravel model - andydaopeng
$query = DB::table(self::$_table) ->when(!empty($params), function($query) use ($params){ foreach ($params as $column=>$val){ $query->where($column, $
2024-02-29T06:45:00Z
2024-02-29T06:45:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】$query = DB::table(self::$_table) ->when(!empty($params), function($query) use ($params){ foreach ($params as $column=>$val){ $query->where($column, $ <a href="https://www.cnblogs.com/andydao/p/18043751" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/18040733
php 生成小程序二维码 - andydaopeng
public function generate($code, $isShow) { // 构建二维码参数 $scene = 'C=' . $code.'&path=green'; $params = [ "scene" => $scene, 'page' => 'pages/login/regis
2024-02-28T08:04:00Z
2024-02-28T08:04:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】public function generate($code, $isShow) { // 构建二维码参数 $scene = 'C=' . $code.'&path=green'; $params = [ "scene" => $scene, 'page' => 'pages/login/regis <a href="https://www.cnblogs.com/andydao/p/18040733" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/18037555
facebook, twitter, linkedin等的分享功能 - andydaopeng
1. facebook分享 方法一:传入参数,此时标题获取的是页面title标签中的内容 <!DOCTYPE html> <html lang="en"> <head> <title>Document</title> </head> <body> <a href="https://www.faceb
2024-02-27T10:33:00Z
2024-02-27T10:33:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】1. facebook分享 方法一:传入参数,此时标题获取的是页面title标签中的内容 <!DOCTYPE html> <html lang="en"> <head> <title>Document</title> </head> <body> <a href="https://www.faceb <a href="https://www.cnblogs.com/andydao/p/18037555" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17996816
php 安装imagic扩展及服务 - andydaopeng
https://www.cnblogs.com/jinxiblog/p/8053008.html 最近的PHP项目中,需要用到切图和缩图的效果,在本地windows开发环境,安装过程遇到好多问题,在此与大家分享。 php官网里,一大群老外也看不懂这玩意怎么装,主要原因在于,php版本庞杂,还有x86
2024-01-30T03:53:00Z
2024-01-30T03:53:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】https://www.cnblogs.com/jinxiblog/p/8053008.html 最近的PHP项目中,需要用到切图和缩图的效果,在本地windows开发环境,安装过程遇到好多问题,在此与大家分享。 php官网里,一大群老外也看不懂这玩意怎么装,主要原因在于,php版本庞杂,还有x86 <a href="https://www.cnblogs.com/andydao/p/17996816" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17994698
php 从pdf中提取图片(图像) - andydaopeng
ubuntu@VM-0-13-ubuntu:/www/wwwroot/product_ms$ pdfimages -list -f 6 -l 7 Command 'pdfimages' not found, but can be installed with: sudo apt install po
2024-01-29T07:49:00Z
2024-01-29T07:49:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】ubuntu@VM-0-13-ubuntu:/www/wwwroot/product_ms$ pdfimages -list -f 6 -l 7 Command 'pdfimages' not found, but can be installed with: sudo apt install po <a href="https://www.cnblogs.com/andydao/p/17994698" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17989504
pdfjs - andydaopeng
参考 demo: https://pdfjs.express/demo
2024-01-26T07:26:00Z
2024-01-26T07:26:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】参考 demo: https://pdfjs.express/demo <a href="https://www.cnblogs.com/andydao/p/17989504" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17984169
laravel 跨域 - andydaopeng
laravel怎么设置跨域(两种方法) 在前后端分离的项目中,前端请求后端接口时可能会遇到跨域的问题。其中,一个典型的场景是:前端项目运行在 http://localhost:8080,而后端项目运行在 http://localhost:8000,这时候就需要设置跨域。 在 Laravel 中,要设
2024-01-24T03:03:00Z
2024-01-24T03:03:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】laravel怎么设置跨域(两种方法) 在前后端分离的项目中,前端请求后端接口时可能会遇到跨域的问题。其中,一个典型的场景是:前端项目运行在 http://localhost:8080,而后端项目运行在 http://localhost:8000,这时候就需要设置跨域。 在 Laravel 中,要设 <a href="https://www.cnblogs.com/andydao/p/17984169" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17916099.html
ffmpeg - andydaopeng
php ffmpeg组件: PHP基础知识之————PHP Web脚本中使用FFmpeg 参考:https://blog.51cto.com/tinywan/6171599 参考文献: http://trac.ffmpeg.org/wiki/PHP https://github.com/PHP-FF
2023-12-20T03:11:00Z
2023-12-20T03:11:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】php ffmpeg组件: PHP基础知识之————PHP Web脚本中使用FFmpeg 参考:https://blog.51cto.com/tinywan/6171599 参考文献: http://trac.ffmpeg.org/wiki/PHP https://github.com/PHP-FF <a href="https://www.cnblogs.com/andydao/p/17916099.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17805217.html
PHP 合成gif 图片 - andydaopeng
方法一: <?php namespace App\Services\Common; //namespace gifCreator; /** * Create an animated GIF from multiple images */ class Gifcreator { /** * @var s
2023-11-02T05:43:00Z
2023-11-02T05:43:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】方法一: <?php namespace App\Services\Common; //namespace gifCreator; /** * Create an animated GIF from multiple images */ class Gifcreator { /** * @var s <a href="https://www.cnblogs.com/andydao/p/17805217.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17748855.html
layui 相关 - andydaopeng
//layui table filter 监听筛选列工具条的点击事件(解决table右上角筛选时列名称不显示问题)table.on('toolbar(currentTableFilter)', function(obj){ if(obj.event 'LAYTABLE_COLS'){// 筛选列按钮
2023-10-08T05:37:00Z
2023-10-08T05:37:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】//layui table filter 监听筛选列工具条的点击事件(解决table右上角筛选时列名称不显示问题)table.on('toolbar(currentTableFilter)', function(obj){ if(obj.event 'LAYTABLE_COLS'){// 筛选列按钮 <a href="https://www.cnblogs.com/andydao/p/17748855.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17671456.html
H5 及 web 页面微信授权登录流程 - andydaopeng
https://blog.csdn.net/joe0235/article/details/115935515 一、事先准备工作配置参数测试公众平台信息(测试号相关配置示例): 1、打开公众平台的测试账号 2、配置js接口安全域名 3、扫码关注测试公众号 4、修改网页授权地址 配置授权回调的域名,至
2023-09-01T03:38:00Z
2023-09-01T03:38:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】https://blog.csdn.net/joe0235/article/details/115935515 一、事先准备工作配置参数测试公众平台信息(测试号相关配置示例): 1、打开公众平台的测试账号 2、配置js接口安全域名 3、扫码关注测试公众号 4、修改网页授权地址 配置授权回调的域名,至 <a href="https://www.cnblogs.com/andydao/p/17671456.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17639871.html
postman进行环境变量设置,全局变量设置 pm.response.json() - andydaopeng
环境变量的设置 在开发和测试的过程中,经常在开发环境,测试环境,生产环境来回切换,这样每次都要修改域名很麻烦,好在postman提供了可以切换环境更改域名的方法,这样只要配置好环境变量就可以切换域名了。具体操作步骤如下:1.点击postman右上角眼镜的图标2.点击“Add”按钮3.填写域名备注,域
2023-08-18T02:59:00Z
2023-08-18T02:59:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】环境变量的设置 在开发和测试的过程中,经常在开发环境,测试环境,生产环境来回切换,这样每次都要修改域名很麻烦,好在postman提供了可以切换环境更改域名的方法,这样只要配置好环境变量就可以切换域名了。具体操作步骤如下:1.点击postman右上角眼镜的图标2.点击“Add”按钮3.填写域名备注,域 <a href="https://www.cnblogs.com/andydao/p/17639871.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17582814.html
js 图片剪切 - andydaopeng
1、 /static/cropper/cropper.min.js /static/cropper/cropper.min.css 2、 /static/plugin/jscrop/css/cropper.css /static/plugin/jscrop/cropper.js /static/pl
2023-07-26T08:19:00Z
2023-07-26T08:19:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】1、 /static/cropper/cropper.min.js /static/cropper/cropper.min.css 2、 /static/plugin/jscrop/css/cropper.css /static/plugin/jscrop/cropper.js /static/pl <a href="https://www.cnblogs.com/andydao/p/17582814.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17551251.html
layui相关问题 - andydaopeng
layui table横向滚动条不显示问题: 博主使用的是layuimini模板,显示出数据后发现滚动条消失了,在谷歌、IE浏览器都看不到,在火狐浏览器上倒是能正常显示出来,若没有水平滚动条,是不利于展示数据种类多的数据。搞了好久,最后发现竟然是layuimini模板css样式把它给禁用了。注释掉即
2023-07-13T08:19:00Z
2023-07-13T08:19:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】layui table横向滚动条不显示问题: 博主使用的是layuimini模板,显示出数据后发现滚动条消失了,在谷歌、IE浏览器都看不到,在火狐浏览器上倒是能正常显示出来,若没有水平滚动条,是不利于展示数据种类多的数据。搞了好久,最后发现竟然是layuimini模板css样式把它给禁用了。注释掉即 <a href="https://www.cnblogs.com/andydao/p/17551251.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/andydao/p/17541763.html
各种瓜果、蔬菜种植 - andydaopeng
种类 催芽方法 打芽、整枝 时间 成熟 甜瓜 种子用40度左右温水浸泡4-6小时至自然冷去,捞出沥干,用干净湿巾包好,置于25-30度处进行催芽,种子发芽期间每12小时用清水冲洗一次,以防腐烂。露白后即可播种备注:(我自己用温水跑了6个小时,然后直接种植) 甜瓜秧在长到三片真叶时,就要掐头, 然后它
2023-07-10T09:23:00Z
2023-07-10T09:23:00Z
andydaopeng
https://www.cnblogs.com/andydao/
【摘要】种类 催芽方法 打芽、整枝 时间 成熟 甜瓜 种子用40度左右温水浸泡4-6小时至自然冷去,捞出沥干,用干净湿巾包好,置于25-30度处进行催芽,种子发芽期间每12小时用清水冲洗一次,以防腐烂。露白后即可播种备注:(我自己用温水跑了6个小时,然后直接种植) 甜瓜秧在长到三片真叶时,就要掐头, 然后它 <a href="https://www.cnblogs.com/andydao/p/17541763.html" target="_blank">阅读全文</a>