主要是集中参考使用方法,可以结合自己的场景解决问题 参考代码 const co =require("co") const AsyncUtil = require('async-utility').default; async function demo(){ return { name:"dalon ...
分类:
Web程序 时间:
2021-04-27 14:20:05
阅读次数:
0
1、说明:创建数据库 CREATE DATABASE database - name 2、说明:删除数据库 drop database dbname 3、说明:备份sql server 创建 备份数据的 device USE master EXEC sp_addumpdevice 'disk' , ...
分类:
数据库 时间:
2021-04-27 14:15:48
阅读次数:
0
#jedis jedis 是 redis推荐的java客户端。通过Jedis我们可以很方便地使用java代码的方式,对redis进行操作。jedis使用起来比较简单,它的操作方法与redis命令相类似。对于初次使用redis的人来说,上手更快,更能适应。jedis在github上的下载地址为http ...
分类:
其他好文 时间:
2021-04-27 14:13:51
阅读次数:
0
html <input id="upload_file" type="file" multiple @change="v_upload_files"/> 注意input file 是不支持v-model的,因为v-model是双向数据绑定,而input file里面的文件只能通过点击选取来进行变更。 ...
分类:
移动开发 时间:
2021-04-26 14:11:33
阅读次数:
0
关于GraphQL之前有描述,可以参考GraphQL 入门。但是这个入门写得不是很好,东拉西扯。为巩固所学我自己总结一下。 我们先定义一个类型系统: type Person { name: String! } type ClassRoom { tercher: Person! students: [ ...
分类:
其他好文 时间:
2021-04-26 14:10:12
阅读次数:
0
参考网址:https://www.bejson.com (网站文件部分有坑,需要擦亮眼睛) nginx k8s版本:v1.20 apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx namespace: test spec: re ...
分类:
其他好文 时间:
2021-04-26 14:08:07
阅读次数:
0
OutLine 一般写好一个 scrapy 项目,启动方式大多会在命令行里执行: scrapy crawl “spider-name” (后面有参数就跟参数) 但这么启动不方便去断点调试,不便于快速定位问题、解决问题。 So 记录下自己在pycharm中断点调试的过程。(下文中图片可能看不清,点击即 ...
分类:
其他好文 时间:
2021-04-26 14:02:07
阅读次数:
0
1,下载nginx 2,解压后打开conf/nginx.conf 修改配置 server { listen 8841;#监听端口 server_name localhost;#代理服务地址 location / { #默认访问 root html; index index.html index.ph ...
分类:
其他好文 时间:
2021-04-26 13:57:20
阅读次数:
0
logback简单实现对日志的保存和处理,且保存有效时间,7天, 配置文件 <?xml version="1.0" encoding="UTF-8"?> <configuration> <springProperty scope="context" name="loglevel" source="l ...
分类:
编程语言 时间:
2021-04-26 13:55:32
阅读次数:
0
1、下载文件:instant-client 下载地址:https://www.oracle.com/database/technologies/instant-client/macos-intel-x86-downloads.html 2、创建tnsnames.ora文件 在此目录中/Users/x ...
分类:
数据库 时间:
2021-04-26 13:51:40
阅读次数:
0