laravel 打印sql语句非常的麻烦而且不方便,所以就想弄一个sql日志来方便调试排除 首先到 EventServiceProvider.php (监听文件)里 赋值日志开关常数 define('SQL_LOG', env('SQL_LOG', false));然后到 $listen 里增加 S ...
分类:
数据库 时间:
2021-06-25 17:07:22
阅读次数:
0
typeof 123; // 'number' typeof NaN; // 'number' typeof 'str'; // 'string' typeof true; // 'boolean' typeof undefined; // 'undefined' typeof Math.abs; ...
分类:
其他好文 时间:
2021-06-25 17:03:55
阅读次数:
0
环境说明:centos 7 主机使用kvm创建openstack动态扩容根分区镜像。 安装kvm包 创建kvm网络环境 上传centos ISO镜像 自行上传镜像到宿主机上。本教程将镜像上传到 目录。 创建qcow2文件 启动kvm虚机 安装系统自行决定怎么安装,分区最好手动分区。 安装好系统,是让 ...
分类:
其他好文 时间:
2021-06-25 16:57:09
阅读次数:
0
构造一个空的顺序表 #define MAX_SIZE 100 typedef struct { int *address;//基地址 int length;//顺序表长度 int size;//顺序表总空间 }LIST; //创建一个空的顺序表 bool initList(LIST& list) { ...
分类:
其他好文 时间:
2021-06-25 16:40:30
阅读次数:
0
一、实验目的与要求 掌握一维和多维数组的定义和数组元素的使用方法。 了解一维和多维数组初始化的方法。 学习一维和多维数组的基本方法。 实验7-1 #include <time.h> #include <stdlib.h> void pao(int s[], int n) { int i, j; in ...
分类:
编程语言 时间:
2021-06-23 17:10:00
阅读次数:
0
原文:https://blog.csdn.net/hanziqing0630/article/details/114262035 1 Proxmox Virtual Environment介绍Proxmox VE 是用于企业虚拟化的开源服务器管理平台。它在单个平台上紧密集成了KVM虚拟机管理程序和L ...
分类:
其他好文 时间:
2021-06-22 17:50:36
阅读次数:
0
一、虚拟机管理软件 虚拟机VMware workstationwindows系统计算机硬件虚拟机LibvirtdLinux(kvm)计算机硬件虚拟机ESXI计算机硬件 二、虚拟机管理软件的三种网络模式 NAT网络地址转换(vmnet8):虚拟机之间、以及与真机之间可以通信,并且虚拟机还可以访问外网特 ...
分类:
其他好文 时间:
2021-06-22 17:44:33
阅读次数:
0
#include<stdio.h> #include<stdlib.h> #define OK 1 #define Error 0 typedef int Status; //栈 typedef struct StackNode { int data; struct StackNode *next; ...
分类:
其他好文 时间:
2021-06-21 20:35:07
阅读次数:
0
#include<stdlib.h> #include<stdio.h> #include<string.h> #define MAX 10005 typedef struct node { char a[16]; int len; }node; node te,t[MAX]; int n=0; v ...
分类:
其他好文 时间:
2021-06-21 20:33:31
阅读次数:
0
Solution lca+前缀和 快读不要忘写c= 复杂度 \(O(nk)\) Code #include<iostream> #include<cstdio> #include<cstdlib> #define ll long long using namespace std; const int ...
分类:
其他好文 时间:
2021-06-21 19:59:39
阅读次数:
0