上一页 1 2 3 4 5 6 7 8 9 10 ··· 65 下一页
摘要: CodeIgniter 运行报错 Fatal error: Uncaught Error: Call to undefined function CodeIgniter\locale_set_default() in /var/www/CodeIgniter4/system/CodeIgniter. 阅读全文
posted @ 2020-12-29 22:36 GetcharZp 阅读(265) 评论(0) 推荐(0) 编辑
摘要: PHP通过phpspreadsheet读取Excel文件 安装 通过 Composer 安装 composer require phpoffice/phpspreadsheet 读文件 三行代码解决Excel文件的读取操作: use PhpOffice\PhpSpreadsheet\Reader\X 阅读全文
posted @ 2020-11-19 21:04 GetcharZp 阅读(1965) 评论(1) 推荐(0) 编辑
摘要: PHP通过QrReader类对二维码进行解码得到相应的字符串 安装 通过 Composer 安装 qrcode-detector-decoder composer require khanamiryan/qrcode-detector-decoder 代码案例 use Zxing\QrReader; 阅读全文
posted @ 2020-11-19 00:34 GetcharZp 阅读(752) 评论(0) 推荐(0) 编辑
摘要: PHPQrcode快速实现二维码的生成 简介 PHPQrcode(点击下载) 是一个PHP 的文件,里面封装了二维码图片的生成,支持的图片格式有 png ,通过参数的配置可以设置二维码的大小、边距、码的颜色、定位点的颜色.使用的话也比较简单,只需要将PHPQrcode.php 这个文件引入到待使用的 阅读全文
posted @ 2020-11-18 20:31 GetcharZp 阅读(529) 评论(0) 推荐(0) 编辑
摘要: leetcode 1. 两数之和 (Golang) func twoSum(nums []int, target int) []int { flag := make([]int, len(nums)) ans := make([]int, 0) for i, v := range nums { fo 阅读全文
posted @ 2020-10-18 23:02 GetcharZp 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 通过 fmt.Scanln() 来获取同一行的数据,使用空格来分别不同的数据 参考案例: package main import ( "fmt" ) func main() { var a, b int fmt.Scanln(&a, &b) fmt.Print(a, b, a + b) } 阅读全文
posted @ 2020-10-18 15:18 GetcharZp 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 修改 Ubuntu20.04 下载源为国内阿里下载源 第一步、编辑 source.list,将里面的 http://archive.ubuntu.com/ubuntu/ 修改为 http://mirrors.aliyun.com/ubuntu/ sudo vim /etc/apt/source.li 阅读全文
posted @ 2020-10-16 11:45 GetcharZp 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 第一步、在启动获关闭Windows功能中找到“Web管理工具”,并把“Web管理工具”里面的所有项都勾选上; 第二步、打开“计算机管理”中的internet information service,把它对应的Web服务启动 第三步、通过浏览器访问 localhost ,如果阔以进去那么IIS服务就启 阅读全文
posted @ 2020-10-13 16:57 GetcharZp 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 通过微擎生成二维码 // 加载生成二维码需要用到的库 load()->library('qrcode'); // 生成二维码并保存 QRcode::png(url, 文件名, $level=QR_ECLEVEL_L, $size=3, $margin=4,$saveandprint=false);/ 阅读全文
posted @ 2020-09-23 16:26 GetcharZp 阅读(791) 评论(0) 推荐(0) 编辑
摘要: 安装虚拟环境的工具 virtualenv: pip install virtualenv 如果提示mkvirtualenv 、 workon 等不是内部或外部命令,要安装 Windows 版本的 virtualenvwrapper-win pip install virtualenvwrapper- 阅读全文
posted @ 2020-09-05 12:25 GetcharZp 阅读(200) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 65 下一页