https://pkg.phpcomposer.com/#how-to-install-composer ...
分类:
系统相关 时间:
2020-11-26 14:50:32
阅读次数:
10
pluck方法为给定键获取所有集合值: $collection = collect([ ['product_id' => 'prod-100', 'name' => 'Desk'], ['product_id' => 'prod-200', 'name' => 'Chair'], ]); $pluc ...
分类:
其他好文 时间:
2020-11-26 14:49:30
阅读次数:
6
noilinux-1.4.1(g4.8.4)下sizeof(long double a)为12,Windows(g4.9.2)和Deepin(g++8.3.0)下都为16 sort默认从小到大排序,默认使用operator<为比较符 priority_queue,默认大根堆,小根堆为priority ...
分类:
其他好文 时间:
2020-11-25 12:25:36
阅读次数:
6
问题原因是 Windows不支持pcntl库 ,参考 https://stackoverflow.com/questions/30045085/how-to-install-pcntl-extension-in-windows 解决方案: https://stackoverflow.com/ques ...
1.Linux的发行版(1)slackware:SUSELinuxEnterpriseServer(SLES)OpenSuse桌面(2)debian:ubuntu,deepin(深度),mint(3)redhat:RHEL:RedHatEnterpriseLinux每18个月发行一个新版本CentOS:兼容RHEL的格式中标麒麟:中标软件Fedora:每6个月发行一个新版本(4)ArchLinux
分类:
系统相关 时间:
2020-11-12 14:26:29
阅读次数:
21
composer常用命令注意在工程目录下面执行(composer.json所在的文件夹)1、查看composer配置composerconfig-lcomposerconfig-l[repositories.packagist.org.type]composer[repositories.packagist.org.url]https://mirrors.aliyun.com/composer/[
分类:
Web程序 时间:
2020-11-06 01:30:50
阅读次数:
31
三级联动表:http://m.caomeipi.com/(鹏鹏) 路由: //省份 Route::get('province','PortController@province'); //市 Route::get('city','PortController@city'); //区 Route::g ...
分类:
Web程序 时间:
2020-11-04 17:42:08
阅读次数:
31
1》安装debug 一.下载xdebug文件 1.将phpinfo();的信息全部输入网址中的框,得到适配的xdebug版本: 网址:http://xdebug.org/wizard.php 2,下载-编译安装这里不做介绍; 2》PHP配置debug php.ini 加入 zend_extensio ...
分类:
Web程序 时间:
2020-11-02 10:49:53
阅读次数:
45
在数据查询时候,多条件查询,使用场景 //单个值 $data_where['id'] = 1 // in 条件 写法一 $ids = implode(',', $id_array); $data_where[] = [DB::raw("字段名 in ({$Str})"),'1']; //in条件写法 ...
分类:
数据库 时间:
2020-11-02 10:13:57
阅读次数:
29
deepin20系统中默认已安装python2.7和python3.7,我们这里需要用python3来配置RIDE环境。 1.安装pip,打开终端执行sudo apt install python3-venv python3-pip 安装完,可以执行pip3 -V查看pip版本 2.pip改源,默认 ...
分类:
其他好文 时间:
2020-11-01 10:01:48
阅读次数:
16