flutter 编译报错 What went wrong: Could not determine the dependencies of task ':app:preDebugBuild'. Could not resolve all task dependencies for configura ...
分类:
系统相关 时间:
2020-06-06 11:22:14
阅读次数:
219
//线下证书背面合成 public function CreateOfflineCourseCertBack($type=1) { //盖章图片 $mix_img=ROOT_PATH . 'public/uploads/certsimg/offline_cert_back_mix.png'; //背 ...
分类:
Web程序 时间:
2020-06-06 11:18:22
阅读次数:
71
1.域名直接访问项目 案例:tomcat下域名直接访问项目,或者说,修改tomcat默认欢迎页 (1).修改server.xml 添加: <Context path="" docBase="C:\TOOL\apache-tomcat-8.0.51\webapps\home\" debug="0"/> ...
分类:
Web程序 时间:
2020-06-06 11:15:15
阅读次数:
91
import cn.hutool.extra.qrcode.QrCodeUtil; // 生成链接 String url = longUrl(inviteId, inviteDetailId, EMAIL_SEND_TYPE, CLICK_OPERATION); String path = newF ...
分类:
编程语言 时间:
2020-06-06 10:39:25
阅读次数:
140
1.压缩JS代码,mode设置为production后,打包时自动压缩代码 mode:'production', 2.压缩html文件,html文件不需要处理兼容问题,压缩文件只需要在plugins中的HtmlWebpackPlugin中配置minify即可 new HtmlWebpackPlugi ...
分类:
Web程序 时间:
2020-06-06 00:35:49
阅读次数:
91
#include<stdio.h> void fun(char *str,int len){ for(int i=0;i<len/2;i++){ char temp = str[i];str[i] = str[len-1-i]; str[len-1-i] = temp; } for(int i=0; ...
分类:
编程语言 时间:
2020-06-06 00:32:01
阅读次数:
69
1066 Root of AVL Tree (25分) An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node diff ...
分类:
其他好文 时间:
2020-06-05 23:18:28
阅读次数:
73
1. Nginx 反向代理,负载均衡,动静分离,工作原理及优化 nginx配置反向代理。 vim Nginx.conf Server模块中配置 Listen 80 Server_name ip; 在server段里面的location加上proxy_pass http://ip:端口; Nginx配 ...
分类:
系统相关 时间:
2020-06-05 22:53:43
阅读次数:
204
最短路算法(一) 最短路算法有三种形态:Floyd算法,Shortset Path Fast Algorithm(SPFA)算法,Dijkstra算法。 我个人打算分三次把这三个算法介绍完。 (毕竟写太长了又没有人看QAQ……)但是这篇博客好像又双叒叕写的有点长,真的请各位耐心看完QAQ 今天先来介 ...
分类:
编程语言 时间:
2020-06-05 22:39:09
阅读次数:
82
对不少 Python 初学者来说,Python 导入其他模块的方式让他们很难理解。什么时候用import xxx?什么时候用from xxx import yyy?什么时候用from xxx.yyy import zzz?什么时候用from xxx import *? 这篇文章,我们来彻底搞懂这个问 ...
分类:
编程语言 时间:
2020-06-05 22:36:27
阅读次数:
127